Hypothesis testing for GLMMs Flashcards
Testing for fixed effects with θ known
Wald test statistic:
W = (Cβ^-d)’[C(X’V-1X)-1C’]-1(Cβ^-d)
W|H0 ∼ χ2r
Testing for fixed effects with θ unknown
- Wald test statistic:
W = (Cβ^-d)’[C(X’V-1X)-1C’]-1(Cβ^-d)
W|H0 -d-> χ2r - F = 1/r W |H0 -d-> Fr,g
- g = n - m - (#level 1 parameters)
- g = m - 1 - (#level 2 parameters)
- Likelihood ratio test statistics, profile ok for nested models but restricted not ok since lacks invariance
Testing for random effects
Means checking if their variance is 0 (since their mean is 0 by definition), with a number of constraints that changes whether Q is diagonal or not. Since we are testing close to a boung, Wilks theorem is violated and we need to correct the p-value under H0:
P(- ≥ -obs|H0) ≈ [P(- ≥ -obs|χ2r-1)+P(- ≥ -obs|χ2r)]/2
Or, if H0 is the exclusion of 1 random effect and Q is diagonal:
P(- ≥ -obs|H0) ≈ [P(- ≥ -obs|χ21)]/2
r = #variances put to 0 + #covariances becoming 0
H0: βj = 0 in GLMM
W = F = {tn-1}2
β^j / √(X’V^-1X)-1jj | H0 -d-> tg ≈ N(0,1)