powered by
predict computes point and interval predictions for a time series from models of class um.
predict
um
# S3 method for um predict( object, z = NULL, ori = NULL, n.ahead = 1, level = 0.95, i = NULL, envir = NULL, ... )
an object of class um.
an object of class ts.
ts
the origin of prediction. By default, it is the last observation.
number of steps ahead.
confidence level.
transformation of the series z to be forecasted. It is a lagpol as those of a um object.
z
environment in which the function arguments are evaluated. If NULL the calling environment of this function will be used.
additional arguments.
An object of class "tfm".
tfm
# NOT RUN { Z <- AirPassengers um1 <- um(Z, i = list(1, c(1, 12)), ma = list(1, c(1, 12)), bc = TRUE) p <- predict(um1, n.ahead = 12) p plot(p, n.back = 60) # }
Run the code above in your browser using DataLab