egsingle               package:mlmRev               R Documentation

_U_S _S_u_s_t_a_i_n_i_n_g _E_f_f_e_c_t_s _s_t_u_d_y

_D_e_s_c_r_i_p_t_i_o_n:

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

_U_s_a_g_e:

     data(egsingle)

_F_o_r_m_a_t:

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

     _s_c_h_o_o_l_i_d a factor of school identifiers

     _c_h_i_l_d_i_d a factor of student identifiers

     _y_e_a_r a numeric vector indicating the year of the test

     _g_r_a_d_e a numeric vector indicating the student's grade

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

     _r_e_t_a_i_n_e_d a factor with levels '0' '1' indicating if the student
          has been retained in a grade.

     _f_e_m_a_l_e a factor with levels 'Female' 'Male' indicating the
          student's sex

     _b_l_a_c_k a factor with levels '0' '1' indicating if the student is
          Black

     _h_i_s_p_a_n_i_c a factor with levels '0' '1' indicating if the student is
          Hispanic

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

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

     _m_o_b_i_l_i_t_y a numeric vector

_S_o_u_r_c_e:

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

_R_e_f_e_r_e_n_c_e_s:

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

_E_x_a_m_p_l_e_s:

     str(egsingle)
     (fm1 <- lmer(math~year*size+female+(1|childid)+(1|schoolid), egsingle,
                control = list(EMv = 1, msV = 1)))

