Likelihood ratio testing in mixed models invariably involves the chisquare distribution with zero degrees of freedom. The random variable is degenerate at 0, and it occurs in two important circumstances. First, it is a component of mixtures, where typically the value of the test statistic is not zero. In that case, the contribution of the component of the mixture to the pvalue is nil. Second, a degenerate distribution of the test statistic occurs when the null model is identical to the full model—for example, if you test a hypothesis that does not impose any (new) constraints on the parameter space. The following statements test whether the matrix in a variance component model is diagonal:
proc glimmix; class a b; model y = a; random b a*b; covtest diagR; run;
Because no Rside covariance structure is specified (all random effects are Gside effects), the matrix is diagonal in the full model and the COVTEST statement does not impose any further restriction on the parameter space. The likelihood ratio test statistic is zero. The GLIMMIX procedure computes the pvalue as the probability to observe a value at least as large as the test statistic under the null hypothesis. Hence,
