egsingle | 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.
a factor of school identifiers
a factor of student identifiers
a numeric vector indicating the year of the test
a numeric vector indicating the student's grade
a numeric vector of test scores on the IRT scale score metric
a factor with levels 0
1
indicating if
the student has been retained in a grade.
a factor with levels Female
Male
indicating the student's sex
a factor with levels 0
1
indicating if
the student is Black
a factor with levels 0
1
indicating if
the student is Hispanic
a numeric vector indicating the number of students enrolled in the school
a numeric vector giving the percentage of low-income students in the school
a numeric vector
These 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).
str(egsingle)
(fm1 <- lmer(math~year*size+female+(1|childid)+(1|schoolid), egsingle))