R/forecastResidual.R
forecastResidual.Rd
Forecasts the residual value of a VAR realization given the white noise covariance matrix
forecastResidual(var, xprev = NULL, B = NULL)
A VAR model represented by a varest
object as returned by getVARmodel
or VAR
previous status of the random variable, in this case the "current instant"white-noise". Default is NULL
and then randomly generated.
matrix of coefficients for the vectorial white-noise component
a vector of values