- Introduced by
- Judea Pearl
- Year
- 1995
- Type
- Causal identification (graphical adjustment)
What does it do?
Frontdoor adjustment is a graphical identification strategy introduced by Judea Pearl in 1995.
It recovers the causal effect of a treatment on an outcome through a fully mediating variable, even when an unobserved confounder affects both the treatment and the outcome. It is used when the backdoor criterion cannot be satisfied because the confounder cannot be measured.
The intuition behind the method
When a hidden common cause spoils a direct treatment-outcome comparison, frontdoor adjustment routes the analysis around it. If all of the treatment's influence flows through a mediator, the problem splits into two pieces: how the treatment moves the mediator, and how the mediator moves the outcome. The first piece is not contaminated by the hidden confounder, and the second is made clean by adjusting for the treatment. Weighting and combining the two pieces rebuilds a causal effect that a naive comparison cannot reach.
History
Judea Pearl introduced the frontdoor criterion in his 1995 Biometrika paper, Causal Diagrams for Empirical Research, which develops graphical models as a framework for identifying causal effects from nonexperimental data. His book Causality: Models, Reasoning, and Inference (2nd ed., 2009) gives a book-length treatment of the wider framework within which the criterion is developed.
When to use it
Choose frontdoor adjustment for observational data when you suspect an unmeasured confounder between treatment and outcome, so that adjusting for observed common causes cannot close the backdoor paths, and when you can measure a mediator through which the treatment's effect plausibly passes. Before using it, check the following conditions on a causal diagram you can defend: (1) the mediator intercepts all directed paths from treatment to outcome; (2) no unblocked backdoor path connects the treatment to the mediator; (3) all backdoor paths from the mediator to the outcome are blocked by the treatment. These conditions are properties of the diagram and cannot be confirmed from data alone. Do not use the method if the treatment has a direct effect on the outcome that bypasses the mediator, or if the mediator and outcome share an unobserved common cause that the treatment does not block. As a rough guide, about 100 observations is a starting point rather than a requirement; the adequate size depends on the number of treatment and mediator levels and on the precision you need. Check the stability of the estimates, for example with a bootstrap, before relying on them.
Limitations and considerations
- Requires a mediator that carries the entire effect of the treatment on the outcome. Partial mediation violates the criterion, and full mediation is a strong structural claim that is hard to confirm in most observational settings.
- An unobserved confounder on the treatment-to-mediator path invalidates the formula, as does an unobserved common cause of the mediator and outcome that the treatment does not block.
- The mediator must be measured as the variable that appears in the causal diagram. If the observed variable is only a noisy proxy for the true intermediate process, the identification argument no longer applies to it.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Identifies the effect of the treatment when the confounder between treatment and outcome is unobserved, a case where adjustment for observed variables on the backdoor paths cannot succeed.
- States its conditions as graphical criteria on a causal diagram that can be inspected and argued about, rather than only as an untestable ignorability assumption.
- Once the conditions hold, the estimand is built from two conditional distributions, P(M | X) and P(Y | x', m), which can be estimated and examined separately.
Applications
- Observational studies in which the key confounder cannot be measured but a mediating mechanism is observed, which is the situation the criterion was designed for.
How it works
How it works
The method assumes that all of the treatment's effect passes through a mediator M. Because no unobserved confounder lies on the path from treatment to mediator, the effect of the treatment X on M is identified directly from the observed conditional distribution P(M | X).
Formula
P(M \mid do(X)) = P(M \mid X)
The formula sums over the mediator values m. For a given treatment value x, each mediator value is weighted by P(m | x), and multiplied by an inner term. The inner term sums P(Y | x', m) P(x') over the treatment values x', which averages the mediator-outcome relationship over the marginal distribution of the treatment; this averaging is what blocks confounding of the mediator-outcome path through the treatment. The formula is nonparametric and does not itself specify a regression model. In a finite sample, the conditional probabilities must be estimated from data, and the precision of those estimates depends on sample size. The formula as written assumes discrete treatment and mediator, so the sums run over their levels. If the treatment, mediator or outcome is continuous, the sums are replaced by integrals over the corresponding conditional densities, and those densities must be estimated.
Formula
P(Y \mid do(X)) = \sum_{m} P(m \mid X) \sum_{x'} P(Y \mid x', m)\, P(x')Common pitfalls
- Assuming full mediation without evidence. If part of the treatment's effect bypasses the mediator, the frontdoor formula does not return the causal effect.
- Treating the criterion as satisfied without drawing the causal diagram and checking the direction of every arrow into the mediator.
- Ignoring confounding between the mediator and the outcome. An unobserved common cause of the two that the treatment does not block leaves the formula biased.
- Applying the method to small samples, where the estimated conditional probabilities are unreliable. About 100 observations is a rough starting point, so check estimate stability before relying on results.
Frequently asked questions
How is frontdoor adjustment different from backdoor adjustment?
Backdoor adjustment blocks confounding by conditioning on observed common causes of treatment and outcome. Frontdoor adjustment is used when those confounders are unobserved: instead of conditioning on the confounder, it identifies the effect through a fully mediating variable, so it works precisely in cases where the backdoor criterion cannot be met.
What does the 'full mediation' assumption require?
It requires that the entire causal effect of the treatment on the outcome travels through the mediator, with no direct treatment-outcome path bypassing it. If any of the effect leaks around the mediator, the frontdoor formula no longer identifies the true effect.
How large a sample do I need?
There is no fixed requirement. As a rough guide, about 100 observations is a starting point. Below that, estimation of the conditional probabilities becomes unstable, and the adequate size depends on the number of treatment and mediator levels and on the precision you need. Bootstrap intervals show whether the estimates are stable, and a DAG identification check or a different identification strategy is safer when the sample is small.
What if the assumptions fail?
If full mediation cannot be justified, the frontdoor criterion is invalid and you should consider a backdoor strategy or an instrumental-variables approach such as two-stage least squares. Always verify the criterion on a credible causal diagram first.
Related methods
Sources
Pearl, J. (1995). Causal Diagrams for Empirical Research. Biometrika, 82(4), 669-688.
Open DOI referencePearl, J. (2009). Causality: Models, Reasoning, and Inference (2nd ed.). Cambridge University Press.
ISBN: 978-0521895606