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

