在" rugarch" package garch规范如下所示:
ugarchspec(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(), ...)
在这里,我可以用平均方程式指定外部回归量。
在Markov切换garch包" msgarch" garch规范如下所示:
CreateSpec(variance.spec = list(model = c("sGARCH", "sGARCH")),
distribution.spec = list(distribution = c("norm", "norm")),
switch.spec = list(do.mix = FALSE, K = NULL), constraint.spec = list(fixed
= list(), regime.const = NULL), prior = list(mean = list(), sd = list()))
我的问题是如何在马尔可夫切换garch模型中使用外部回归量指定均值方程?