At level two the quantity predicted is a group mean, whose residual variance is sigma2_u + sigma2_e / n rather than sigma2_u + sigma2_e: averaging over n members shrinks the level-1 noise by n but leaves the group-level term untouched. With n = 1 this coincides exactly with the level-1 measure, and as n grows it tends to 1 - sigma2_u1 / sigma2_u0.
Arguments
- sigma2_e1
Level-1 residual variance of the fitted model.
- sigma2_u1
Level-2 intercept variance of the fitted model.
- sigma2_e0
Level-1 residual variance of the empty model.
- sigma2_u0
Level-2 intercept variance of the empty model.
- n
Group size; the harmonic mean of group sizes for unbalanced data. Must be positive.
References
Snijders, T. A. B. and Bosker, R. J. (1994). Modeled variance in two-level models. Sociological Methods and Research 22(3):342-363. doi:10.1177/0049124194022003004
