Statistics Core Workshops


Hierarchical Linear Modeling

This course is an introduction to hierarchical linear model and the HLM software.

Instructors

Cori Mar
Raitt Hall 218C
cmmar@u.washington.edu
(206) 616-6183

Anita Rocha
Raitt Hall 218D
alrocha@u.washington.edu
(206) 616-6687

Time and Location

Monday, September 26, 2005 9am - 12pm, 1pm - 4pm
Tuesday, September 27, 2005 9am - 12pm, 1pm - 4pm
Savery Hall Rooms 149 (classroom) and 135 (computer lab)

Textbook

Raudenbush, Stephen W. & Bryk, Anthony S. (2002).
Hierarchical Linear Models: Applications and Data Analysis Methods,
2nd Edition, Sage Publications, Inc. Thousand Oaks, CA


Class Materials

General Information

Notation
Guide to HLM Software

Example 1
One-way random-effects ANOVA model

Model Description

Figure 1

HLM output

Level 1 Data File
Level 2 Data File

Example 2
Random coefficients model

Model Description

Figure 1
Figure 2
Figure 3
Figure 4

HLM output
HLM output fixed slope model

Level 1 Data File
Level 2 Data File

Example 3
Intercepts and slopes as outcome model

Model Description

Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6

HLM output

Level 1 Data File
Level 2 Data File

SPSS Level 1 Data File
SPSS Level 2 Data File

Exercise 1

Example 4
Searching for the best model

Model Description

Figure 1: test.histograms.pdf
Figure 2: test.scatter.pdf
Figure 3: test.each.pdf
Figure 4: Estimates of Group Means

HLM Ouput 1: test_anova.txt
HLM Ouput 2: test_rc.txt
HLM Ouput 3: test_intercept.txt
HLM Ouput 4: test_final.txt

Test Case: Level 1 Data File
Test Case: Level 2 Data File

Mystery Data:
Can you find the model in the population?

Mystery 1: Level 1 Data File
Mystery 1: Level 2 Data File

Mystery Data 2

Mystery 2: Data Description

Data plots
Group 1: gender versus SAT
Group 10: gender versus SAT

Group 1: math classes versus SAT
Group 10: math classes versus SAT

Group 1: GPA versus SAT
Group 10: GPA versus SAT

Group 1: gender versus math classes
Group 10: gender versus math classes

Group 1: gender versus GPA
Group 10: gender versus GPA

Group 1: math classes versus GPA
Group 10: math classes versus GPA

DATA
Mystery 2: Level 1 Data File
Mystery 2: Level 2 Data File

Example 5
Simple two-level logistic regression model

Model Description

Figure 1: eta.pdf
Figure 2: eta_vs_p.pdf
Figure 3: x_vs_p.pdf
Figure 4a: low.p.y.pdf
Figure 4b: med.p.y.pdf
Figure 4c: high.p.y.pdf
Figure 5: probabilities.pdf

Logistic example: Level 1 Data File
Logistic example: Level 2 Data File

   CONTACT CSDE                                         UW LINKS: MyUW | Web Pine | Libraries | Computing | UWired | UW Directory | Campus Maps