Unit 8 of 8 · about 6 hours · explain, derive
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.
You'll be able to
- 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
Read
In this order, only the parts listed
0 of 4 done
- 14.310x Lecture 14: potential outcomes and assignmentMIT 14.310x - Data Analysis for Social Scientists
Slides 1 to 14: causal statements, predictive questions, potential outcomes, SUTVA, assignment and the selection problem
- What If: define and identify the effectCausal 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)
Keep individual versus average effects, consistency, exchangeability, positivity and standardization. Skip alternative effect scales and the chapter's longer historical discussion.
- What If: paths, confounding and valid adjustmentCausal 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)
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.
- Optional: heterogeneous average effectsCausal Inference: What If
Sections 4.1 and 4.2, pp. 47 to 51, heterogeneity and stratification to identify effect modification
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 , potential outcomes and define . Consistency relates observed to . 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 ; an intervention sets 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 and blocks every path from to that starts with an arrow into . 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, independent of given , and on the target population's support, . Graphical blocking supports exchangeability only if the assumed causal graph is appropriate. Optional subgroup effects also require adequate adjustment and overlap within the subgroup.
Common mistakes · 3
- 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 are different quantities.
Try it yourself
Closed-book, before checking anything
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 closes the backdoor path, while making deterministic given would destroy the observational overlap needed for this formula.Quiz yourself
Answer first, then mark it. Missed ones go to Review.
0 got · 0 missed
1.Prove the adjustment formula and name the role of each assumption.Answer
For integrable potential outcomes, total expectation gives . Conditional exchangeability replaces the inner mean by . Positivity ensures that observed treatment stratum exists for each with positive target mass. Consistency replaces with observed within . This gives the adjustment formula. The simple notation presumes a well-defined intervention and no interference.
2.In , , , should you adjust for or to estimate the total effect of ?Answer
Adjusting for blocks the backdoor fork . is a descendant of on the causal pathway, so it is not an ordinary backdoor adjustment variable for the total effect. Conditioning on changes the contrast and does not by itself identify a direct effect.
3.Why can conditioning on in create bias even if was randomized?Answer
The -to- path through is blocked marginally because is a collider. Conditioning on opens it and associates with within strata, so randomization's marginal exchangeability need not survive. Adjustment for predictive variables is not automatically safe.
4.What fails if in the four-cell model, even when you know the DAG?Answer
and are zero. The missing treatment-stratum means cannot be recovered by standardization from observed data alone. The structural equation could supply extrapolation, but then identification depends on that additional modeling knowledge, not the observed backdoor adjustment formula.
5.Optional: does identifying identify each individual's treatment effect?Answer
No. It identifies a subgroup average under the relevant assumptions, not the joint pair of potential outcomes for an individual. Usually only one potential outcome is observed per individual. Different individual-effect distributions can share the same identifiable subgroup means.
You're done 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.
Only when you can do this without notes.
Leads to
Notes
Resources · 2 for this unit, 6 more in the section
- MIT 14.310x - Data Analysis for Social ScientistsMIT OpenCourseWare · primary
Follow lectures 11-15, 17-20 and 22 with matching slides and problem sets for inference, regression, causality and experiment design.
- Causal Inference: What IfHernán & Robins · required
Read Chapters 1-3 and 6-8 for causal effects, DAGs, confounding, selection bias and identification reasoning.
Also in this section
- MIT 18.05 - Inference practiceMIT OpenCourseWare · required
Use classes 17-20, 22-24 and 26 with their problem sets for tests, intervals, bootstrap and regression.
- Patterns of trustworthy experimentationMicrosoft ExP · required
Read after the course to connect health checks, guardrails and statistical interpretation to production launch decisions.
- Always Valid InferenceJohari, Pekelis & Walsh · depth
Use the introduction and worked motivation to understand optional-stopping failure. Reproducing the theory is outside this gate.
- Probabilistic Machine Learning: An IntroductionKevin P. Murphy · reference
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 controlSciPy · reference
Read
permutation_testNotes, Unpaired statistics, for exchangeability and exact partitions;false_discovery_controlNotes 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 propertyscikit-learn · reference
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.