- object
a hybrid time series model fit with hybridModel.
- h
number of periods for forecasting. If xreg
is used, h
is ignored
and the number of forecast periods is set to the number of rows of xreg
.
- xreg
future values of regression variables (for use if one of the ensemble methods used
in creating the hybrid forecast was auto.arima
, nnetar
, or stlm
and the model(s) used xreg
in the fit).
It should be supplied as a matrix.
- level
confidence level for prediction intervals. This can be expressed as a decimal
between 0.0 and 1.0 or numeric between 0 and 100.
- PI
should prediction intervals be produced? If a nnetar
model is in the ensemble,
this can be quite slow, so disabling prediction intervals will speed up the forecast generation.
If FALSE
, the arguments level
and fan
are ignored.
- fan
if TRUE
, level is set to seq(51, 99, by = 3)
. This is suitable
for fan plots.
- PI.combination
Method for combining the prediction intervals from each of the
forecasts. Supplying "mean"
will simply average each of the lower/upper intervals from each model without using the model
weights used for the point forecasts. The default value "extreme"
will take
the most pessimistic intervals (i.e. the highest upper interval from all the component models
and the lowest prediction interval from all of the component models').
- ...
other arguments passed to the individual forecast
generic methods.