
forecast(object, ...) "forecast"(object, h=10, intervals=c("parametric","semiparametric","nonparametric","none"), level=0.95, ...)
model
- estimated model (ES / CES / GES / SSARIMA).
fitted
- fitted values of the model.
actuals
- actuals provided in the call of the model.
forecast
aka mean
- point forecasts of the model (conditional mean).
lower
- lower bound of prediction intervals.
upper
- upper bound of prediction intervals.
level
- confidence level.
intervals
- binary variable (whether intervals were produced or not).
forecast.smooth
. But if you are really used to forecast
function, then go ahead!
ets, forecast
ourModel <- ces(rnorm(100,0,1),h=10)
forecast.smooth(ourModel,h=10)
forecast(ourModel,h=10,intervals=TRUE)
plot(forecast(ourModel,h=10,intervals=TRUE))
Run the code above in your browser using DataLab