Skip to main content icon/video/no-internet

Hierarchical Linear Modeling

Hierarchical linear modeling (HLM, also known as multilevel modeling) is a statistical approach for analyzing hierarchically clustered observations. Observations might be clustered within experimental treatment (e.g., patients within group treatment conditions) or natural groups (e.g., students within classrooms) or within individuals (repeated measures). HLM provides proper parameter estimates and standard errors for clustered data. It also capitalizes on the hierarchical structure of the data, permitting researchers to answer new questions involving the effects of predictors at both group (e.g., class size) and individual (e.g., student ability) levels. Although the focus here is on two-level models with continuous outcome variables, HLM can be extended to other forms of data (e.g., binary variables, counts) with more than two levels of clustering (e.g., student, classroom, and school). The key concepts in HLM are illustrated in this entry using a subsample of a publically accessible data set based on the 1982 High School and Beyond (HS&B) Survey. The partial HS&B data set contains a total of 7,185 students nested within 160 high schools, which is included in the free student version of HLM available from Scientific Software International, Inc. Mathematics achievement (MathAch) will be used as the outcome variable in a succession of increasingly complex models. The results of Models A and B discussed here were reported by Stephen Raudenbush and Anthony Bryk in their HLM text.

Some Important Submodels

Model A: Random-Intercepts Model

The random-intercepts model is the simplest model in which only group membership (here, schools) affects the level of achievement. In HLM, separate sets of regression equations are written at the individual (level 1) and group (level 2) levels of analysis.

None

Level 1 (Student-Level) Model

None

where i represents each student and j represents each school. Note that no predictors are included in Equation 1. β0j is the mean MathAch score for school j: eij is the within-school residual that captures the difference between individual MathAch score and the school mean MathAch. eij is assumed to be normally distributed, and the variance of eij is assumed to be homogeneous across schools [i.e., eijN(0, σ2) for all 160 schools]. As presented in Table 1 (Model A), the variance of eij is equal to σ2 = 39.15.

Level 2 (School-Level) Model

The level 2 model partitions each school's mean MathAch score into two parts

None

Here, γ00 = 12.64 is the overall mean MathAch score, averaging over the 160 school means. U0j captures the residual difference between individual school mean MathAch and the overall mean MathAch. τ00 = Var(U0j) = 8.55 is the variance of the residuals at level 2.

The random-intercept model not only provides an important baseline for model comparison, but it also allows the computation of the intraclass correlation (ICC), which is the proportion of the between variance to the sum of the between and within variance.

None

In this example, the ICC is

None

This ICC generally ranges from 0 to 1 based on Equation 3, with higher values indicating greater clustering. As the product of the ICC and average cluster size increases, the Type I error rate for the study quickly increases to unacceptable levels if ignoring the clustering and treating all observations as independent from each other. For example, with an average of approximately 45 students per school (i.e., 7,185 students/160 schools) and an ICC of approximately .20, a t test that compared the mean of two different school types (i.e., high minority enrollment vs. low minority enrollment), but ignored the clustering, would have a Type I error rate of more than .50 compared with the nominal level of α = .05. Similarly, the estimated 95% confidence interval is approximately .33 of the width of the correct confidence interval. In contrast, use of HLM procedures can maintain the Type I error rate at the nominal α = .05 level.

...

  • Loading...
locked icon

Sign in to access this content

Get a 30 day FREE TRIAL

  • Watch videos from a variety of sources bringing classroom topics to life
  • Read modern, diverse business cases
  • Explore hundreds of books and reference titles

Sage Recommends

We found other relevant content for you on other Sage platforms.

Loading