egsingle {lme4} | R Documentation |
A subset of the mathematics scores from the U.S. Sustaining Effects Study. The subset consists of information on 1721 students from 60 schools
data(egsingle)
A data frame with 7230 observations on the following 12 variables.
0
1
indicating if
the student has been retained in a grade.Female
Male
indicating the student's sex0
1
indicating if
the student is Black0
1
indicating if
the student is HispanicThese data are distributed with the HLM software package (Bryk, Raudenbush and Congdon, 1996). Conversion to the R format is described in Doran and Lockwood (2004).
Doran, Harold C. and Lockwood, J.R. (2004), Fitting value-added models in R, (submitted).
data(egsingle) str(egsingle) fm1 <- lme(math~year*size+female, egsingle, random = ~1|schoolid/childid, control = list(EMv = TRUE, msV = TRUE, opt = 'optim')) summary(fm1)