Skip to main content

Multi-Level Modeling

MLM is designed to account for hierarchical or clustered structured data. Ex. patients by the same doctor, since patients with the same doctor might be more similar.

image.png

There are multiple ways to deal with hierarchical data. A simple approach is to aggregate, for example if 10 patients are sampled from each doctor we could take the average of all patients within a doctor rather than using individual patients' data. This would lead to consistent effect estimates and standard errors, but it does not really take advantage of all the data so we lose power.

Another approach is to analyze data from one high-level unit at a time, coming up with a regression model for every cluster. But again this does not make full use of the data.

The individual regressions have many estimates and lots of data but is noisy, and the aggregate method is less noisy but loses important differences by averaging all samples within each doctor. Linear mixed models (also called multi-level models) can be thought of as a trade off between these two alternatives.

Linear Mixed Models

image.png

The core of mixed models is that they incorporate fixed and random effects.

image.png

image.png