See forecastCov.
forecastCovCompiled(model, data, horizons = 1:12,
discard.before=minimumStartupLag(model))
# S3 method for ARMA
forecastCovCompiled(model, data, horizons = 1:12,
discard.before=minimumStartupLag(model))
# S3 method for SS
forecastCovCompiled(model, data, horizons = 1:12,
discard.before=minimumStartupLag(model))
# S3 method for innov
forecastCovCompiled(model, data, horizons = 1:12,
discard.before=minimumStartupLag(model))
# S3 method for nonInnov
forecastCovCompiled(model, data, horizons = 1:12,
discard.before=minimumStartupLag(model))
forecastCovSingleModel( model, data=NULL, horizons=1:12,
discard.before=minimumStartupLag(model), compiled=.DSEflags()$COMPILED)
TSdata or one or more TSmodels or TSestModels
an object of class TSdata.
period before which forecasts should be discarded when calculating covariance.
horizons for which forecast covariance should be calculated.
if TRUE the covariance is calculated for a forecast of zero.
if TRUE the covariance is calculated for a forecast of trend.
portion of the sample to use for calculating the trend.
a logical indicating if compiled code should be used. (Usually true except for debugging.)
arguments passed to other methods.
A list with the forecast covariance for supplied models on the given
sample. This is in the element forecastCov
of the result. Other
elements contain information in the arguments.
Not to be called by users. See forecastCov
.