tegarchLogl, tegarchLogl2, tegarchRecursion and tegarchRecursion2 are auxiliary functions called by tegarch
, and which are not intended to be used for the average user. Henceforth they are thusonly scarcely documented, but most should either be self-explanatory (for the non-average user!) or more or less documented in relation with the tegarch
and tegarchSim
functions.
##the '2' relates to the 2-component specification:
tegarchLogl(y, pars, lower = -Inf, upper = Inf, lambda.initial = NULL,
logl.penalty = -1e+100, c.code = TRUE, aux = NULL)
tegarchLogl2(y, pars, lower = -Inf, upper = Inf, lambda.initial = NULL,
logl.penalty = -1e+101, c.code = TRUE, aux = NULL)
tegarchRecursion(y, omega = 0.1, phi1 = 0.4, kappa1 = 0.2, kappastar = 0.1,
df = 10, skew = 0.6, lambda.initial = NULL, c.code = TRUE, verbose = FALSE,
aux = NULL)
tegarchRecursion2(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)
The log-likelihood value (i.e. a numeric) of a 1-component specification
The log-likelihood value (i.e. a numeric) of a 2-component specification
A numeric vector containing the lambda values if verbose=FALSE (default). If verbose=TRUE then a matrix then a matrix with y and the fitted values of sigma, the log-scale (lambda), the conditional standard deviation (stdev), u, epsilon and the standardised residuals (residstd) are returned
A numeric vector containing the lambda values if verbose=FALSE (default). If verbose=TRUE, then a matrix then a matrix with y and the fitted values of sigma, the log-scale (lambda), the conditional standard deviation (stdev), u, epsilon and the standardised residuals (residstd) are returned
numeric vector, typically a financial return series
numeric
numeric, must be less than 1 in absolute value
numeric, must be less than 1 in absolute value
numeric
numeric
numeric
numeric, the value of df (degrees of freedom)
numeric (positive), the value of skew (skewness parameter)
logical. If FALSE (default) then only lambda is returned. If TRUE then a matrix with y and the fitted values of, amongst other, sigma, the log-scale (lambda), the conditional standard deviation (stdev), u, epsilon and the standardised residuals (residstd) are returned
numeric vector, the parameter values
numeric vector, the lower bounds used during estimation
numeric vector, the upper bounds used during estimation
NULL (default) or initial value(s) of the recursion for lambda. If NULL, then the values are chosen automatically
numeric value
logical. TRUE (default) is faster since it makes use of compiled C-code
NULL (default) or a list, se tegarch
code
Genaro Sucarrat, http://www.sucarrat.net/
tegarchLogl and tegarchLogl2 return the value of the log-likelihood for a 1-component and 2-component model, respectively.
C. Fernandez and M. Steel (1998), 'On Bayesian Modeling of Fat Tails and Skewness', Journal of the American Statistical Association 93, pp. 359-371, tools:::Rd_expr_doi("https://doi.org/10.1080/01621459.1998.10474117")
A. Harvey and G. Sucarrat (2014), 'EGARCH models with fat tails, skewness and leverage'. Computational Statistics and Data Analysis 76, pp. 320-338, tools:::Rd_expr_doi("https://doi.org/10.1016/j.csda.2013.09.022")
G. Sucarrat (2013), 'betategarch: Simulation, Estimation and Forecasting of First-Order Beta-Skew-t-EGARCH models'. The R Journal (Volume 5/2), pp. 137-147, ,tools:::Rd_expr_doi("https://doi.org/10.32614/RJ-2013-034")
tegarch
, tegarchSim
, fitted.tegarch