Causal Mediation Analysis in Politics

Statistics
Introduced by
Imai, Keele, Tingley & Yamamoto (potential-outcomes causal mediation)
Year
2010
Type
Causal-inference decomposition of a treatment effect into direct and indirect (mediated) components
Family
Potential-outcomes causal inference / mechanism analysis

What does it do?

Causal mediation analysis decomposes the effect of a treatment, often a randomized experimental manipulation such as a campaign message or an information treatment, into the part transmitted through a specified intermediate variable (the mediator) and the part operating through all other pathways.

Imai, Keele and Tingley (2010) formalized it in the potential-outcomes framework, defining the average causal mediation effect (ACME) and the average direct effect, stating the sequential-ignorability assumption required to identify them, and providing a sensitivity analysis for when that assumption fails. Imai, Keele, Tingley and Yamamoto (2011) extended the approach to political science, where it lets researchers move beyond 'does the treatment work?' to 'through what channel does it work?'

The intuition behind the method

Suppose an experiment shows that exposure to a political ad increases turnout. The natural next question is whether the ad works by changing how anxious people feel, or through some other channel. Causal mediation analysis splits the total effect into two pieces: the indirect effect that flows treatment → anxiety → turnout, and the direct effect that bypasses anxiety. The thought experiment is to imagine holding the anxiety a person would have had under one condition fixed while flipping only the treatment, and vice versa. Carrying out that decomposition rigorously requires more than the experiment that randomized the ad, because the mediator itself was not randomized — which is exactly why the method foregrounds an extra assumption and a way to probe its credibility.

History

Mediation analysis long relied on the Baron-Kenny (1986) product-of-coefficients approach from psychology, which lacked a formal causal definition of indirect effects. Potential-outcomes work by Robins and Greenland and by Pearl recast mediation causally. Imai, Keele and Tingley (2010) gave a general definition and identification result under sequential ignorability, an estimation approach applicable to nonlinear models, and a sensitivity analysis. Imai, Keele, Tingley and Yamamoto (2011, American Political Science Review) brought the framework to political science, emphasizing that experiments identify total effects while mechanisms require additional assumptions or designs, such as manipulating the mediator.

When to use it

Use causal mediation analysis when you have a treatment, a measured intermediate variable hypothesized to carry its effect, and an outcome, and you want to quantify how much of the effect flows through that mechanism. It is most credible when treatment is randomized, as in survey or field experiments, and when you can defend the assumption that the mediator is not confounded with the outcome conditional on covariates. It is less appropriate when multiple mediators operate jointly, when the mediator is strongly confounded with the outcome and no sensitivity analysis can rescue the estimate, or when treatment-mediator interactions are complex and the design provides no leverage on them.

Limitations and considerations

  • Identification rests on sequential ignorability, whose mediator-outcome part is untestable and often implausible.
  • Randomizing treatment does not randomize the mediator, so even experiments do not by themselves identify the ACME.
  • The single-mediator framework is strained when several intermediate variables operate jointly or sequentially.
  • Estimates can be sensitive to model specification for the mediator and outcome and to treatment-mediator interaction assumptions.

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

Strengths

  • Defines direct and indirect effects rigorously in the potential-outcomes framework, separating mechanism from total effect.
  • Applies to nonlinear models and interactions, not just linear structural-equation coefficient products.
  • Provides a principled sensitivity analysis that quantifies how much hidden confounding would overturn the result.
  • Makes the mechanism claim explicit: an estimated ACME attaches a specific, named mediator to a share of the treatment effect, so the claim can be checked against the assumption and the sensitivity parameter.

Applications

  • Decomposing the effect of campaign messages on turnout or vote choice into emotional versus informational pathways.
  • Testing whether media or information treatments change attitudes by altering perceived facts versus affect.
  • Examining whether a policy or institutional treatment affects behavior through trust, efficacy, or knowledge mediators.
  • Unpacking experimental framing effects to see which intermediate beliefs carry the framing's influence.
  • Assessing in observational studies, with sensitivity analysis, whether a hypothesized mechanism plausibly transmits an effect.

How it works

How it works

1

The framework defines potential outcomes Y_i(t, m) for each combination of treatment t and mediator value m, and potential mediator values M_i(t) under each treatment. This notation makes precise the counterfactuals needed to separate the channel through the mediator from the rest of the treatment's effect, rather than relying on regression coefficients alone.

Formula
Y_i(t, m),\quad M_i(t)\ \text{for treatment } t \in \{0,1\}
2

