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. This
dataset is available in the `mlmRev`

package.

`data(egsingle)`

A data frame with 7230 observations on the following 12 variables.

`schoolid`

a factor of school identifiers

`childid`

a factor of student identifiers

`year`

a numeric vector indicating the year of the test

`grade`

a numeric vector indicating the student's grade

`math`

a numeric vector of test scores on the IRT scale score metric

`retained`

a factor with levels

`0`

`1`

indicating if the student has been retained in a grade.`female`

a factor with levels

`Female`

`Male`

`black`

a factor with levels

`0`

`1`

indicating if the student is Black`hispanic`

a factor with levels

`0`

`1`

indicating if the student is Hispanic`size`

a numeric vector indicating the number of students enrolled in the school

`lowinc`

a numeric vector giving the percentage of low-income students in the school

`mobility`

a numeric vector

Reproduced from the`mlmRev`

package for use in the
section on nonresponse weighting in the `twang`

package
vignette. 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 (2006).

Doran, H.C. and J.R. Lockwood (2006). “Fitting value-added models in R,”
*Journal of Educational and Behavioral Statistics*, 31(1)

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.