Usage
mlgarch(y, arch = 1, garch = 1, xreg = NULL, initial.values = NULL, lower = NULL, upper = NULL, nlminb.control = list(), vcov = TRUE, objective.penalty = NULL, solve.tol = .Machine$double.eps, c.code = TRUE)
Arguments
y
a numeric matrix, typically financial returns or regression errors
arch
the arch order (i.e. an integer equal to or greater than 0). The default is 1. NOTE: in the current version the order cannot be greater than 1
garch
the garch order (i.e. an integer equal to or greater than 0). The default is 1. NOTE: in the current version the order cannot be greater than 1
xreg
a vector or a matrix with the conditioning variables. The x-variables enter in each of the equations
initial.values
NULL (default) or a vector with the initial values of the VARMA representation
lower
NULL (default) or a vector with the lower bounds of the parameter space (of the VARMA representation). If NULL, then the values are automatically chosen
upper
NULL (default) or a vector with the upper bounds of the parameter space (of the VARMA representation). If NULL, then the values are automatically chosen
nlminb.control
list of control options passed on to the nlminb
optimiser vcov
logical. If TRUE (default), then the variance-covariance matrix is computed. The FALSE options makes estimation faster, but the variance-covariance matrix cannot be extracted subsequently
objective.penalty
NULL (default) or a numeric value. If NULL, then the log-likelihood value associated with the initial values is used. Sometimes estimation can result in NA and/or +/-Inf values (this can be fatal for simulations). The value objective.penalty is the value returned by the log-likelihood function lgarchObjective
in the presence of NA or +/-Inf values solve.tol
The function solve
is used for the inversion of the Hessian in computing the variance-covariance matrix. The value solve.tol is passed on to solve
, and is the tolerance for detecting linear dependencies in the columns c.code
logical. TRUE (default) is (much) faster, since it makes use of compiled C-code