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, ...)
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, UCmodel, UCvalidate, UCfilter, UCsmooth, UCdisturb, UCcomponents
UCmodel
UCvalidate
UCfilter
UCsmooth
UCdisturb
UCcomponents
if (FALSE) { y <- log(AirPassengers) m1 <- UCmodel(y, model = "llt/eq/arma(0,0)") f1 <- predict(m1) }
Run the code above in your browser using DataLab