Hierarchical Linear Model
Updated 2026-08-10
Summary
A model for nested data that splits variance between levels, so group effects are not mistaken for individual traits.
Definition
Also called a multilevel model, this approach handles data with a nested structure, such as students within classes within schools, where an individual outcome is shaped both by personal variables and by group-level variables. The mechanism is variance decomposition: total variation is split into within-group and between-group components, each modeled separately, so a group effect is not silently relabeled as individual ability and standard errors stay honest.
Introduction
How to use
- Respect the nesting: model the hierarchy instead of pooling everyone into one flat regression. - Split the variance: separate within-group from between-group variation. - Let effects vary: allow intercepts and slopes to differ across groups, then test cross-level interactions.
Mechanism
Ignoring the nesting pools people from different groups into one error term, which understates uncertainty and produces false significance. Decomposing the variance lets the model estimate how much of the outcome belongs to the group and how much to the person, so school effects are not misread as student talent.
Practice
In progress 0/1Practice this model in one real situation:
Cases
- Student achievement is modeled as personal effort plus school resources, so school effects are not misread as ability.
- Patients nested within hospitals are analyzed without attributing hospital quality to individual patients.
Common pitfalls
- Running a flat regression on nested data yields standard errors that are too small and false positives.
- Too few observations within a group leaves the group-level estimates unstable and unreliable.
Sources
Source support: Explicit
References currently contain only Wikipedia links; primary sources still need review.
- en.wikipedia.orghttps://en.wikipedia.org/wiki/Multilevel_modelverified
account_treeGenealogyexpand_more
PRIVATE NOTES · Only visible to you
SAVED Q&A
ENTRY Q&A · Private saving available
Ask with a clear boundary
thinkingmodels answers from published entry context only.
Your question is sent to thinkingmodels. The answer uses public entry context only.
RELATED MODELS