powered by
Forecasting using structural Unobseved Components models with prediction intervals
# S3 method for UComp predict(object, newdata = NULL, n.ahead = NULL, level = 0.95, ...)
Forecasts of a UC model
A matrix with the mean forecasts and lower and upper prediction intervals
Object of class “UComp”.
New output data to apply “UComp” object to.
Number of steps ahead to forecast or new inputs variables including their predictions.
Confidence level for prediction intervals.
Ignored.
Diego J. Pedregal
See help of UC.
UC
UC, UCforecast, UCvalidate, UCfilter, UCsmooth, UCdisturb, UCcomponents
UCforecast
UCvalidate
UCfilter
UCsmooth
UCdisturb
UCcomponents
# \donttest{ y <- log(AirPassengers) m1 <- UCforecast(y, model = "llt/eq/arma(0,0)") f1 <- predict(m1) # }
Run the code above in your browser using DataLab