Let and be the residual sums of squares under the restricted model with coefficients and the full model with coefficients. Assuming has full column rank, the nested-model F-test uses
Under the null hypothesis this has the distribution.
Maximizing the Gaussian likelihood over and the unknown variance gives . Thus the likelihood-ratio test statistic is
Since
we obtain
The logarithm is strictly increasing, so the two test statistics give exactly the same rejection ordering.
The null hypothesis is that price and score are independent, equivalently that the independence log-linear model for a two-way contingency table is correct. Against the saturated alternative, the reported Poisson deviance is the likelihood-ratio test statistic
Under the null and the usual large-sample regularity assumptions, Wilks theorem gives
The observations must be independent, the cell probabilities must not lie on the boundary of the parameter space, and the expected counts must be large enough for the chi-squared asymptotic approximation. The fitted counts are either or , so the customary expected-count check is comfortably satisfied. Since
(equivalently, the p-value is about ), we do not reject the null at the significance level. The data provide no significant lack of fit for independence.
Model 2 is obtained from model 3 by setting . Model 3 is contained in model 1 by choosing the symmetric block parameters
Hence
Assuming every college-pair cell is observed and the models are identifiable, model 1 has parameters and model 3 has . The likelihood-ratio test statistic for model 3 against model 1 is
Under model 3 and the regularity conditions of Wilks theorem,
The full parameter space has dimension two and the null space dimension one. The regular Wilks theorem therefore gives under as . If denotes the cumulative distribution function of the chi-squared distribution with one degree of freedom, the approximate size- rejection region is
The corresponding approximate p-value is
The one degree of freedom here describes the large-sample likelihood-ratio test statistic; it is different from the exact residual degrees of freedom in the next part.
Put and . Under the null hypothesis, maximizing over the nuisance mean gives . The unrestricted normal mean and variance maximum-likelihood estimators are , . Thus, for ,
The likelihood-ratio test statistic is consequently
The usual model assumes . The event has probability zero under a nondegenerate normal distribution; at that observation the unrestricted likelihood is unbounded as the variance tends to zero, and the ratio has limiting value zero. This is the likelihood-ratio test for a normal variance with unknown mean.
Variance-component likelihood-ratio test at a boundary Created 2026-10-05 Updated 2026-10-07
Testing a single nonnegative random-effect variance against zero puts the null on the boundary of the parameter space. In the usual regular increasing-independent-groups limit, the likelihood-ratio test statistic has limit , rather than . A finite-sample simulation calibrated for the actual design avoids relying on this asymptotic approximation.