A generalized likelihood-ratio test compares the likelihood maximized under the null with the likelihood maximized over the full parameter space.
Let for independent and identically distributed observations, with having an exponential distribution of unknown scale . Test the null hypothesis within . For nondegenerate data, the likelihood function is
Maximizing over the scale gives , and the resulting profile likelihood increases with . Thus the unrestricted maximum-likelihood estimates are and , while the null estimate is . The likelihood ratio is consequently
Under the null, put and . The memoryless property gives independent gamma distributions of shapes and and common scale . For a direct verification, fix which observation is the minimum and write its value as and the other observations as . Their joint density is proportional to , which factors into an exponential density for the minimum and independent exponential densities for the excesses. The minimum's index does not affect the resulting laws of .
By beta sampling by gamma ratios, . Therefore
An exact test size is obtained by rejecting for . Equivalently,
Although the alternative adds one endpoint parameter, a regular one-parameter Wilks theorem calibration is incorrect: the support depends on the endpoint, and the null lies on its boundary. In particular, tends to a chi-squared distribution with two statistical degrees of freedom, not one.
Two equally numerous groups of independent counts with Poisson distributions have areas and . Under common density their group means are in ratio . With group sums and , the maximized alternative-to-null likelihood ratio is
Use zero-count limits and when . The regular Wilks theorem calibration has one degree of freedom. Exactly conditioning on gives under the null; this supports small-count testing without the large-sample approximation.
The deviance of a fitted generalized linear model is
For regular nested models, the deviance reduction is asymptotically chi-squared with degrees of freedom equal to the difference in fitted dimensions.
The unscaled residual deviance of an exponential dispersion family compares its fitted mean with the saturated statistical model at a common dispersion parameter. Its normalization removes the factor in the log-likelihood. In Poisson regression and binomial regression, , so it is twice the saturated-minus-fitted log-likelihood. Under suitable regularity, has approximately a chi-squared distribution with the residual degrees of freedom; this is not an automatic accurate approximation for sparse responses. Nested deviance reductions with estimated dispersion lead to approximate F-tests after scaling by the dispersion estimate.
The null deviance is the unscaled deviance of the intercept-only mean model relative to the saturated model at a common dispersion parameter , retaining any known generalized linear model offset. It supplies a baseline against which predictor terms improve the fit. Its difference from a fitted model's residual deviance, divided by , is the statistic for a likelihood-ratio test of those added terms, with nuisance parameters handled consistently in both fits. In Poisson and binomial families, .
For independent unit-variance samples, testing equal means uses and rejects for large .
Likelihood-ratio tests of different null subspaces can have crossing rejection regions; comparing their quadratic-form geometry exhibits observations accepted by one and rejected by another.

Discussion (0) New discussion

There are no discussions about this article yet.

Articles by others on the same topic (0)

There are currently no matching articles.