Usage
tegarch.logl2(y, pars, lower = -Inf, upper = Inf, lambda.initial = NULL,
logl.penalty = -1e+101, c.code = TRUE, aux = NULL)
Arguments
y
numeric vector, typically a financial return series.
pars
numeric vector, the parameter values.
lower
numeric vector, the lower bounds used during estimation.
upper
numeric vector, the upper bounds used during estimation.
lambda.initial
NULL (default) or initial value(s) of the recursion for lambda. If NULL, then the values are chosen automatically.
logl.penalty
NULL (default) or a numeric value. 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.
aux
NULL (default) or a list, se code.