Predict ahead using algorithm of (2009) Godet, F
"Linear prediction of long-range dependent time series", ESAIM: PS 13 115-134.
DOI: 10.1051/ps:2008015
Usage
# S3 method for garma_model
predict(object, n.ahead = 1, ...)
Arguments
object
(garma_model) The garma_model from which to predict the values.
n.ahead
(int) The number of time periods to predict ahead. Default: 1
# NOT RUN {data(AirPassengers)
ap <- as.numeric(diff(AirPassengers,12))
mdl <- garma(ap,order=c(9,1,0),k=0,method='CSS',include.mean=FALSE)
predict(mdl, n.ahead=12)
# }