Usage
forecastCovWRTtrue(models, true.model,
pred.replications=1, simulation.args=NULL, quiet=FALSE, rng=NULL,
compiled=.DSEflags()$COMPILED,
horizons=1:12, discard.before=10, trend=NULL, zero=NULL) is.forecastCovWRTdata(obj)
Arguments
models
A list of objects of class TSmodel.
true.model
An object of class TSmodel or TSestModel.
discard.before
An integer indicating the number of points in the
beginning of forecasts to discard for calculating covariances.
zero
If TRUE then forecastCov is also calculated for a forecast of zero.
trend
If TRUE then forecastCov is also calculated for a forecast of a linear trend.
pred.replications
integer indicating the number of times simulated
data is generated.
simulation.args
A list of any arguments which should be passed to simulate
in order to simulate the true model.
horizons
Horizons for which forecast covariance should be calculated.
rng
If specified then it is used to set RNG.
quiet
If TRUE then some messages are not printed.
compiled
a logical indicating if compiled code should be
used. (Usually true except for debugging.)