Chapter 20 REML Estimation of Variance Components
Consider the GLM: y=Xβ+ϵ, where ϵ∼N(0,Σ) and Σ is an n×n positive definite variance matrix which depends on an unknown parameter vector γ.
Residual/Restricted Maximum Likelihood (REML): an approach that produces unbiased estimators for these special cases and produces less biased estimates than ML in general.
REML Method
Find n−rank(X)=n−r linearly independent vectors a1,…,an−r such that a′iX=0′ for all i=1,…,n−r.
Find the MLE of γ using w1≡a′1y,…,wn−r≡a′n−ry as data. A=[a1,…,an−r]w=[w1⋮wn−r]=[a′1y⋮a′n−ry]=A′y
If a′X=0′, a′y is known as error contrast. Thus, w1,…,wn−r comprise a set of n−r error constrasts
There exist n−r linearly independent rows of I−PX to get a1,…,an−r.
The error constrasts w1,…,wn−r will be a subset of the elements of the residual vector (I−PX)y=y−ˆy
Note that w=A′y=A′ϵ∼N(0,A′ΣA) and the distribution of w depends only on γ.
The log likelihood function in this case is ℓ(γ∣w)=−12log|A′ΣA|−12w′(A′ΣA)−1w−n−r2log(2π) An MLE of γ can be found in the general case using numerical methods to obtain the REML estimate of γ.
In 611, we show that every set of n−r linearly independent error contrasts yields the same REML estimator of γ.
In any case, once a REML estimate of γ has been obtained, the BLUE of an estimate Cβ can be approximated by CˆβˆΣ=C(X′ˆΣ−1X)−X′ˆΣ−1y, where ˆΣ is Σ with ˆγ (the REML estimate of γ) in place of γ.
Example in Chapter 19
lme(SeedlingWeight ̃Genotype,random= ̃1|Tray,data=d)
-effects model fit by REML
Linear mixed: d
Data-restricted-likelihood: -123.5705
Log: SeedlingWeight ̃ Genotype
Fixed
(Intercept) Genotype215.288838 -3.550201
:
Random effects: ̃1 | Tray
Formula
(Intercept) Residual: 3.414856 1.88223
StdDev: 56
Number of Observations: 8
Number of Groups
lmer(SeedlingWeight ̃Genotype+(1|Tray),data=d)
Linear mixed model fit by REML [’lmerMod’]: SeedlingWeight ̃ Genotype + (1 | Tray)
Formula: d
Data: 247.1411
REML criterion at convergence:
Random effects
Groups Name Std.Dev.Tray (Intercept) 3.415
1.882
Residual : 56, groups: Tray, 8
Number of obs:
Fixed Effects
(Intercept) Genotype215.29 -3.55
In SAS, REML is also the default for SAS proc mixed
.