R/newVARmultieventRealization.R
newVARmultieventRealization.Rd
Generates several realizations of a VAR model
A VAR model represented by a varest2
object as returned by getVARmodel
previous status of the random variable
matrix containing the values of the "exogen" variables (predictor) for the generation
number of realization (e.g. days to simulate). If exogen
is not NULL
and it is a matrix, it must be lower or equal to the number of rows of exogen
matrix of coefficients for the vector white-noise component
see inv_GPCA
stochastic noise to add for variabile generation. Default is NULL
and it is automatically randomly genereted accordind to matrix B
. If the VAR model (var
argument) does not fit well the residuals (e.g. non-normality, non-serialty or heteroskesticity) and the white noise is manually inserted, in this case argument B
is not taken into account.
a matrix of values