Skip to contentScholarGate
LibraryBookshelfDeskReview StudioAssistant
Sign in
On this page
IntuitionHow it worksWhen to use itStrengths & limitationsCommon pitfallsApplicationsFrequently asked🔒 Read the full methodSourcesRelated methods
Cite this pageSpotted an issue on this page? Report or suggest a fix →
Home›Causal inference›Causal Mediation Analysis (Natural Direct and Indirect Effects)
Regression model

Causal Mediation Analysis (Natural Direct and Indirect Effects)

Also known as: natural direct effect, natural indirect effect, NDE / NIE decomposition, counterfactual mediation, Nedensel Arabuluculuk Analizi (NDE / NIE)

Causal mediation analysis is a counterfactual framework that splits a treatment's total effect into a Natural Direct Effect (NDE) and a Natural Indirect Effect (NIE) that runs through a mediator. The modern general approach was formalised by Pearl (2001) and Imai, Keele and Tingley (2010), giving the decomposition a precise causal interpretation.

ScholarGate
  1. Regression model
  2. v1
  3. 2 Sources
  4. PUBLISHED
Cite this page →
Tools & resources
Download slides
Learn & explore

Read the full method

Members only

Sign in with a free account to read this section.

Sign in

Method map

The neighbourhood of related methods — select a node to explore.

Causal Mediation Analysis
Conditional Process Anal…DAG Causal IdentificationLogistic RegressionModeration AnalysisOLS RegressionCausal Mediation Analysi…Doubly Robust EstimationEcological InferenceInverse Probability Weig…Multilevel Mediation Ana…

+1 more

When to use it

Use causal mediation when you want to know not just whether a treatment affects an outcome but how much of that effect passes through a specific mediator, with at least about 100 observations. It rests on strong no-unmeasured-confounding assumptions: no treatment-outcome confounding, no mediator-outcome confounding, no treatment-mediator confounding, and the cross-world assumption that lets you compare mediator values across counterfactual treatment levels. It suits cross-sectional or longitudinal data with continuous, binary, or categorical treatments. It is unreliable when the sample is small or when the confounding assumptions are implausible.

Strengths & limitations

Strengths
  • Gives a precise counterfactual definition of direct and indirect effects rather than a purely descriptive product-of-coefficients story.
  • Decomposes the total effect into NDE and NIE, so you can quantify how much of the treatment works through the mediator.
  • Handles continuous, binary, or categorical treatments and works for cross-sectional or longitudinal designs.
Limitations
  • Requires a fairly large sample (at least about 100); below this the indirect-effect estimate becomes unstable and underpowered.
  • Relies on four strong identification assumptions, including the untestable cross-world assumption, so the causal interpretation can be invalid if confounding is present.
  • The causal interpretation only holds if all the no-confounding assumptions are credible; otherwise the decomposition is misleading.

Frequently asked

What is the difference between NDE and NIE?

The Natural Direct Effect (NDE) is the part of the treatment's effect that does not pass through the mediator, while the Natural Indirect Effect (NIE) is the part that flows through it. Together they sum to the total effect, telling you how much of the treatment operates directly versus through the mediator.

What is the cross-world assumption?

It is the assumption that lets you compare an outcome under one treatment level while the mediator takes the value it would have had under a different treatment level. It cannot be tested from observed data, which is why the causal interpretation of mediation depends on untestable identification conditions.

How large a sample do I need?

At least about 100 observations. With fewer, there is not enough statistical power to separate the NDE and NIE components, and the indirect-effect estimate becomes unstable; a DAG-based identification approach is a safer fallback.

How is this different from classical Baron-Kenny mediation?

Classical mediation multiplies regression coefficients and is descriptive. The causal approach defines direct and indirect effects through counterfactuals with explicit no-confounding assumptions, so the decomposition carries a genuine causal meaning rather than just a correlational path interpretation.

Sources

  1. Pearl, J. (2001). Direct and Indirect Effects. In Proceedings of the Seventeenth Conference on Uncertainty in Artificial Intelligence (UAI), 411-420. link ↗
  2. Imai, K., Keele, L., & Tingley, D. (2010). A General Approach to Causal Mediation Analysis. Psychological Methods, 15(4), 309-334. DOI: 10.1037/a0020761 ↗

How to cite this page

ScholarGate. (2026, June 1). Causal Mediation Analysis (Natural Direct and Indirect Effects). ScholarGate. https://scholargate.app/en/causal-inference/causal-mediation

Related methods

Conditional Process AnalysisDAG Causal IdentificationLogistic RegressionModeration AnalysisOLS Regression

Which method?

Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.

  • Conditional Process AnalysisCausal inference↔ compare
  • DAG Causal IdentificationCausal inference↔ compare
  • Logistic RegressionResearch Statistics↔ compare
  • Moderation AnalysisCausal inference↔ compare
  • OLS RegressionEconometrics↔ compare
Compare side by side →

Referenced by

Causal Mediation Analysis in PoliticsConditional Process AnalysisDoubly Robust EstimationEcological InferenceInverse Probability WeightingModeration AnalysisMultilevel Mediation AnalysisMultilevel Regression and Poststratification

Similar methods

Causal Mediation Analysis in PoliticsMediation AnalysisFrontdoor AdjustmentFour-Way DecompositionDAG Causal IdentificationConditional Process AnalysisCounterfactual Impact EvaluationModerated Mediation

Related reference concepts

Causal InferenceCounterfactual ReasoningDirected Acyclic GraphCausal IdentificationSensitivity AnalysisEffect Modification and Interaction

Spotted an issue on this page? Report or suggest a fix →

ScholarGate — Causal Mediation Analysis (Causal Mediation Analysis (Natural Direct and Indirect Effects)). Retrieved 2026-07-21 from https://scholargate.app/en/causal-inference/causal-mediation · Dataset: https://doi.org/10.5281/zenodo.20539026
Quick facts
Originator
Pearl (2001); general framework by Imai, Keele & Tingley (2010)
Year
2010
Type
Counterfactual causal decomposition
Estimator
Two-stage regression / IPW with nonparametric bootstrap
Effects
Natural Direct Effect (NDE) and Natural Indirect Effect (NIE)
MinSample
100
Related methods
Conditional Process AnalysisDAG Causal IdentificationLogistic RegressionModeration AnalysisOLS Regression
ScholarGate

A content-first reference library for research methods — what each one is, how it works, and where it comes from.

Open data (CC-BY)

Explore

  • Library
  • Search the library…
  • Browse by field
  • Fields
  • Journey
  • Compare
  • Which method?

Reference

  • Subjects
  • Atlas
  • Glossary
  • Methodology
  • Philosophy

Your tools

  • Bookshelf
  • Desk
  • Chat

Company

  • About
  • Pricing
  • Contact
  • Suggest a method

Entries are compiled from published sources for reference. Verifying the accuracy and suitability of any information for your own use remains your responsibility.

© 2026 ScholarGate · A research-method reference library
  • Privacy
  • Cookies
  • Terms
  • Delete account