Exam {lme4} | R Documentation |
Exam scores of 4,059 students from 65 schools in Inner London.
data(Exam)
A data frame with 4059 observations on the following 9 variables.
F
and M
.mixed
,
boys
, and girls
.bottom 25%
, mid 50%
, and
top 25%
.bottom 25%
, mid 50%
and top
25%
./http://multilevel.ioe.ac.uk/softrev/exam.html
Goldstein, H., Rasbash, J., et al (1993). A multilevel analysis of school examination results. Oxford Review of Education 19: 425-433
data(Exam) str(Exam) summary(Exam) fm1 <- lme(normexam ~ standlrt + gender + schgend, data = Exam, random = ~ 1|school) summary(fm1) fm2 <- lme(normexam ~ standlrt*gender + schgend, data = Exam, random = ~ 1|school) summary(fm2) fm3 <- lme(normexam ~ standlrt*gender + schgend, data = Exam, random = ~ standlrt|school) summary(fm3)