Skip to content
Prev 13913 / 15274 Next

ugarchspec: external regressors

I think the error message is quite informative:
"...unused argument (external.regressors...)

The "external.regressors" goes either in the mean.model or
variance.model list.
You are passing it outside, so you get an error. I did mention to you
when you
emailed me offline that it might be useful to carefully check the
ugarchspec specification and what you are passing.

A quick "arguments" check usually helps:
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(), ...)


Alexios
On 23/05/2016 16:02, FAKIR CHARLES wrote: