7 routes42 sections324 units

Unit 4.8 · about 6 h

79 / 324

Causal claims, causal graphs, adjustment and identification

Prediction describes observations; causal identification asks what would happen under an intervention. A precise association cannot replace the assumptions that connect those two questions.

  • explain
  • derive

You can now

  • Distinguish predictive, associational and causal claims by stating the intervention and potential-outcome estimand.
  • Draw a DAG, recognize confounders, colliders and mediators, and use the backdoor criterion to select or reject an adjustment set.
  • Derive the adjustment formula using consistency, conditional exchangeability and positivity, and check a confounded example by hand and in NumPy.
  • For the optional extension, distinguish subgroup average treatment effects from individual effects and prognostic differences.

Covers

  • Predictive, associational and causal claims
  • Causal graphs, confounders, colliders and mediators
  • Interventions, adjustment and identification assumptions
  • Heterogeneous treatment effects

Study, in this order

4 steps

  1. 14.310x Lecture 14: potential outcomes and assignment
    MIT 14.310x - Data Analysis for Social Scientists

    Slides 1 to 14: causal statements, predictive questions, potential outcomes, SUTVA, assignment and the selection problem

  2. What If: define and identify the effect
    Causal Inference: What If

    August 19, 2026 edition: Sections 1.1 and 1.2 (pp. 3 to 6), Section 1.5 (pp. 9 to 11), Section 2.3 (pp. 19 to 20), and Section 3.1 (pp. 27 to 29)

    Depth · Keep individual versus average effects, consistency, exchangeability, positivity and standardization. Skip alternative effect scales and the chapter's longer historical discussion.

  3. What If: paths, confounding and valid adjustment
    Causal Inference: What If

    Sections 6.1 to 6.3 (pp. 75 to 81), Section 7.3 (pp. 95 to 98), and Section 8.1 (pp. 109 to 110)

    Depth · Work the chain, fork and collider rules and the backdoor criterion. Skip Technical Points 6.2 and 6.3 on structural models and cross-world independence, and Fine Point 6.2 on faithfulness. Do not proceed to SWIGs, longitudinal treatment or semiparametric estimation.

  4. Optional: heterogeneous average effects
    Causal Inference: What If

    Sections 4.1 and 4.2, pp. 47 to 51, heterogeneity and stratification to identify effect modification

    Depth · Optional topic only. Compare identified effects within pre-treatment strata; stop before transportability and matching. Do not build a treatment-effect learner here.

Focus on

  • For a well-defined treatment \(A\), potential outcomes \(Y(1)\) and \(Y(0)\) define \(\text{ATE} = \mathbb{E}[Y(1) - Y(0)]\). Consistency relates observed \(Y\) to \(Y(A)\). No interference is needed for this simple unit-level treatment notation; otherwise others' assignments must enter the potential outcomes.
  • A predictive target uses observed information; an associational contrast conditions on \(A\); an intervention sets \(A\) and removes its incoming causal arrows. A DAG records substantive causal assumptions, including omitted common causes, not just observed correlations.
  • A backdoor adjustment set contains no descendants of \(A\) and blocks every path from \(A\) to \(Y\) that starts with an arrow into \(A\). Conditioning blocks noncollider paths but can open a collider or a collider's descendant. For the total effect, conditioning on a mediator generally removes part of the effect rather than repairing confounding.
  • Under consistency, \(Y(a)\) independent of \(A\) given \(L\), and \(P(A = a \mid L) > 0\) on the target population's support, \(\mathbb{E}[Y(a)] = \sum_l \mathbb{E}[Y \mid A = a, L = l] P(L = l)\). Graphical blocking supports exchangeability only if the assumed causal graph is appropriate. Optional subgroup effects also require adequate adjustment and overlap within the subgroup.

Reproduce closed-book

