Causal Identification with Directed Acyclic Graphs (do-calculus)

Statistics
Introduced by
Judea Pearl
Year
2009
Type
Causal identification framework

What does it do?

DAG causal identification is a framework, developed by Judea Pearl and consolidated in his book Causality (2nd ed., 2009), that encodes causal assumptions as a directed acyclic graph and uses do-calculus rules to decide whether the causal effect of a treatment on an outcome can be computed from observational data, and which variables must be adjusted for.

Its central tools are the backdoor criterion, which identifies a valid adjustment set, and the frontdoor criterion, which can apply when key confounders are unobserved. Instrumental variables are a separate identification strategy and are not a general output of this framework.

The intuition behind the method

Draw your causal story as a diagram of arrows: each arrow says one variable directly influences another, and there are no cycles. Once the diagram is fixed, graphical rules show which other variables you must adjust for to block the spurious backdoor paths that would otherwise confuse cause with mere correlation. If a valid set of variables is observed, the same diagram indicates how to compute the effect of intervening on a cause from ordinary observational data.

History

The framework is associated with Judea Pearl's work on causal graphs and do-calculus. Its book-length treatment, Causality: Models, Reasoning, and Inference, appeared in a second edition in 2009, and an introductory primer, Causal Inference in Statistics, was written with Glymour and Jewell and published in 2016. Together these texts consolidated directed acyclic graphs and the do-calculus as a standard language for stating and testing causal assumptions. The 2009 date refers to the book edition and should not be read as the single date of origin of the framework.

When to use it

Use DAG identification when the question concerns the causal effect of a treatment or exposure and the data are observational, and when subject-matter knowledge can support a specific causal graph written down before the analysis. It is appropriate when a set of observed covariates satisfies the backdoor criterion and positivity holds within its strata, or when the frontdoor criterion applies through an observed mediator. Because data cannot confirm the graph or rule out unobserved confounding, pair it with a sensitivity analysis. Do not use it when the causal structure is unknown or cannot be justified, when a key confounder is unobserved and no valid frontdoor route exists, when positivity fails for some strata of the adjustment set, or when the sample is too small for the chosen adjustment set, since identification alone does not make an effect estimable.

Limitations and considerations

  • Conclusions are only as good as the assumed graph; a missing arrow or an omitted common cause changes the valid adjustment set and can change the causal claim.
  • If an unobserved variable confounds X and Y and no valid frontdoor route exists, the effect is not identified, and the observed data cannot reveal this.
  • Identification does not guarantee estimability: the adjustment requires reliable estimates of the conditional outcome distribution and the covariate distribution. No universal minimum sample size applies; the adequate size depends on the number of covariates in Z, their number of levels, the outcome model and the estimator, and sparse strata make estimates unstable.
  • Positivity violations, where some strata of Z contain only treated or only untreated units, leave the adjustment undefined for those strata; the observed data cannot always reveal this, and the effect cannot be estimated for such strata without extrapolation.

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

Strengths

  • Makes causal assumptions explicit as a graph, so backdoor paths and candidate confounders can be checked one by one rather than argued informally.
  • The backdoor and frontdoor criteria state which variables to adjust for, and they also show when no adjustment set exists from the observed variables.
  • The adjustment formula is written as a sum over a discrete covariate Z; for continuous covariates the same logic gives an integral, so the approach is not restricted to categorical adjustment.

Applications

  • Estimating treatment or policy effects from observational data while controlling for confounding.
  • Diagnosing which variables to adjust for, and which to leave alone, before fitting any model.
  • Reasoning about mediation, instruments, and selection in epidemiology, social science, and economics.

How it works

How it works

1

Causal assumptions are drawn as a directed acyclic graph G = (V, E), with variables as nodes and arrows as direct causal influences, including the treatment X and the outcome Y. The graph must be specified in advance from theory, with every relevant variable present and any unobserved common causes marked.

Formula
G = (V, E),\quad X \rightarrow Y
2

The do-calculus rules are applied to the graph to identify the interventional distribution of Y under an intervention on X. When a set of variables Z satisfies the backdoor criterion, the effect is identified by adjustment: the distribution of Y at a given treatment level is obtained by conditioning on the treatment within each stratum of Z and averaging over the distribution of Z, and this averaging becomes an integral for continuous covariates. Adjustment identifies the effect only if the graph is correct, positivity holds, and consistency holds. Positivity requires that every stratum of Z that occurs in the population contains both treated and untreated units, so that the conditional probabilities used in the adjustment are defined. Consistency requires that the observed treatment corresponds to a well-defined intervention. No interference requires that one unit's treatment does not affect another unit's outcome. When the backdoor criterion cannot be met, the frontdoor criterion can provide an alternative route if the effect passes through an observed mediator.

Formula
P(Y \mid do(X)) = \sum_{Z} P(Y \mid X, Z)\, P(Z)

Common pitfalls

  • Drawing the DAG after inspecting the data instead of specifying it in advance from theory, which lets the data choose the causal story.
  • Omitting relevant variables or failing to mark hidden common causes, which leaves backdoor paths open.
  • Adjusting for a collider or a descendant of X, which can open a path that was previously blocked and bias the estimate.
  • Ignoring positivity: adjusting for a set of covariates in which some strata contain only treated or only untreated units, so the adjustment is undefined for those strata.
  • Treating a valid adjustment set as a finished estimate, without checking sample adequacy and the estimator used.
  • Skipping a sensitivity analysis for unobserved confounding and over-claiming causality from the graph.

Frequently asked questions

What is the backdoor criterion?

A set of variables Z satisfies the backdoor criterion for the effect of X on Y if it blocks every spurious path from X to Y that enters X through an incoming arrow, without including any descendant of X. If the graph is correct, positivity holds within the strata of Z and consistency holds, adjusting for such a Z identifies the causal effect from observational data.

Does a DAG let me prove causality from data alone?

No. The graph encodes assumptions you bring from theory; the data cannot confirm the graph itself. Identification tells you that, if the assumptions hold, the effect is computable. Always accompany it with a sensitivity analysis for unobserved confounding.

What if a key confounder is unobserved?

Backdoor adjustment then fails. The frontdoor criterion can sometimes identify the effect through an observed mediator, or you can switch to a sensitivity analysis or a design-based method such as propensity score matching.

How is this different from just adding control variables to a regression?

A DAG tells you which variables to adjust for and which to avoid. Blindly controlling for everything can open backdoor paths (for example by conditioning on a collider) and bias the estimate, so the graph guides the adjustment set rather than the model mechanics.

Related methods

Sources

  1. Pearl, J. (2009). Causality: Models, Reasoning, and Inference (2nd ed.). Cambridge University Press.

    ISBN: 978-0521895606
  2. Pearl, J., Glymour, M., & Jewell, N. P. (2016). Causal Inference in Statistics: A Primer. Wiley.

    ISBN: 978-1119186847