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.
mixed
,
boys
, and girls
.bottom 25%
, mid 50%
, and
top 25%
.bottom 25%
, mid 50%
and top
25%
./F
and M
.Mxd
and Sngl
.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 + sex + schgend, data = Exam, random = ~ 1|school) summary(fm1) fm2 <- lme(normexam ~ standLRT*sex + schgend, data = Exam, random = ~ 1|school) summary(fm2) fm3 <- lme(normexam ~ standLRT*sex + schgend, data = Exam, random = ~ standLRT|school) summary(fm3)