Usage
mlgarchSim(n, constant = c(0, 0), arch = diag(c(0.1, 0.05)), garch = diag(c(0.7, 0.8)),
xreg = NULL, backcast.values = list(lnsigma2 = NULL, lnz2 = NULL, xreg = NULL),
innovations = NULL, innovations.vcov = diag(c(1, 1)), verbose = FALSE)
Arguments
n
integer, i.e. the number of observations
constant
vector with the log-volatility intercepts
arch
matrix with arch terms
garch
matrix with garch terms
xreg
matrix with the X-variables. Column 1 should contain the x-regressor of equation 1, column 2 that of equation 2, and so on
backcast.values
backcast values for the recursion (chosen automatically if NULL)
innovations
Etiher NULL (default) or a matrix (rows n and columns equal to model-dimension) containing the standardised innovations. If NULL, then the innovations are N(0,1)
innovations.vcov
This argument is available only if innovations=NULL. In that case, the innovations.vcov argument contains the variance-covariance matrix of the normal innovations
verbose
logical. If FALSE (default), then only the matrix y is returned. If TRUE, then all the output is returned