| Financial Toolbox | Search  Help Desk |
| ugarchllf | See Also |
Log-likelihood objective function of univariate GARCH(P,Q) processes with Gaussian innovations.
Syntax
LogLikelihood = ugarchllf(Parameters, U, P, Q)
Arguments
Description
LogLikelihood = ugarchllf(Parameters, U, P, Q)
computes the log-likelihood objective function of univariate GARCH(P,Q) processes with Gaussian innovations.
LogLikelihood is a scalar value of the GARCH(P,Q) log-likelihood objective function given the input arguments. This function is meant to be optimized via the fmincon function of the MATLAB Optimization Toolbox.
fmincon is a minimization routine. To maximize the log-likelihood function, the LogLikelihood output parameter is actually the negative of what is formally presented in most time series or econometrics references.
The time-conditional variance, H(t), of a GARCH(P,Q) process is modeled as
H(t) = Kappa + Alpha(1)*H(t-1) + Alpha(2)*H(t-2) +...+
Alpha(P)*H(t-P)+ Beta(1)*U^2(t-1)+ Beta(2)*U^2(t-2)+...+ Beta(Q)*U^2(t-Q)
U is vector of innovations representing a mean-zero, discrete time stochastic process. Although H is generated via the equation above, U and H are related as
U(t) = sqrt(H(t))*v(t)where
{v(t)} is an i.i.d.sequence ~ N(0,1).
Since ugarchllf is really just a helper function, no argument checking is performed. This function is not meant to be called directly from the command line.
See Also
ugarch, ugarchpred, ugarchsim