An array of forecasts of dimensions (horizon x nOrigs x nModels x nSeries)
Arguments
y
a vector, a matrix or a list of time series
orig
starting forecasting origin
forecFun
user function that implements forecasting methods
...
rest of inputs to forecFun function
h
forecasting horizon
step
observations ahead to move the forecasting origin
output
output TRUE/FALSE
window
fixed window width in number of observations (NA for non fixed)
parallel
run forecasts in parallel
Author
Diego J. Pedregal
Details
Takes time series and run forecasting methods implemented in function
forecFun h steps ahead along the time series y, starting at forecasting
origin orig, and moving step observations ahead. Forecasts may be run in parallel
by setting parallel to TRUE. A fixed window width may be
specified with input window. The output is of dimensions (h, nOrigs, nModels, nSeries)