Random effects model
From Wikipedia, the free encyclopedia
In statistics, a random effect(s) model, also called a variance components model is a kind of hierarchical linear model. It assumes that the data describe a hierarchy of different populations whose differences are constrained by the hierarchy. It is an opposite of fixed effects model.
Contents |
[edit] Simple example
Suppose m elementary large schools are chosen randomly from among millions in a large country. Then n pupils are chosen randomly from among those at each such school. Their scores on a standard aptitude test are ascertained. Let Yij be the score of the jth pupil at the ith school. Then
where μ is the average of all scores in the whole population, Ui is the deviation of the average of all scores at the ith school from the average in the whole population, and Wij is the deviation of the jth pupil's score from the average score at the ith school.
[edit] Variance components
The variance of Yij is the sum of the variances τ2 and σ2 of Ui and Wij respectively.
Let
be the average, not of all scores at the ith school, but of those at the ith school that are included in the random sample. Let
be the "grand average".
Let
be respectively the sum of squares due to differences within groups and the sum of squares due to difference between groups. The it can be shown that
and
These "expected mean squares" can be used as the basis for estimation of the "variance components" σ2 and τ2.
[edit] References
- Random effect model at Bandolier (Oxford EBM website)
- Fixed and random effects models
- Distinguishing Between Random and Fixed: Variables, Effects, and Coefficients
- How to Conduct a Meta-Analysis: Fixed and Random Effect Models