Mon - Fri : 08:00 AM - 5:00 PM
734.544-8038

Estimating HLM Models Using SPSS Menus: Part 2

Estimating HLM Models Using SPSS Menus: Part 2

///
Comment0

Note: For a fuller treatment, download our series of lectures Hierarchical Linear Models.

Means-as-Outcomes Model

After estimating the empty model, R&B develop a Means-as-Outcomes model in which a school-level variable, meanses, is added to the model for the intercept. This variable reflects the average student SES level in each school. Recall Equation (1):

hlm16-62

The intercept can be modelled as a grand mean γ00, plus the effect of the average SES score γ01, plus a random error u0j.

hlm19-63

Substituting (4) into (1) yields

hlm20-64

To estimate this in SPSS, again go to Analyze → Mixed Models → Linear…. The Specify Subjects and Repeated Menu appears again. Place id in the Subjects box, and leave the Repeated box empty.

spss03-65

Click Continue. In the next menu one specifies the dependent and independent variables. The dependent variable will be mathach, and the single covariate will be meanses.

spss08-67

The meanses variable is entered as a fixed effect, so click on the Fixed button to pull up the Fixed Effects menu. Bring the meanses variable into the Model box and make sure Include Intercept is checked.

spss09-68

Click Continue. Next, click on Random to open the Random Effects menu. Check Include Intercept to specify the intercept as random, and place the grouping variable id in the Combinations box. Do NOT place meanses in the Model box. It will be treated as a fixed effect only. The Covariance Type is again irrelevant because there is only one random effect, the random intercept.

spss10-69

Finally, click on Statistics to choose what gets reported in the output. Put a check next to Parameter Estimates.

spss06-66

Click Continue, then OK. A portion of the output is the following:

spss07-61

This corresponds to Table 4.3 in R&B.

The next step is to estimate a random coefficient model.

Still have questions? Contact us!