Chem97 | R Documentation |
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.
data(Chem97)
A data frame with 31022 observations on the following 8 variables.
Local Education Authority - a factor
School identifier - a factor
Student identifier - a factor
Point score on A-level Chemistry in 1997
Student's gender
Age in month, centred at 222 months or 18.5 years
Average GCSE score of individual.
Average GCSE score of individual, centered at mean.
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.
http://www.bristol.ac.uk/cmm/learning/mmsoftware/data-rev.html
Yang, M., Fielding, A. and Goldstein, H. (2002). Multilevel ordinal models for examination grades (submitted to Statistical Modelling).
str(Chem97)
summary(Chem97)
(fm1 <- lmer(score ~ (1|school) + (1|lea), Chem97))
(fm2 <- lmer(score ~ gcsecnt + (1|school) + (1|lea), Chem97))