Usage
tegarch.recursion2(y, omega = 0.1, phi1 = 0.4, phi2 = 0.2, kappa1 = 0.05,
kappa2 = 0.1, kappastar = 0.02, df = 10, skew = 0.6, lambda.initial = NULL,
c.code = TRUE, verbose = FALSE, aux = NULL)
Arguments
y
numeric vector, typically a financial return series or the error of a regression.
omega
numeric, the value of omega
phi1
numeric, the value of phi1
phi2
numeric, the value of phi2
kappa1
numeric, the value of kappa1
kappa2
numeric, the value of kappa2
kappastar
numeric, the value of kappastar
df
numeric, the value of df (degrees of freedom)
skew
numeric, the value of skew (skewness parameter)
lambda.initial
NULL (default) or initial value(s) of the recursion for lambda. If NULL, then the values are chosen automatically.
c.code
logical, TRUE (default) or FALSE. TRUE is faster since it makes use of compiled C-code
verbose
logical, TRUE or FALSE (default). If FALSE, then only lambda is returned. If TRUE, then a matrix with y and the fitted values of, amongst other, sigma, log-scale (lambda), the conditional standard deviation (stdev), u, epsilon and the standardised residua
aux
NULL (default) or a list, se code.