Skip to content
Glossary

Mediation

Mediation is a process in which an independent variable affects an outcome through an intervening variable called a mediator.

mediation

Results verified against R (lavaan)

What it means

Mediation answers the question of how or why X relates to Y. The path X → M → Y is the indirect effect; what remains of X → Y after accounting for M is the direct effect. Together they make up the total effect.

How it is tested

The modern approach estimates the indirect effect and tests it with bootstrap confidence intervals rather than the older Baron-Kenny steps or the Sobel test. An indirect effect is supported when its bootstrap CI excludes zero (Preacher & Hayes).

How to report it

Report the indirect effect with its bootstrap confidence interval, plus the direct and total effects. Note an important caveat: mediation from cross-sectional data does not prove a causal chain (Maxwell & Cole, 2007). See the mediation method page.

Frequently asked questions

How do I test mediation?

Estimate the indirect effect (X to M to Y) and test it with bootstrap confidence intervals. The effect is supported when the CI excludes zero. This is preferred over the Sobel test and the Baron-Kenny causal-steps method.

Does mediation prove causation?

No. With cross-sectional data, a significant indirect effect is consistent with mediation but does not prove a causal sequence, because temporal order is not established (Maxwell & Cole, 2007).

How to cite this page

If this page helped your research, you can cite it (APA 7):

Szymkowiak, A. (2026). Mediation. Explonia. https://explonia.com/glossary/mediation/

Last updated: July 2026

Check these values on your own data

Upload your data file (CSV or Excel) and get the same statistics, with a draft APA paragraph that you edit. Free to start.

Analyze your data