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(), ...)model Valid models (currently implemented) are armaOrder The autoregressive (ar) and moving average (ma) orders (if any).
include.mean Whether to include the mean.
archm Whether to include ARCH volatility in the mean uGARCHspec object containing details of the GARCH
specification.alpha.
Variance targeting, referred to in Engle and Mezrich (1996), replaces the
intercept mu
ar1
ma1
archm
mxreg1
arfima
skew
shape
lambda (for GHYP distribution)
omega
alpha1
beta1
vxreg1
gamma1
gamma1
delta
eta11
eta21
delta
lambda
eta11
eta21
omega
alpha1
beta1
# a standard specification
spec1 = ugarchspec()
spec1
# an example which keep the ar1 and ma1 coefficients fixed:
spec2 = ugarchspec(mean.model=list(armaOrder=c(2,2),
fixed.pars=list(ar1=0.3,ma1=0.3)))
spec2
# an example of the EWMA Model
spec3 = ugarchspec(variance.model=list(model="iGARCH", garchOrder=c(1,1)),
mean.model=list(armaOrder=c(0,0), include.mean=TRUE),
distribution.model="norm", fixed.pars=list(omega=0))Run the code above in your browser using DataLab