lme4 (version 0.6-7)

egsingle: US Sustaining Effects study

Description

A subset of the mathematics scores from the U.S. Sustaining Effects Study. The subset consists of information on 1721 students from 60 schools

Usage

data(egsingle)

Arguments

source

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).

References

Doran, Harold C. and Lockwood, J.R. (2004), Fitting value-added models in R, (submitted).

Examples

Run this code
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)

Run the code above in your browser using DataCamp Workspace