Multilevel Mediation Analysis

Statistics
Introduced by
Kenny, Korchmaros & Bolger
Year
2003
Type
Multilevel structural model

What does it do?

Multilevel mediation analysis estimates indirect (mediated) effects in hierarchically nested data, such as students within schools or employees within teams.

Kenny, Korchmaros and Bolger (2003) addressed lower-level mediation in multilevel models, in which the mediational links vary randomly across upper-level units. They showed that when the links vary randomly, the formulas for the indirect effect and its standard error must include the covariance between the random effects.

The intuition behind the method

Imagine testing whether a school-wide intervention raises student achievement by first improving classroom climate. Individuals are nested within classes, and the strength of the link from climate to achievement may differ from one class to the next. Ignoring that nesting would misstate the standard errors and could hide this variation. A multilevel mediation model keeps the nesting in the model, so the indirect effect is estimated with its between-group variation taken into account.

History

Single-level mediation models were the standard approach before multilevel mediation was developed, and they assume independent observations. Kenny, Korchmaros and Bolger (2003) addressed mediation at the lower level of a multilevel model in which the mediational links vary randomly across upper-level units. Their abstract notes that no standard method could estimate such a model at that time, so they developed an ad hoc method and discussed its limitations.

When to use it

Use multilevel mediation when your observations are nested, for example individuals within groups or repeated measures within persons, and you want to test whether a mediator explains the path from a predictor to a continuous outcome. It is most relevant when the mediational links may differ across groups, the situation the cited source addresses. Do not use it for single-level data, where a standard mediation model is sufficient, or when the outcome is not continuous. Before analysis, specify whether the predictor, mediator and outcome are measured at level 1 or level 2 (the 1-1-1, 2-1-1 or 2-2-1 design), because this determines how the model is parameterised. An intraclass correlation above 0.05, at least 30 level-2 units and roughly 100 observations are rules of thumb, not requirements from the cited source. A low intraclass correlation does not make nesting ignorable, because the design effect also depends on cluster size. Sensitivity checks on your own design are advisable.

Limitations and considerations

  • The original approach was described by its authors as an ad hoc method, and the cited source discusses its limitations; check how a given software implementation handles the random-effect covariance before relying on it.
  • The indirect effect's standard error depends on the covariance between random effects, which is harder to estimate reliably when there are few upper-level units.
  • Specifying which paths are random and at which level requires substantive theory, since the data alone do not determine the design.
  • Mediation estimated from observational nested data does not establish causal direction; causal claims need design or identification assumptions beyond the model.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Models the mediational links as random across upper-level units, the case the cited source was developed for, rather than assuming one common indirect effect.
  • Includes the covariance between random mediational links in the indirect-effect standard error, as the cited source requires when links vary randomly.
  • Covers the lower-level mediation designs listed on the page (1-1-1, 2-1-1, 2-2-1) within one modelling framework.
  • Uses Monte Carlo or bootstrap intervals for the product ab, which avoids the normality assumption behind the Sobel test.

Applications

  • Educational research: testing whether a school-level intervention raises student achievement by first improving teacher self-efficacy.
  • Organisational behaviour: examining whether transformational leadership increases employee performance through job satisfaction, with employees nested in teams.
  • Clinical and health psychology: assessing whether a group therapy protocol reduces depression via improved social support among patients nested in therapy groups.
  • Public health: determining whether neighbourhood-level interventions reduce individual health risk behaviours through perceived social norms.

How it works

How it works

1

The null hypothesis states that the indirect effect, the product of the path from the predictor to the mediator (a) and the path from the mediator to the outcome (b), is zero. The alternative hypothesis states that it is non-zero, meaning the mediator carries part of the predictor's effect on the outcome. When the mediational links are allowed to vary across upper-level units, the test has to be read in terms of the average indirect effect across those units.

Formula
H_0:\ ab = 0 \quad H_1:\ ab \neq 0
2

The indirect effect is the product ab, where a and b are estimated within the multilevel model. When a and b vary randomly across upper-level units, the formulas for the indirect effect and its standard error must include the covariance between the random effects, σ_ab. A first-order approximation of the standard error is SE_ab ≈ sqrt(b²σ_a² + a²σ_b² + 2ab·σ_ab). Because a product of two estimates is generally not normally distributed, no Wald-type z test of ab against a normal reference distribution is performed with this standard error. It serves only as a descriptive summary of precision, while the test itself rests on a Monte Carlo or bootstrap confidence interval.

Formula
ab = a \cdot b, \quad SE_{ab} \approx \sqrt{b^2 \sigma_a^2 + a^2 \sigma_b^2 + 2ab\,\sigma_{ab}}
3

The null hypothesis is rejected when the Monte Carlo or bootstrap 95% confidence interval for the indirect effect ab excludes zero. This interval is the test; the standard error is reported only descriptively. The point estimate and interval width show the direction and precision of the mediated pathway. Report the interval together with an effect-size measure, and state the design (1-1-1, 2-1-1 or 2-2-1) so the model can be replicated.

Formula
\text{reject } H_0 \text{ if MC/bootstrap 95\% CI of } ab \text{ excludes } 0

Common pitfalls

  • Running a single-level mediation model on nested data when the groups differ, which can understate standard errors and inflate Type I error.
  • Using the Sobel test for the indirect effect instead of Monte Carlo or bootstrap intervals, since the product ab is not normally distributed.
  • Using the simplified standard error expression while ignoring the covariance between random mediational links, which the cited source says must be included.
  • Fitting the model with a small number of level-2 units, which makes the random-effect variance estimates unstable and the indirect-effect interval unreliable.

Frequently asked questions

Why can I not just run a standard mediation analysis on nested data?

Standard single-level mediation treats all observations as independent. When individuals share a group, that assumption is violated, and the standard errors can be too small, which inflates the Type I error rate. The model also does not separate effects that vary across groups from those that are common to all of them. An intraclass correlation above 0.05 is a common rule of thumb for judging whether nesting matters, but a smaller value does not make nesting ignorable, since the impact also depends on cluster size.

What is the difference between 1-1-1, 2-1-1, and 2-2-1 designs?

The three-number code gives the level at which the predictor, mediator and outcome are measured. In a 1-1-1 design all three vary at the individual level within groups. In a 2-1-1 design the predictor is a group-level variable while the mediator and outcome are individual-level. In a 2-2-1 design the predictor and the mediator are both group-level and the outcome is individual-level. Each design implies different model equations, so choose it on theoretical grounds before analysis.

Why should I use Monte Carlo or bootstrap intervals rather than the Sobel test?

The indirect effect ab is the product of two estimated quantities, and its sampling distribution is generally not normal. The Sobel test assumes normality, so its intervals can be too narrow and symmetric. Monte Carlo simulation and bootstrapping approximate the actual shape of the distribution, which usually gives more accurate intervals, particularly when samples are small.

How many level-2 units do I need?

At least 30 groups and roughly 100 individual observations are commonly used as working guidelines. These are rules of thumb and are not attributed to the cited source. With few groups, the random-effect variances and their standard errors become unstable, which makes the indirect-effect interval less reliable. Simulation or sensitivity checks on your own design are a sensible way to judge whether your sample is adequate.

Related methods

Sources

  1. Kenny, D. A., Korchmaros, J. D., & Bolger, N. (2003). Lower level mediation in multilevel models. Psychological Methods, 8(2), 115–128.

    Open DOI reference