Derive the adjustment formula line by line, naming where exchangeability, positivity and consistency enter. Work a four-cell population: \(L\) is a fair bit; \(P(A = 1 \mid L = 0) = 0.2\) and \(P(A = 1 \mid L = 1) = 0.8\); \(Y = 2A + L\), with potential outcomes \(Y(0) = L\) and \(Y(1) = 2 + L\). Draw \(L \to A\), \(L \to Y\), \(A \to Y\). The observed means are 0.2 for \(A = 0\) and 2.8 for \(A = 1\), giving an associational difference 2.6; intervention means are 0.5 and 2.5, giving \(\text{ATE}\) 2. Check in NumPy float64 without random draws: P = numpy.array([[0.4, 0.1], [0.1, 0.4]], dtype=numpy.float64), rows L = 0, 1 and columns A = 0, 1; Y = numpy.array([[0, 2], [1, 3]], dtype=numpy.float64). Compute observed = (P*Y).sum(axis=0)/P.sum(axis=0) and intervention = P.sum(axis=1) @ Y. Compare with [0.2, 2.8] and [0.5, 2.5]; require maximum absolute error below 1e-12. These are population identities, not fitted in-sample scores. Explain why adjusting for \(L\) closes the backdoor path, while making \(A\) deterministic given \(L\) would destroy the observational overlap needed for this formula.

Traps

  • Adjusting for every measured predictor. A collider or post-treatment variable can introduce bias or change the effect being estimated.
  • Thinking a randomized assignment fixes interference or treatment-dependent missing outcomes. Randomization addresses baseline assignment confounding, not every validity failure.
  • Calling a subgroup with high untreated outcomes a subgroup with large treatment benefit. Prognosis and the contrast \(Y(1) - Y(0)\) are different quantities.

Practice

The section mini-project covers this: define a potential-outcome estimand, draw a confounding/selection DAG, compare observed and intervention means under a known generator, and demonstrate one invalid adjustment and one overlap failure. Optional: report pre-treatment subgroup average effects without claiming individual-effect identification.

Self-test

  1. Prove the adjustment formula and name the role of each assumption.

  2. In \(L \to A\), \(L \to Y\), \(A \to M \to Y\), should you adjust for \(L\) or \(M\) to estimate the total effect of \(A\)?

  3. Why can conditioning on \(C\) in \(A \to C \leftarrow U \to Y\) create bias even if \(A\) was randomized?

  4. What fails if \(A = L\) in the four-cell model, even when you know the DAG?

  5. Optional: does identifying \(\mathbb{E}[Y(1) - Y(0) \mid L]\) identify each individual's treatment effect?

Completion criterion

Stop when

You reconstruct the adjustment proof, pass the four-cell NumPy check, and select or reject adjustment sets in a new fork, mediator and collider graph while naming untestable assumptions. The heterogeneous-effects extension is optional.

Mark passed, then open 5.1 Only mark this when you can do it without notes.

Leads to

Resources for this unit

Also in this section

  • MIT 18.05 - Inference practice
    MIT OpenCourseWarerequiredpractice
    Use classes 17-20, 22-24 and 26 with their problem sets for tests, intervals, bootstrap and regression.
  • Patterns of trustworthy experimentation
    Microsoft ExPrequiredapplication
    Read after the course to connect health checks, guardrails and statistical interpretation to production launch decisions.
  • Always Valid Inference
    Johari, Pekelis & Walshdepthdepth
    Use the introduction and worked motivation to understand optional-stopping failure. Reproducing the theory is outside this gate.
  • Probabilistic Machine Learning: An Introduction
    Kevin P. Murphyreferencetheory
    Use the April 18, 2025 online edition: Sections 4.2.3 to 4.2.5, 4.5.1 and 4.6.4.1 for Bernoulli and Gaussian MLE/MAP; the definition and central intervals in 4.6.6; 2.1.2 and 11.7.4 for predictive uncertainty. Exercises 4.1 and 4.2 supply derivation practice.
  • Permutation nulls and false discovery control
    SciPyreferencereference
    Read permutation_test Notes, Unpaired statistics, for exchangeability and exact partitions; false_discovery_control Notes and the named thrombolysis example for Bonferroni and Benjamini-Hochberg. Use as an independent implementation oracle, not as a substitute for stating assumptions.
  • Probability calibration: the statistical property
    scikit-learnreferencereference
    Read the opening calibration definition, the proper-scoring-rule note, and Section 1.16.1, Calibration curves. Stop before recalibration methods; the later Classical ML unit implements them.

Quick find

Search Michi

Type to search every route, section, unit, topic and resource.

Enter opens the first result Esc closes

Reference

Keyboard shortcuts

n
Continue to the first unit not passed
j / k
Next / previous unit
1 2 3
Toggle learned, practised, passed
/
Open search
?
Show this help
Esc
Close open panels