The causal mediation effect for unit i under treatment status t is the change in the outcome caused by moving the mediator from the value it would take under control, M_i(0), to the value it would take under treatment, M_i(1), while holding the treatment fixed at t. Averaging over units gives the average causal mediation effect (ACME), the portion of the total effect transmitted through the mediator.

Formula
\delta_i(t) = Y_i\big(t, M_i(1)\big) - Y_i\big(t, M_i(0)\big)
3

The direct effect for unit i holds the mediator fixed at the value it would take under treatment status t and changes only the treatment from control to treated. Averaging gives the average direct effect, the portion of the treatment's effect that operates through pathways other than the specified mediator. Note that the sum that recovers the total effect pairs the mediated effect at one treatment status with the direct effect at the other: the ACME at t = 1 plus the direct effect at t = 0 (or the ACME at t = 0 plus the direct effect at t = 1) equals the total effect, not the two quantities at the same t.

Formula
\zeta_i(t) = Y_i\big(1, M_i(t)\big) - Y_i\big(0, M_i(t)\big)
4

Identification of the ACME requires sequential ignorability: treatment is unconfounded given pre-treatment covariates (satisfied by randomization), and, crucially, the mediator is unconfounded with the outcome given treatment and covariates. The second part is not guaranteed even in an experiment, because the mediator is not randomized, so it must be argued substantively rather than assumed away.

Formula
\{Y_i(t', m), M_i(t)\} \perp T_i \mid X_i,\quad Y_i(t', m) \perp M_i(t) \mid T_i = t, X_i
5

Because the no-unmeasured-mediator-confounding assumption is untestable, the method provides a sensitivity analysis that expresses the estimated ACME as a function of the correlation between the unobserved errors of the mediator and outcome models. The analyst reports how large hidden confounding would have to be to overturn the conclusion, turning an untestable assumption into a quantitative robustness statement.

Formula
\overline{\delta}(t)\ \text{as a function of}\ \rho = \text{corr}(\varepsilon_M, \varepsilon_Y)

Common pitfalls

  • Treating the product-of-coefficients estimate as causal without stating or defending sequential ignorability.
  • Assuming that because treatment was randomized the mediator is automatically unconfounded with the outcome.
  • Reporting an ACME without the accompanying sensitivity analysis to gauge robustness to hidden confounding.
  • Forcing several distinct mechanisms into a single-mediator model and misattributing the indirect effect.

Frequently asked questions

How does this differ from the classic Baron-Kenny mediation approach?

The Baron-Kenny product-of-coefficients method estimates an 'indirect effect' from regression coefficients but never defines that quantity causally and implicitly assumes linearity and no mediator-outcome confounding. The potential-outcomes approach of Imai and colleagues defines the average causal mediation effect explicitly in terms of counterfactuals, states the sequential-ignorability assumption needed to identify it, works for nonlinear models and treatment-mediator interactions, and supplies a sensitivity analysis. The two coincide only under restrictive linear, no-interaction, no-confounding conditions. See the linked mediation-analysis entry for the classical treatment.

If my treatment is randomized, can I just trust the mediation estimate?

No. Randomizing the treatment guarantees the first part of sequential ignorability — that treatment is unconfounded — but it does not randomize the mediator. The mediator is a post-treatment variable that subjects' own characteristics influence, so the mediator and outcome can still share unobserved confounders. Identifying the ACME requires the additional, untestable assumption that the mediator is unconfounded with the outcome given treatment and covariates. This is why even experimentalists must report a sensitivity analysis or use designs that manipulate the mediator. See the linked causal-mediation entry for the general framework.

What does the sensitivity analysis actually tell me?

Because the no-mediator-confounding assumption cannot be verified from data, the sensitivity analysis asks how strong an unobserved confounder between the mediator and outcome would have to be to drive the estimated mediation effect to zero. It parameterizes this as the correlation between the error terms of the mediator and outcome models and reports the value at which the conclusion flips. If only an implausibly large confounder could overturn the result, the mediation finding is robust; if a small one suffices, the finding is fragile. It converts an untestable assumption into a transparent, quantitative robustness check.

Related methods

Sources

  1. Imai, K., Keele, L., & Tingley, D. (2010). A General Approach to Causal Mediation Analysis. Psychological Methods, 15(4), 309–334.

    Open DOI reference
  2. Imai, K., Keele, L., Tingley, D., & Yamamoto, T. (2011). Unpacking the Black Box of Causality: Learning about Causal Mechanisms from Experimental and Observational Studies. American Political Science Review, 105(4), 765–789.

    Open DOI reference