lme4 (version 0.6-3)

Chem97: Scores on A-level Chemistry in 1997

Description

Scores on the 1997 A-level Chemistry examination in Britain. Students are grouped into schools within local education authories. In addition some demographic and pre-test information is provided.

Usage

data(Chem97)

Arguments

source

http://multilevel.ioe.ac.uk/softrev/chem97.html

Details

This data set is relatively large with 31,022 individuals in 2,280 schools. Note that while this is used, illustratively, to fit Normal response models, the distribution of the response is not well described by a Normal distribution.

References

Yang, M., Fielding, A. and Goldstein, H. (2002). Multilevel ordinal models for examination grades (submitted to Statistical Modelling).

Examples

Run this code
data(Chem97)
str(Chem97)
summary(Chem97)
fm1 <- lme(score ~ 1, data = Chem97, random = ~ 1 | lea/school)
summary(fm1)
fm2 <- lme(score ~ gcsecnt, data = Chem97, random = ~ 1 | lea/school)
summary(fm2)

Run the code above in your browser using DataCamp Workspace