29.07.2014 Views

mixed - Stata

mixed - Stata

mixed - Stata

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>mixed</strong> — Multilevel <strong>mixed</strong>-effects linear regression 41<br />

. use http://www.stata-press.com/data/r13/pisa2000<br />

(Programme for International Student Assessment (PISA) 2000 data)<br />

. describe<br />

Contains data from http://www.stata-press.com/data/r13/pisa2000.dta<br />

obs: 2,069 Programme for International<br />

Student Assessment (PISA) 2000<br />

data<br />

vars: 11 12 Jun 2012 10:08<br />

size: 37,242 (_dta has notes)<br />

storage display value<br />

variable name type format label variable label<br />

female byte %8.0g 1 if female<br />

isei byte %8.0g International socio-economic<br />

index<br />

w_fstuwt float %9.0g Student-level weight<br />

wnrschbw float %9.0g School-level weight<br />

high_school byte %8.0g 1 if highest level by either<br />

parent is high school<br />

college byte %8.0g 1 if highest level by either<br />

parent is college<br />

one_for byte %8.0g 1 if one parent foreign born<br />

both_for byte %8.0g 1 if both parents are foreign<br />

born<br />

test_lang byte %8.0g 1 if English (the test language)<br />

is spoken at home<br />

pass_read byte %8.0g 1 if passed reading proficiency<br />

threshold<br />

id_school int %8.0g School ID<br />

Sorted by:<br />

For student i in school j, where the variable id school identifies the schools, the variable<br />

w fstuwt is a student-level overall inclusion weight (w ij , not w i|j ) adjusted for noninclusion and<br />

nonparticipation of students, and the variable wnrschbw is the school-level weight w j adjusted for<br />

oversampling of schools with more minority students. The weight adjustments do not interfere with<br />

the methods prescribed above, and thus we can treat the weight variables simply as w ij and w j ,<br />

respectively.<br />

Rabe-Hesketh and Skrondal (2006) fit a two-level logistic model for passing a reading proficiency<br />

threshold. We fit a two-level linear random-intercept model for socioeconomic index. Because we<br />

have w ij and not w i|j , we rescale using pwscale(size) and thus obtain results as if we had w i|j .

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!