Title: Variance Components Models
1Variance Components Models
2Aims of a Variance Components Analysis
- Estimate the amount of variation between groups
(level 2 variance) relative to within groups
(level 1 variance) - How much variation is there in life expectancy
between and within countries? - How much of the variation in student exam scores
is between schools? i.e. is there within-school
clustering in achievement? - Compare groups
- Which countries have particularly low and high
life expectancies? - Which schools have the highest proportion of
students achieving grade A-C, and which the
lowest? - As a baseline for further analysis
3Revision of Fixed Effects Approach
4Limitations of the Fixed Effects Approach
5Multilevel (Random Effects) Model
6Individual (e) and Group (u) Residuals in a
Variance Components Model
7Partitioning Variance
8Model Assumptions
9Intra-class Correlation
10Examples of ?
? 0.8
? 0.4
? 0
11Example Between-Country Differences in Hedonism
12Testing for Group Effects
13Example Testing for Country Differences in
Hedonism
14Residuals in a Variance Components Model
15Level 2 Residuals
16Shrinkage
17Example Mean Raw Residuals vs. Shrunken
Residuals for Countries
In this case, there is little shrinkage because
nj is very large.
18Example Caterpillar Plot showing Country
Residuals and 95 CIs
19Residual Diagnostics
- Use normal Q-Q plots to check assumptions that
level 1 and 2 residuals are normally distributed - Nonlinearities suggest departures from normality
- Residual plots can also be used to check for
outliers at either level - Under normal distribution assumption, expect 95
of standardised residuals to lie between -2 and
2 - Can assess influence of a suspected outlier by
comparing results after its removal
20Example Normal Plot of Individual (Level 1)
Residuals
Linearity suggests normality assumption is
reasonable
21Example Normal Plot of Country (Level 2)
Residuals
Some nonlinearity but only 20 level 2 units
22Estimation of a Multilevel Model
23The IGLS Algorithm