Description Usage Format Source References Examples
A subset of the mathematics scores from the U.S. Sustaining Effects Study. The subset consists of information on 1721 students from 60 schools
| 1 | 
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).
| 1 2 | 
Loading required package: lme4
Loading required package: Matrix
'data.frame':	7230 obs. of  12 variables:
 $ schoolid: Factor w/ 60 levels "2020","2040",..: 1 1 1 1 1 1 1 1 1 1 ...
 $ childid : Factor w/ 1721 levels "101480302","173559292",..: 244 244 244 248 248 248 248 248 253 253 ...
 $ year    : num  0.5 1.5 2.5 -1.5 -0.5 0.5 1.5 2.5 -1.5 -0.5 ...
 $ grade   : num  2 3 4 0 1 2 3 4 0 1 ...
 $ math    : num  1.146 1.134 2.3 -1.303 0.439 ...
 $ retained: Factor w/ 2 levels "0","1": 1 1 1 1 1 1 1 1 1 1 ...
 $ female  : Factor w/ 2 levels "Female","Male": 1 1 1 1 1 1 1 1 1 1 ...
 $ black   : Factor w/ 2 levels "0","1": 1 1 1 1 1 1 1 1 1 1 ...
 $ hispanic: Factor w/ 2 levels "0","1": 2 2 2 1 1 1 1 1 2 2 ...
 $ size    : num  380 380 380 380 380 380 380 380 380 380 ...
 $ lowinc  : num  40.3 40.3 40.3 40.3 40.3 40.3 40.3 40.3 40.3 40.3 ...
 $ mobility: num  12.5 12.5 12.5 12.5 12.5 12.5 12.5 12.5 12.5 12.5 ...
Linear mixed model fit by REML ['lmerMod']
Formula: math ~ year * size + female + (1 | childid) + (1 | schoolid)
   Data: egsingle
REML criterion at convergence: 16784.78
Random effects:
 Groups   Name        Std.Dev.
 childid  (Intercept) 0.8181  
 schoolid (Intercept) 0.4235  
 Residual             0.5886  
Number of obs: 7230, groups:  childid, 1721; schoolid, 60
Fixed Effects:
(Intercept)         year         size   femaleMale    year:size  
 -5.980e-01    7.917e-01   -2.738e-04   -4.653e-03   -6.067e-05  
fit warnings:
Some predictor variables are on very different scales: consider rescaling
Warning message:
Some predictor variables are on very different scales: consider rescaling 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.