GARCH Toolbox | ![]() ![]() |
Likelihood ratio hypothesis test
Syntax
Arguments
BaseLLF |
Scalar value of the optimized log-likelihood objective function of the baseline, unrestricted estimate. lratiotest assumes BaseLLF is the output of the estimation function garchfit , or the inference function garchinfer . |
NullLLF |
Vector of optimized log-likelihood objective function values of the restricted estimates. lratiotest assumes you obtained the NullLLF values using garchfit or garchinfer . |
DoF |
Degrees of freedom (i.e, the number of parameter restrictions) associated with each value in NullLLF . DoF can be a scalar applied to all values in NullLLF , or a vector the same length as NullLLF . All elements of DoF must be positive integers. |
Alpha |
(optional) Significance levels of the hypothesis test. Alpha can be a scalar applied to all values in NullLLF , or a vector the same length as NullLLF . If Alpha = [] or is not specified, the default is 0.05 . For all elements, ![]() Alpha , 0 < ![]() < 1 . |
Description
[H, pValue, Ratio, CriticalValue] = lratiotest(BaseLLF, NullLLF,
DoF, Alpha)
performs the likelihood ratio hypothesis test. lratiotest
uses as input the optimized log-likelihood objective function (LLF) value associated with an unrestricted maximum likelihood parameter estimate, and the LLF values associated with restricted parameter estimates.
The unrestricted LLF is the baseline case used to fit conditional mean and variance specifications to an observed univariate return series. The restricted models determine the null hypotheses of each test, and the number of restrictions they impose determines the degrees of freedom of the resulting Chi-Square distribution.
BaseLLF
is usually the LLF of a larger estimated model and serves as the alternative hypothesis. Elements of NullLLF
are then the LLFs associated with smaller, restricted specifications. BaseLLF
should exceed the values in NullLLF
, and the asymptotic distribution of the test statistic is Chi-Square distributed with degrees of freedom equal to the number of restrictions.
See Also
garchfit
, garchinfer
Reference
[1] Hamilton, J.D., Time Series Analysis, Princeton University Press, 1994.
![]() | lbqtest | parcorr | ![]() |