rugarch (default)
The engine uses rugarch::ugarchspec()
and rugarch::ugarchfit()
.
Function Parameters:
## Formal class 'standardGeneric' [package "methods"] with 8 slots
## ..@ .Data :function (variance.model = list(model = "sGARCH", garchOrder = c(1, 1),
## submodel = NULL, external.regressors = NULL, variance.targeting = FALSE),
## mean.model = list(armaOrder = c(1, 1), include.mean = TRUE, archm = FALSE,
## archpow = 1, arfima = FALSE, external.regressors = NULL, archex = FALSE),
## distribution.model = "norm", start.pars = list(), fixed.pars = list(),
## ...)
## ..@ generic : chr "ugarchspec"
## .. ..- attr(*, "package")= chr "rugarch"
## ..@ package : chr "rugarch"
## ..@ group : list()
## ..@ valueClass: chr(0)
## ..@ signature : chr [1:5] "variance.model" "mean.model" "distribution.model" "start.pars" ...
## ..@ default :Formal class 'derivedDefaultMethod' [package "methods"] with 4 slots
## .. .. ..@ .Data :function (variance.model = list(model = "sGARCH", garchOrder = c(1, 1),
## submodel = NULL, external.regressors = NULL, variance.targeting = FALSE),
## mean.model = list(armaOrder = c(1, 1), include.mean = TRUE, archm = FALSE,
## archpow = 1, arfima = FALSE, external.regressors = NULL, archex = FALSE),
## distribution.model = "norm", start.pars = list(), fixed.pars = list(),
## ...)
## .. .. ..@ target :Formal class 'signature' [package "methods"] with 3 slots
## .. .. .. .. ..@ .Data : chr "ANY"
## .. .. .. .. ..@ names : chr "variance.model"
## .. .. .. .. ..@ package: chr "methods"
## .. .. ..@ defined:Formal class 'signature' [package "methods"] with 3 slots
## .. .. .. .. ..@ .Data : chr "ANY"
## .. .. .. .. ..@ names : chr "variance.model"
## .. .. .. .. ..@ package: chr "methods"
## .. .. ..@ generic: chr "ugarchspec"
## .. .. .. ..- attr(*, "package")= chr "rugarch"
## ..@ skeleton : language (new("derivedDefaultMethod", .Data = function (variance.model = list(model = "sGARCH", garchOrder = c(1, 1),| __truncated__ ...
The Garch order for the variance model is provided using arch_order
and garch_order
parameters..
The ARMA order for the mean model is provided using ar_order
and ma_order
parameters.
Other options and arguments can be set using set_engine()
.
#' Parameter Notes:
xreg
- This engine supports xregs for both the variance model and the mean model. You can do this in two ways,
either enter the matrices through set_engine parameters or as a formula in fit (note that the latter option is more limited,
since you will not be able to pass two different xregs, one for each model). For simpler cases this is a compact option.
order parameters
- The parameters of rugarch::ugarchspec are lists containing several elements,
some of them the commands that are the main arguments of the function. If you want to modify the parameter
that encompasses such a list, you must know that the parameter passed in the function parameter will always prevail.
(See Examples).