Let be the likelihood function, with full parameter space and null hypothesis . The generalized likelihood-ratio test compares the best null fit to the best unrestricted fit:The likelihood ratio lies between zero and one, and small values count against the null hypothesis; equivalently, large values of the likelihood-ratio test statistic count against it.
Compute restricted and unrestricted maximum-likelihood estimates, evaluate their log-likelihoods, and form . Under the regular conditions of Wilks theorem, the null limit isThese statistical degrees of freedom count independent parameter restrictions. The regularity includes a locally identifiable smooth model, nonsingular Fisher information, and an interior null value; parameter-dependent support can invalidate the result.
For a chosen significance level , obtain the quantile of the chi-squared distribution and useEquivalently, compare the asymptotic p-value to . This is a large-sample calibration; part (c) requires direct treatment because its support depends on a parameter.
The count vector has a multinomial distribution, with likelihood functionMaximize its log-likelihood using a Lagrange multiplier for the sum constraint. The equations and give and . Since all counts are positive and the log-likelihood is strictly concave on the interior of the probability simplex, this is the global maximum-likelihood estimate.
Under the uniform null hypothesis, each category has expected countThe common multinomial coefficient cancels from the likelihood ratio:Taking minus twice its logarithm gives exactlyThere are free category probabilities, because their sum is one, and the null fixes all of them. Thus its regular asymptotic chi-squared distribution has statistical degrees of freedom.
For four categories the number of statistical degrees of freedom is . The supplied 5% critical value is therefore , and . HenceThe approximate p-value is . This conclusion assumes the large-sample multinomial approximation is adequate, in particular sufficiently large expected category counts. It means there is insufficient evidence against the uniform null hypothesis, rather than establishing that the probabilities are equal.
Write , and . For nondegenerate data from the shifted exponential distribution, the likelihood function isFor fixed feasible , differentiating its log-likelihood with respect to givesThe derivative changes from positive to negative there. Substituting gives the profile likelihood , which increases with . Therefore the unrestricted maximum-likelihood estimates arewhile under the null hypothesis the estimate is . Their likelihood ratio isSince the likelihood-ratio test rejects for small , the requested form is obtained withThe formulas assume , which holds almost surely for a continuous sample with ; coincident observations give an unbounded unrestricted likelihood and can be treated by its supremum.
An exact calibration is available and also explains why Wilks theorem should not be applied here. Under the null, the memoryless property makes and independent gamma distributions with common scale and shapes and . By beta sampling by gamma ratios,Consequently, for ,This yields an exact test size , independent of the unknown scale. The support endpoint and boundary null make this a likelihood-ratio test for an exponential support endpoint, with a different calibration from a regular one-parameter test.
Articles by others on the same topic
There are currently no matching articles.