Frontiers of Causal Inference
What can be identified, and estimated, when the textbook assumptions fail?
In 2011 the HIV-CAUSAL Collaboration emulates a trial of when to start therapy, comparing strategies indexed by CD4 thresholds, and START later randomizes the question. That is a dynamic regime, and the part asks what remains when randomization, measured confounders and natural experiments all fail. The front-door formula identifies an effect through a mediator, and the ID algorithm decides which effects a graph identifies. When it identifies none, the marginal sensitivity model bounds the effect on the National Supported Work data, and proximal inference replaces the hidden confounder by two proxies and a two-stage least squares fit. The questions then grow: spillovers on a network by exposure mappings, treatment rules learned and then evaluated on independent data, Q-learning for two-stage regimes, and what causal discovery can and cannot recover. It ends by transporting a trial to its nonparticipants, with a surrogate index that works and one that a bypass breaks, and the open problems. Each method replaces one assumption with other explicit assumptions.
What you need. The potential-outcomes and graphical causal inference of Parts 35 to 37; semiparametric efficiency as in Part 49; instrumental variables.
- Hook
- when to start HIV treatment
- Mathematics
- ID theory, sensitivity models, proximal inference, interference, policy learning, dynamic regimes, causal discovery theory, data fusion
- Built
- statkit.causal (II)
What you will be able to do
Bachelor's
- Explain what a dynamic treatment regime is, and how the question 'when to start' differs from 'treat or not'.
Master's
- Evaluate the front-door formula from a table of treatment, mediator and outcome, and state the graph it needs.
- Derive the inverse-odds weights that carry a trial's effect to its nonparticipants.
PhD
- State the marginal sensitivity model and explain why optimizing over the weight box is a relaxation of the identified set.
- State the assumptions of proximal identification (proxy exclusions, a bridge function, completeness) and show which one each counterexample drops.
- Prove that the in-sample value of a learned policy is optimistic, and say what an independent evaluation sample repairs.
Practice
- Report an observational effect with the value of Lambda at which its bounds reach zero, beside a benchmark.
- Estimate direct and spillover effects on a network from exposure probabilities, and say which units have no support for a contrast.
Contents
Each chapter has a home level. Choose a track to see what to read and watch: Bachelor's 6 min · Master's 19 min · PhD 51 min · Practice 19 min.
- 0When to start, 2011Bachelor's4 min
- 1Identification theoryPhD5 min
- 2Sensitivity and boundsPractice5 min
- 3Proximal causal inferencePhD4 min
- 4InterferencePhD5 min
- 5Policy learningPhD5 min
- 6Dynamic treatment regimesPhD4 min
- 7Causal discoveryPhD5 min
- 8TransportabilityPractice5 min
- 9SurrogatesPractice4 min
- 10Open problemsPhD3 min
- Recap, problems, and the road aheadAll tracks2 min
Also on this page: Lecture · Key results · Try it · Lab · Problems · Notes and sources · Build the film.
Lecture
The text of each chapter is the film's narration, as it is spoken, so you can read along or revise without the film. The pictures are in the film. A dashed box stands for a number the film computes when it is rendered (hover over it to see what is computed); the README's figures for each chapter, where it lists them, follow the chapter's text.
When to start, 2011Bachelor's4 min
In 2011 the HIV-CAUSAL Collaboration compared treatment-initiation strategies indexed by CD4 thresholds. The eligible cohort had twenty thousand nine hundred and seventy-one therapy-naive adults with baseline CD4 at least five hundred and no prior AIDS. Eight thousand three hundred and ninety-two subsequently entered the two-hundred-to-four-hundred-and-ninety-nine range and contributed to the reported analysis. This is a dynamic-regime question: when to start, as clinical measurements evolve. Treatment timing was observational and could be confounded by prognosis. The analysis combined a specified time origin, artificial censoring and weighting under causal assumptions.
Their estimates, as hazard ratios against starting at 500, with ninety-five percent intervals. For death alone, waiting until 350 gave a ratio of 1.01, and waiting until 200 gave 1.20, with an interval that just includes one. For AIDS or death, waiting was clearly worse: 1.38 for 350, and 1.90 for 200. Starting earlier looked better. But it was an observational analysis, and the authors themselves said a randomized trial should settle it.
Clone-censor-weight emulation begins by specifying eligibility, a common time zero, initiation rules and any grace periods. In this study follow-up began when CD4 first fell below five hundred; initiation strategies allowed a six-month window after crossing a threshold. A person can initially be compatible with several regimes and contribute a copy to each. Artificially censor a copy when observed treatment departs from its regime. History-dependent inverse-censoring weights can address the selection this creates under sequential exchangeability, positivity, consistency and suitable models. The resulting causal comparison is not guaranteed by cloning alone.
START later randomized four thousand six hundred and eighty-five adults with CD4 above five hundred to immediate therapy or deferral until three hundred and fifty, AIDS, or another clinical indication. Its primary composite included serious AIDS events, serious non-AIDS events and death from any cause. The immediate-versus-deferred hazard ratio was zero point four three, with a ninety-five percent interval from zero point three zero to zero point six two. At the 2015 interim review, the monitoring board recommended offering treatment to the deferred group. This broadly supported earlier treatment, but it was not the identical population, regime or endpoint as the observational emulation. Agreement does not prove that emulation's assumptions. Precise targets and assumptions are what let these complementary designs be interpreted.
Parts thirty-five to thirty-seven assumed one of three things: randomization, no unmeasured confounding, or a natural experiment. This part asks what remains when those fail. Some effects are identified from a graph in surprising ways; some can only be bounded; some need proxies for what is hidden. And the questions themselves grow: effects that spill between people, rules instead of treatments, graphs learned from data, and results carried from one population to another.
The plan. Chapters one to three: identification theory, sensitivity analysis and partial identification, and proximal inference. Chapters four to six: interference, policy learning, and dynamic treatment regimes. Chapters seven to nine: causal discovery, data fusion and transportability, and surrogate outcomes.
Two promises come due. Part thirty-six assumed every confounder was measured; chapters two and three bound the effect without that assumption, and replace it with proxies. Part sixty-one moved distributions without a causal model; chapter eight says when an effect itself can be carried to a new population.
1Identification theoryPhD5 min
Identification theory: which causal effects can a graph and data determine? Part thirty-six's back-door criterion says: if a set of measured variables blocks every back-door path, adjust for it. When a confounder is unmeasured, no such set may exist. Is the effect then lost? Not necessarily. The question of identification asks whether the interventional distribution P of y given do x is a function of the observed distribution, for every model compatible with the graph. If so, it can be estimated; if not, no amount of data from that graph will determine it.
Judea Pearl's front door, from 1995. A hidden U confounds treatment A and outcome Y, but the effect of A passes entirely through a mediator M, which U does not touch. The effect of A on M is unconfounded: compare M across A. The effect of M on Y is confounded only through A, so adjusting for A identifies it. Chaining the two gives the front-door formula: the effect is identified although the confounder was never measured.
A simulation with units. A hidden binary U raises both the chance of treatment and the outcome; A acts on Y only through M. The difference in means is , almost three times the truth. No measured set blocks the back door. The front-door formula gives , against a true effect of one. statkit's criterion check confirms on the graph what the formula needs.
The smallest unidentified graph is the bow: A causes Y, and a hidden U causes both. Take two models. In one, A has no effect and U makes A and Y agree; in the other, A has a strong effect and U does nothing. They can produce exactly the same joint law of A and Y, so no amount of observational data separates them. More general hedge structures can certify nonidentification; a literal bow is only the simplest example.
The do-calculus has rules for transforming interventional probability expressions. They insert or remove observations, exchange actions and observations, or insert and remove actions under graphical separation conditions. A derivation that removes the intervention operators expresses the target through observed laws, subject to support conditions. Completeness results concern the specified nonparametric acyclic latent-variable graphical model and available observational distribution. They do not settle every causal question under arbitrary structural restrictions or additional data sources.
Some identified effects fit neither criterion. In the napkin graph, named for being sketched on one, W causes Z, Z causes X, X causes Y, and two hidden variables join W to X and W to Y. No set blocks the back door from X to Y, and there is no mediator for a front door. Yet the do-calculus identifies the effect, as a ratio of two adjusted quantities, found by the ID algorithm mechanically: an answer no one would guess by inspecting the graph.
Identification algorithms automate this graphical problem, building on Tian, Pearl and Shpitser. In a latent-projection graph they decompose bidirected districts, traditionally called c-components. A hedge can certify nonidentification of an intervention distribution in this model class. Such obstructions need not contain a literal two-node bow. An identified functional still needs positivity, estimation assumptions and a suitable statistical procedure; graphical identification alone does not promise an efficient or regular estimator.
When identification fails, a graph can still bound the effect. With a binary instrument, treatment and outcome, Alexander Balke and Pearl solved in 1997 a linear program over all response types consistent with the data: the sharpest possible bounds on the average effect. With strong compliance the bounds are narrow; with weak compliance they approach Manski's no-assumption bounds. This is identification's general form: the set of all effects consistent with the data and the graph, a point when we are lucky.
What identification does not solve. It assumes the graph is right; chapter seven asks whether graphs can be learned. It gives a formula, not an estimator with good properties: front-door and other identified functionals need Part forty-nine's influence functions for efficient, doubly robust estimation, worked out by Isabel Fulcher and co-authors in 2020. And when the answer is 'not identified', the next question is how much can still be said: chapter two.
2Sensitivity and boundsPractice5 min
Partial identification and sensitivity: how wrong could the answer be? Without no-unmeasured-confounding, the effect is usually not identified, but it is not unconstrained either. Charles Manski's bounds, Part thirty-seven's, assume only that outcomes are bounded: the missing potential outcomes could be anything in their range. These no-assumption bounds always include zero, so they never sign an effect. Sensitivity analysis sits between: it indexes a family of assumptions by how much hidden confounding they allow, from none to unlimited, and reports the answer as a function of that index.
Tan's marginal sensitivity model bounds how full-data treatment odds can differ from measured-covariate odds. A causal interpretation additionally requires a suitable latent-confounding setup and overlap. Lambda one recovers the no-hidden-selection baseline within that model. The odds restriction implies an interval for each inverse-propensity weight. Our sorting algorithm gives exact extrema of a finite Hajek statistic over that weight box. These are relaxed bounds: they omit conditional data-compatibility restrictions and must not be called the sharp population identified set. Dorn and Guo show why quantile balancing can tighten the earlier Zhao, Small and Bhattacharya approach.
Real data: Robert LaLonde's 1986 test of observational methods. The National Supported Work program was randomized, and the sample difference in 1978 earnings provides an experimental benchmark estimate: dollars. Replace the experimental controls by men from the Panel Study of Income Dynamics, as an observational study would. The raw difference is dollars; inverse-probability weighting on age, education, race, marriage, degree and earlier earnings gives . Both have the opposite sign from that benchmark, which itself has sampling uncertainty. How much hidden confounding would it take to reconcile the weighted estimate with the experiment?
The sensitivity curve. At Lambda equal to one, the weighted estimate, dollars. As Lambda grows, the relaxed weight-box envelope widens. They include zero once Lambda is about : a hidden factor that changes the odds of joining the program by about percent is enough for this relaxed envelope to reach zero. This is not proof that such a hidden factor exists or that the population effect is zero. They reach the experimental answer at Lambda about . The observational study is fragile in both directions, which is what LaLonde found.
Confounding uncertainty and sampling uncertainty are different. The plotted band is the finite weight-box envelope before adding a bootstrap. We now also compute two hundred treatment-stratified bootstrap resamples, refitting feature scaling and logistic propensities and recomputing both endpoints at each Lambda. Lower-endpoint and upper-endpoint percentiles give an illustrative outer interval. This finite bootstrap does not guarantee coverage of a causal ATE under arbitrary misspecification, clipping or poor overlap. Sharp population bounds require further compatibility constraints and their own inference theory. Only one hundred and eighty-five treated observations are present, so sampling uncertainty in both this comparison and the experimental benchmark matters.
Lambda measures a bound on a specified hidden-selection odds ratio. Dropping a measured variable and refitting can provide a descriptive comparison, but it does not establish the strength or outcome relevance of an unmeasured confounder. This demonstration does not compute a strongest-covariate benchmark or identify motivation as the omitted cause. Propensity clipping and population comparability also matter. Report the sensitivity curve, sampling uncertainty, target and assumptions together, rather than treating one tipping value as a causal conclusion.
Other sensitivity models, each with its own index. Part thirty-six's Rosenbaum bounds, for matched designs, with Gamma. The E-value of Tyler VanderWeele and Peng Ding: the strength of association a confounder would need. Carlos Cinelli and Chad Hazlett's omitted-variable bounds for regression, in partial R squared. And Lambda, for weighting estimators, with sharp bounds and, as Dorn and Guo showed, population-sharp bounds using quantile balancing under the specified assumptions.
3Proximal causal inferencePhD4 min
Proximal causal inference: two imperfect proxies for one hidden confounder. Often the confounder is not measured, but something related to it is. A patient's frailty is hidden, but there are clues: earlier hospital visits, which predict treatment, and a blood test, which predicts the outcome. Adjusting for the clues as if they were the confounder is the usual practice, and it leaves bias, because a proxy measures the confounder with error. Wang Miao, Zhi Geng and Eric Tchetgen Tchetgen showed in 2018 that two proxies of different kinds can identify the effect exactly. A treatment proxy Z, related to the outcome only through U; and an outcome proxy W, unaffected by the treatment.
An outcome bridge solves a conditional moment equation involving the outcome proxy and treatment. Its conditional expectation given treatment and the treatment proxy must equal the conditional outcome mean. Averaging the bridge identifies a potential-outcome mean under latent exchangeability, consistency, positivity, proxy exclusion conditions, bridge existence and the required completeness properties. Two correlated measurements by themselves are not enough. The equation resembles nonparametric instrumental variables, with potentially ill-posed inversion. A linear bridge with a sufficiently strong rank condition gives the simple two-stage example here.
In a linear model the bridge is a line, and the method becomes two-stage least squares. Regress Y on A and W, using A and Z as instruments. The coefficient on A is the causal effect; the coefficient on W absorbs the confounding. Eric Tchetgen Tchetgen, Andrew Ying, Yifan Cui, Xu Shi and Wang Miao's 2020 introduction gives this proximal two-stage least squares, and its doubly robust and semiparametric versions.
Related negative controls are used to diagnose bias. A negative-control outcome should not be affected by treatment; a negative-control exposure should have no causal effect on the outcome in the specified setup. Unexpected associations can signal confounding, selection bias, measurement problems or invalid control assumptions. They do not uniquely identify hidden confounding. Proximal correction additionally needs the appropriate proxy conditional independences, completeness and bridge assumptions; one variable of each name does not automatically remove bias.
A simulation. A hidden normal confounder U; two noisy copies of it, Z and W; a treatment that depends on U; and an outcome that depends on both, with a true effect of one. Six hundred samples of a thousand units. Ordinary regression adjusting for both proxies, in red, averages : the proxies remove only part of the confounding. Its interval covers none of these simulated truths in the displayed repetitions. Proximal two-stage least squares, in green, averages , with a wider spread, and its interval covers percent of the time.
Proxy quality affects the numerical conditioning and precision of the bridge estimate. Weak conditional association of the proxy instrument with the endogenous outcome proxy can make ordinary Wald intervals unreliable. The simulation now records first-stage robust F statistics, partial R squared and projected-design condition numbers. Its coverage result concerns this correctly specified, informative-proxy design. Weak-identification-robust inference can require joint moment tests and projection over nuisance bridge coefficients. An ordinary Anderson-Rubin interval for another IV parameter cannot simply be relabeled as a universally valid proximal-effect interval.
Beyond the linear case. A treatment bridge, solving the dual integral equation, gives a weighting estimator, and combining the two bridges gives a doubly robust one, from Yifan Cui and co-authors in 2023. The bridges can be estimated by kernel or neural methods, as minimax solutions of conditional moment equations. The price: the integral equations are ill-posed, like nonparametric instrumental variables, so rates are slower and proxies must be strong.
4InterferencePhD5 min
Interference: when one person's treatment affects another's outcome. Many individual-level analyses assume no interference, although earlier parts already considered group spillovers. Vaccines, classrooms, markets and networks can violate that assumption. With no restriction, one unit has a potential outcome for every assignment vector. A full-support randomized design can identify assignment-specific means in principle, but probabilities may be too small for useful estimation. It is wrong to say that nothing is identified. An exposure model reduces complexity by specifying which features of others' assignments matter.
SUTVA has a second half, often forgotten: no hidden versions of treatment. Treatment with a drug means one dose, one schedule; treatment with surgery means one surgeon's skill or another's. If versions differ in effect, the average effect is an average over whatever mix of versions the data contain, and changes when the mix does. Defining the intervention precisely, as a target trial would, is the remedy, and it is a modelling decision, not a statistical one.
Exposure mappings group assignments assumed to have the same effect on each unit. Here the mapping uses own treatment and whether any neighbor is treated, giving four labels. With independent Bernoulli treatment, probabilities are available exactly from each unit's degree. Isolated units have zero probability of neighbor-treated exposures; pseudocount smoothing cannot create that support. Each contrast must use a common population with positive probabilities for both compared exposures. Our spillover contrast uses nonisolates, while the direct-alone contrast can use all units.
Vaccine trials gave the vocabulary. M. Elizabeth Halloran and Claudio Struchiner distinguished, in 1991 and 1995, the direct effect of a vaccine on the vaccinated, the indirect effect on the unvaccinated around them, and the total and overall effects. Michael Hudgens and Halloran's two-stage randomization, Part thirty-five's design, randomizes communities to coverage levels, then individuals within them. Herd immunity is an indirect effect: in a cholera vaccine trial in Bangladesh, the unvaccinated in high-coverage neighbourhoods were protected too, as John Ali and co-authors reported in 2005.
The exposure map shows four hundred units in a geometric network. Treatment is independently assigned with probability three tenths. Colors distinguish the four own-treatment and neighbor-exposure combinations. Observing all four colors somewhere does not establish positivity for every unit. Isolates cannot have a treated neighbor, and the estimand must account for them.
We repeat three hundred randomized assignments and add fresh outcome noise. The table reports means and standard deviations across those repetitions, not independent-observation confidence intervals. The direct-alone Hajek comparison has true effect two on its common support. The spillover comparison has true effect one among nonisolates. The assumed any-treated-neighbor model also permits estimation of the global all-treated-versus-none contrast: use Horvitz-Thompson weights for each unit's corresponding exposure. Its population mean is three minus the isolated fraction, because isolates receive no spillover. A globally all-treated assignment need not be observed. The naive arm difference is near two here under Bernoulli assignment. It does not estimate the spillover or that global total effect.
The design can be chosen to target the spillovers. Cluster randomization, treating whole communities, makes the treat-everyone condition common, so the total effect becomes estimable: Johan Ugander and co-authors' graph cluster randomization, in 2013. Saturation designs randomize the fraction treated in each group, separating direct from spillover effects at several doses. In online marketplaces, where buyers and sellers interact, two-sided and switchback designs are now standard practice.
Inference is harder too. Outcomes are dependent through the network, so the variance of the Hájek estimator is not the independent formula. Aronow and Samii give conservative variance bounds. And the exposure mapping might be wrong: Michael Leung showed in 2022 that with approximate neighbourhood interference, where influence decays with distance, the estimators remain consistent and asymptotically normal. For observational network data, with no design to lean on, identification needs strong assumptions about who influences whom and why: an open area.
5Policy learningPhD5 min
Policy learning: whom should we treat, and how good is the rule we learned?
Part thirty-six estimated how effects vary with covariates. A decision-maker needs something else: a rule saying whom to treat. A policy pi maps covariates to a treatment. Its value is the mean outcome if everyone followed it. The best policy in a class maximizes the value, and the regret of a learned policy is how much value it gives up. Plugging in an estimate of the effect function and treating where it is positive can be far from optimal if the class of rules is restricted, say to rules a clinic can follow.
Empirical welfare maximization selects a rule with high estimated gain within a specified class. Regret bounds involving the square root of VC dimension over sample size require boundedness or suitable tails, overlap and other theorem conditions. Doubly robust, cross-fitted scores extend the approach when nuisance estimates satisfy appropriate rates and the causal assumptions hold. Cross-fitting does not repair hidden confounding or missing action support. Maximizing score-weighted treatment choices can be formulated as weighted classification under the policy constraints.
In this randomized simulation X is uniform between minus one and one, with treatment effect a quarter X minus a tenth. The optimal upper-threshold rule treats above point four and has exact gain zero point zero two two five relative to treating nobody. Each run uses four hundred policy observations plus an independent auxiliary sample of four hundred outcomes for nuisance fitting. Treatment propensity is known to be one half. This prevents policy learning from seeing evaluation outcomes through nuisance estimates. The coverage comparison optimizes upper and lower threshold rules. The representative chart shows only the upper-threshold subfamily, so its marked cut actually maximizes the curve shown.
For rules that treat everyone above a cut, the gold curve is each cut's true value: it peaks at 0.4. The orange curve is one sample's estimate, the running sum of the scores: jagged, because each score is noisy. EWM picks the cut where the orange curve is highest, . Its estimated gain is ; its true gain, . The maximum of a noisy curve is biased upward.
Selecting and evaluating the same noisy maximum creates optimism. The displayed Monte Carlo comparison estimates both that optimism and coverage for the randomly learned rule's own population gain. For the split version, learn on half of the policy observations and evaluate on the other half, using nuisances fitted on the independent auxiliary sample. Ordinary two-fold nuisance fitting alone would leak evaluation outcomes into the learning scores in this design. The split estimate's average error is recorded with its Monte Carlo uncertainty. Its Wald interval is an approximation under this simulation, not a universal finite-sample guarantee.
Evaluating a policy without deploying it is off-policy evaluation. The doubly robust scores already do it: the average score of those a new policy would treat estimates its gain, from data collected under another policy. It needs overlap: the old policy must sometimes have done what the new one would do. A deterministic logging policy cannot identify a new action where it supplied zero probability; policies agreeing on the observed action support are a different case. Recommender systems and online platforms evaluate new rules this way, from logs of randomized or bandit decisions, Part fifty-eight's adaptive experiments.
Splitting costs half the data. Part fifty-six offers alternatives. Isaiah Andrews, Toru Kitagawa and Adam McCloskey's inference on winners, from 2024, gives intervals for the value of the selected option using all the data, by conditioning on the selection event or by a hybrid projection. For a finite class of candidate policies, the learned policy is exactly a winner among them. Cross-fitting, rotating the roles of the halves and averaging, recovers most of the efficiency, though its intervals need care, because the folds' rules differ.
More complex policy classes can improve flexibility while increasing optimization and statistical difficulty. Shallow policy trees can be optimized exactly for specified finite search spaces, but general tree optimization is computationally difficult; fixed depth alone does not make every search cheap. Budget and fairness constraints alter the feasible policies and the available algorithms. Adaptive logging requires correct action probabilities, support and inference appropriate to the dependence. Reweighting alone does not guarantee a valid interval.
6Dynamic treatment regimesPhD4 min
Dynamic treatment regimes: rules that adapt as the patient changes. The hook's question was a dynamic regime: start treatment when the CD4 count first falls below a threshold. A regime is a sequence of rules, each using the history so far. Two difficulties. The intermediate measurements are affected by earlier treatment and affect later treatment, so they are both mediators and confounders. And the best first decision depends on what will be done second: decisions must be optimized backward.
The longitudinal g-formula identifies a regime value under consistency, sequential exchangeability and positivity for the intervention histories of interest. It integrates conditional outcome and covariate laws with treatments set by the specified regime. Reading a treatment coefficient from a single regression that conditions on an intermediate mediator is generally different from this total-effect calculation. Regression-based sequential g-computation can implement the formula correctly; regression itself is not the problem. Regime-adherence weighting is another route under its own support and nuisance-model conditions.
Q-learning works backward through conditional outcome models. At stage two, model the outcome using the relevant full observed history and each possible final treatment. Our revised simulation includes the first-stage treatment-by-state reward that the old reduced history omitted. Regress the estimated best later outcome on earlier history and treatment to learn a first-stage rule. The linear first-stage regression remains a working approximation in this nonlinear simulation. Backward induction is optimal with correct conditional Q functions and identification assumptions; it does not make misspecified fitted regressions exactly optimal.
Q-learning models conditional outcome levels as well as treatment contrasts. Structural nested models instead parameterize the treatment blip. Specific g-estimation procedures can be robust to some nuisance misspecification when the blip model and the required treatment or outcome nuisance are correct. A-learning similarly focuses on action advantages. Known randomization probabilities help with nuisance robustness, but do not protect a wrong blip model or an incorrectly specified treatment history.
A two-stage simulation in which each stage's treatment helps some patients and harms others, depending on their current state. A thousand patients, with both treatments randomized, as in a sequential trial. The five policies are evaluated on the same two hundred thousand fresh simulated states, integrating out the final outcome noise. Saved Monte Carlo errors quantify numerical uncertainty conditional on this one training fit. Never treating gives ; always treating, , worse; treating only at stage two, when the state is favourable, . Q-learning's regime, estimated from the thousand patients, reaches , close to the of the regime that uses the true model's thresholds.
Sequential multiple-assignment randomized trials randomize treatments at specified decision points. Designs may re-randomize nonresponders, responders or other eligible subgroups according to their protocol. Randomization supplies sequential exchangeability for the assigned decisions; consistency, sufficient treatment support and handling of loss to follow-up still matter. Such trials study adaptive interventions in many areas. Observational emulation can complement them when waiting for a trial is impractical, but does not inherit randomization automatically.
The HIV-CAUSAL analysis is now the model for target-trial emulation, Miguel Hernán and Robins's framework. Write down the protocol of the trial one would run: eligibility, regimes, start of follow-up, outcome. Then mimic it with observational data, aligning time zero for every regime so that no one's survival is counted before they could be classified. Many famous observational failures, such as early hormone-therapy studies, were partly failures of time zero, and emulation removes that error by construction.
7Causal discoveryPhD5 min
Causal discovery: can the graph itself be learned from data? Constraint-based causal discovery uses conditional independences under a causal model. Our PC-stable skeleton implementation freezes the adjacency at each conditioning depth and considers neighbor sets from both endpoints. It no longer truncates the search at three variables. Gaussian Fisher-z tests are approximations here. Full PC can orient an unshielded triple as X into Y and Z into Y when Y is absent from the relevant separating set, then apply further orientation rules. This numerical implementation computes only the skeleton, not a CPDAG. Recovery requires an acyclic causally sufficient Markov and faithful model, appropriate testing assumptions and sufficient data. A learned edge is not automatically an established causal arrow.
What can be recovered is less than the graph. X into Y into Z, X out of Y out of Z, and Y into both X and Z imply the same independences: X independent of Z given Y. They form a Markov equivalence class, and observational data cannot choose among them. Only the collider X into Y out of Z differs, which is why colliders orient edges. The output of PC is a partially directed graph: some arrows, some undirected edges.
Faithfulness assumes that every independence in the data comes from the graph, not from coincidences of parameters. A coincidence: X affects Y directly with weight one, and through M with weight one times minus one. The paths cancel. In five thousand simulated units the correlation of X and Y is : PC would remove the edge X to Y. Under generic continuously drawn coefficients exact cancellation has probability zero, but Caroline Uhler, Garvesh Raskutti, Peter Bühlmann and Bin Yu showed in 2013 that near-cancellation, which ruins finite-sample tests, is common: strong faithfulness fails for a large fraction of graphs.
Within an equivalence class, more structure can orient every edge. Shohei Shimizu and co-authors' LiNGAM, in 2006: in linear models with non-Gaussian noise, the direction is identified, because only in the causal direction is the residual independent of the regressor. Patrik Hoyer and co-authors' additive noise models extend this to nonlinear functions. And with equal noise variances, Jonas Peters and Bühlmann showed, even linear Gaussian models are identified. Each is an assumption, and each is untestable from the class alone.
Searching over graphs is combinatorial. Xun Zheng and co-authors' NOTEARS, in 2018, turned it into continuous optimization. A weighted adjacency matrix W is acyclic exactly when the trace of the matrix exponential of W squared, elementwise, equals the dimension. So minimize least squares plus a sparsity penalty, subject to that smooth constraint, by gradient methods. It performed impressively on standard benchmarks, which turned out to contain a shortcut.
Appropriate interventions can shrink an observational equivalence class. If intervening on X changes Y, it may demonstrate a total causal influence through a path; it does not by itself prove a direct X-to-Y edge. A null change can also reflect cancellation, the chosen intervention or inadequate power. Interventional-equivalence theory specifies what can be oriented under particular intervention targets and structural assumptions. Gene perturbation screens provide useful tests, but intervention specificity, hidden variables and measurement errors remain relevant.
Reisach, Seiler and Weichwald show how simulation scale can reveal causal ordering. Unit-noise linear models with moderately large coefficients often increase variance along causal paths. We now compute the cited implementation's path-based score, aggregating reachable pairs at each path length and giving half credit to equal variances. The raw-data mean is displayed. Standardization makes these marginal variances equal, so this score is exactly one half up to numerical tolerance. A value near point four seven from strict floating-point comparisons was an artifact. Standardization does not remove every possible covariance shortcut. The accompanying precision and recall come from our PC-stable skeletons. We do not run NOTEARS in this simulation; its sensitivity to scale is a separate finding in the cited paper.
Lessons from causal discovery. Data identify a graph only up to an equivalence class, unless further assumptions are made. Benchmarks must be scale-free, or methods can win by reading units. Interventional data, from experiments on some variables, shrink the equivalence class, the basis of modern discovery from perturbation screens. And a learned graph is a hypothesis, to be tested, not a premise for chapter one's formulas.
8TransportabilityPractice5 min
Data fusion and transportability: carrying an effect to a new population. A trial answers its question for the people it enrolled. Trials enrol the young, the healthy, the nearby. If the effect varies with age, the trial's average effect is not the target population's. Elias Bareinboim and Judea Pearl formalized when an effect can be carried across, transportability, in a series of papers culminating in 2016. Part thirty-five gave the inverse-odds estimator; this chapter gives the conditions and their graph.
A selection diagram marks mechanisms that may differ across populations; its selection nodes are not automatically the same as a sample-membership indicator. Transport of conditional responses needs an appropriate separation condition in the post-intervention graph, together with support. Selection pointing at covariates alone does not make every conditioning set admissible. If conditional causal effects are invariant given suitable measured covariates, averaging the trial's conditional effect over the target covariates identifies the target effect. An outcome-mechanism difference can invalidate response transport, but an additive baseline shift might still preserve a treatment contrast. The exact target functional and invariances determine the answer.
Two estimators, mirroring Part thirty-six. Outcome modelling: fit the conditional effect in the trial, and average it over the target's covariates. Weighting: fit the probability of being in the trial given X, on the stacked samples, and weight each trial participant by the odds of being in the target instead. Issa Dahabreh and co-authors gave the doubly robust combination in 2019, efficient when both models are right and consistent when either is.
In this simulation the treatment effect increases with age and trial selection favors younger adults. The target is each repetition's nonparticipant population, rather than the entire original pool. The gold line displays its average true effect; the individual target truths are also recorded. The trial's arm difference describes its selected participants and is lower than that target effect. The green estimate uses the known, simulated selection odds, so this is an oracle weighting example rather than a validated fitted membership model. It has greater variability and some observed finite-sample error; normalized weighting is not exactly unbiased. Kish ESS diagnoses concentration but is not a complete variance calculation.
Data fusion goes further: combine several studies, each partial. A small trial and a large observational study can be combined so the trial corrects the observational study's confounding, and the observational study extends the trial's reach: Kallus, Puli and Shalit, and others. Bareinboim and Pearl's do-calculus for fusion decides, from a set of selection diagrams, which combinations identify the target effect. Part sixty-three's privacy constraints add a twist: studies that cannot share individual records must be fused from summaries.
Meta-analysis is the oldest form of fusion. Part twenty-five's random-effects model treats each study's effect as a draw from a distribution, and estimates its mean and spread. Transportability adds a reason for the spread: studies enrol different people, so their effects differ by their covariate mix. Transporting each study to a common target population before combining, as Dahabreh and co-authors propose, separates genuine effect heterogeneity from differences in who was studied.
Meager's analysis pooled seven randomized microcredit evaluations with a Bayesian hierarchical model. It separates sampling noise from estimated between-site effect variation under that model. Limited estimated heterogeneity for some outcomes does not establish equality of effects or describe every new population. Posterior uncertainty and outcome-specific findings matter. Predicting effects in a new site additionally needs a model for how that site relates to the studied sites. Between-site spread alone is not a complete measure of generalizability.
Transport requires a clearly specified target and assumptions connecting it to the study. Without target-support coverage in the trial, reweighting cannot identify the missing response surface without extrapolation assumptions. Measured covariates must suffice for the required conditional effect invariance. An unmeasured modifier need not bias transport if its relevant distribution does not differ after conditioning; it is not necessary to measure every conceivable modifier. Sensitivity analyses can study violations within a specified model, rather than making transport assumption-free.
9SurrogatesPractice4 min
Surrogates and long-term effects: answering a ten-year question in one year. Some important outcomes take years to observe. Early measurements may act as surrogate outcomes, but their predictive association alone does not validate a treatment-effect substitution. Prentice's conditional-independence criterion is a statistical statement about treatment and outcome given the surrogate in a specified setting. It is not simply equivalent to a graph saying all directed causal paths pass through the surrogate; conditioning on a post-treatment variable can change associations. Surrogate validity needs assumptions appropriate to the target treatment, outcome and population, and its failure can cause substantial bias or sign reversal.
The Museum's most famous reversal is the CAST trial of 1989, from Part fifty-eight. Encainide and flecainide suppressed the irregular heartbeats that predicted death after a heart attack: the surrogate improved. But patients on the drugs died more often: 63 deaths against 26 on placebo, in Echt and co-authors' 1991 report, and the drug arms were stopped. Tyler VanderWeele named the general phenomenon the surrogate paradox in 2013: a treatment can help the surrogate, the surrogate can help the outcome, and the treatment can still harm the outcome, through another path or a different subgroup.
Principal-surrogate approaches define strata by the pair of potential surrogate outcomes. Causal necessity asks about a zero treatment effect, typically a stratum-average effect, among units whose surrogate would not change. Causal sufficiency or associative-effect criteria concern how outcome effects vary with changes in the surrogate; they are not an automatic individual-level implication that every changed surrogate forces a changed outcome. Joint surrogate potential outcomes are not jointly observed, so evaluation needs additional assumptions or information.
Susan Athey, Raj Chetty, Guido Imbens and Hyunseung Kang's surrogate index, from 2019, uses many surrogates and two data sets. An observational sample where both the surrogates and the long-term outcome are seen: fit the outcome as a function of the surrogates. An experiment where only the surrogates are seen: predict the long-term outcome from them, and compare arms. Two assumptions: surrogacy, a suitable conditional independence of the long-term outcome and randomized treatment given the surrogates; and comparability, that the surrogate-to-outcome relation is the same in both samples.
The two-sample simulation observes outcomes and surrogates in five thousand untreated training units and only surrogates in a two-thousand-unit randomized experiment. The gold bars mark the known long-term effects. Standard errors now include both trial variation and fitting the index in the independent training sample, using a linear-model delta approximation. In the valid case the simulated outcome regression is shared across samples and the index estimates the effect reasonably. The bypass case adds a direct treatment effect absent from the untreated training sample. Here both experimental surrogacy and cross-sample conditional-mean comparability fail. The narrow index interval misses the true effect; these observed datasets alone cannot validate the missing long-term response.
Where surrogate methods are used, and checked. Athey and co-authors estimated a job-training programme's long-run earnings effect from a few early quarters, and checked it against the realized long-run data. Technology companies estimate long-term engagement from short experiments. Drug regulators accept validated surrogates for accelerated approval, with confirmatory trials afterward. In each, the check against real long-term outcomes, where available, is what earns the assumption.
10Open problemsPhD3 min
Open problems at the frontiers of causal inference. The part in one table: each textbook assumption, what replaces it when it fails, and what that buys. The do-calculus and the front door where no blocking set exists. A sensitivity model where hidden confounding cannot be ruled out. Two proxies for an unmeasured confounder. An exposure mapping for interference. Q-learning and the g-formula for sequences of decisions. Discovery, up to equivalence, for an unknown graph. Selection diagrams for a new population. And a surrogate index for a long wait.
Problem one: confounders in text, images and records. A doctor's notes or a patient's scans may hold the confounding information, but no one knows which features matter. Adjusting for learned representations, as Victor Veitch and co-authors proposed for text in 2020, works when the representation keeps every confounding signal, which cannot be checked from data alone. Valid inference when the adjustment set is learned by a deep model, with honest uncertainty about what it missed, is open.
Problem two: interference at scale. A job-training programme that helps its participants may hurt non-participants competing for the same jobs; a price change ripples through a market. These general-equilibrium effects are interference with everyone, beyond simple local exposure mappings, and experiments at the level of whole markets are rare. Identifying equilibrium effects from partial experiments and observational networks, with guarantees, is open.
Problem three: long-term effects without surrogacy. Chapter nine's index needs every path through the surrogates, which the surrogate paradox shows can fail silently. Combining many past experiments, each with both short and long outcomes, to learn which surrogates can be trusted for which treatments, is a promising route, a kind of meta-learning of surrogacy. Methods with guarantees that degrade gracefully when surrogacy is only approximate are open.
Hidden variables and finite samples complicate discovery. FCI describes a broader equivalence class using partial ancestral graphs under its assumptions. Plain faithfulness does not by itself ensure uniformly consistent discovery as models approach near-cancellation. This does not imply that all honest confidence sets are impossible: some can be wide or uninformative, and stronger model classes admit more specific results. Useful, scalable uncertainty statements under plausible model restrictions remain an active area, alongside existing restricted-class methods.
Problem five: causal representation learning. Bernhard Schölkopf and co-authors asked in 2021 whether the causal variables themselves can be learned from raw data such as pixels. Identifiability results exist with interventions or multiple environments, Part sixty's invariance, but they need strong assumptions about how the data arose. When learned variables support valid causal conclusions, and how to test it, is open, and connects to Part sixty-four's questions about large models.
Five open problems. Inference with learned adjustment sets for unstructured confounders. General-equilibrium effects. Long-term effects when surrogacy is only approximate. Honest uncertainty for learned graphs. And when learned representations are causal.
Recap, problems, and the road aheadAll tracks2 min
Part sixty-two in twelve lines. An observational emulation of when to start HIV treatment, followed by a trial with a related but different target and endpoint. The front door identified an effect through a mediator, where the naive estimate was nearly three times too large. The do-calculus is complete. The National Supported Work data are sensitive to modest hidden confounding. Appropriate proxies and valid bridge assumptions can identify an effect that naive adjustment misses. Exposure mappings separate direct effects from spillovers. Learned rules suffer the winner's curse, addressed by truly independent evaluation with appropriate nuisance training. Q-learning optimizes regimes backward. Discovery is limited by equivalence and can be fooled by scale. Selection diagrams say when to transport. Surrogates save time and can mislead silently.
A promise for the next part. Every analysis here used individual-level data, freely. It assumed privacy costs nothing, and never asked whether the learned rules were fair. Part sixty-three prices privacy exactly, and asks what fairness can require.
Where it comes back. Part sixty-three's fair treatment rules and counterfactual fairness. Part sixty-four's causal questions about AI systems. And the dissertation's causal chapter.
Six problems, with full solutions in the README. The front-door formula from two back doors; the sensitivity model's weight box; proximal two-stage least squares; what the naive difference estimates under interference; the winner's curse of empirical welfare maximization; and why inverse-odds weights transport. Pause here if you want to try them.
The books behind this part: Pearl's Causality; Hernán and Robins's Causal Inference: What If; and Peters, Janzing and Schölkopf's Elements of Causal Inference; with the papers from the HIV-CAUSAL Collaboration to the surrogate index.
Sixty-two parts of sixty-five. The HIV studies illustrate complementary observational and randomized evidence. Explicit assumptions permit interpretation; agreement is not proof that every assumption was correct. Next, Part sixty-three: privacy and fairness.
Where it goes next. Fair decisions and causal fairness follow in Part 63, causal questions about deployed AI systems (interference, surrogate indices) in Part 64, and learned adjustment sets are one of the candidate questions of Part 65.
Key results
The part's results in one place, for revision.
Try it
Lab 62 · Proximal inference: two proxies in place of a hidden confounder
Simulate a treatment and an outcome that share an unmeasured cause U, seen only through a treatment proxy Z and an outcome proxy W. Compare regression that adjusts for the proxies with proximal two-stage least squares, and then break the exclusion restriction the proximal estimator relies on.
python -m videos.stats.labs 62
needs numpy, scipy, matplotlib · download lab62.py ·
source on GitHubunadjusted: mean estimate 2.605 (sd 0.157; truth 1.0)
adjusted for Z and W: mean estimate 1.412 (sd 0.137; truth 1.0)
proximal: mean estimate 0.995 (sd 0.199; truth 1.0)
proximal, Z affects Y: mean estimate 0.712 (sd 0.251; truth 1.0)
proximal 95% interval covers the truth 93.0%
Adjusting for noisy proxies removes only part of the confounding; treating one proxy as an instrument for the other removes all of it, until the instrument has its own path to the outcome.
The code (76 lines; it asserts its own result)
"""Lab 62: hide a confounder, keep two noisy proxies of it, and compare adjustment with proximal two-stage least squares."""
import numpy as np
from videos.coursekit import labs
from explainer.stats.kit import frontier
TITLE = "Proximal inference: two proxies in place of a hidden confounder"
GOAL = ("Simulate a treatment and an outcome that share an unmeasured cause U, seen only through a treatment proxy Z "
"and an outcome proxy W. Compare regression that adjusts for the proxies with proximal two-stage least "
"squares, and then break the exclusion restriction the proximal estimator relies on.")
TASKS = [
"Raise the proxies' noise sd from 0.7 to 2. What happens to the proximal estimate's spread, and to the bias of "
"ordinary adjustment?",
"Make W a proxy of something else (replace U by fresh noise in W). Which step of two-stage least squares fails, "
"and how does the standard error show it?",
"Replace the simulated truth 1 by 0 and count how often each 95% interval excludes zero.",
]
TRUTH, GAMMA, NOISE = 1.0, 1.5, 0.7
def draw(n, rng, direct=0.0):
"""One sample: U hidden; A and Y depend on it; Z and W are U plus noise; ``direct`` is Z's own effect on Y."""
u = rng.standard_normal(n)
a = (0.9 * u + rng.standard_normal(n) > 0).astype(float)
z = u + NOISE * rng.standard_normal(n)
w = u + NOISE * rng.standard_normal(n)
y = 0.5 + TRUTH * a + GAMMA * u + direct * z + rng.standard_normal(n)
return y, a, z, w
def run(seed=0):
rng = np.random.default_rng(seed)
n, reps = 400, 200
lab = labs.Lab()
est = {"unadjusted": [], "adjusted for Z and W": [], "proximal": [], "proximal, Z affects Y": []}
cover = 0
for _ in range(reps):
y, a, z, w = draw(n, rng)
est["unadjusted"].append(frontier.ols_adjusted(y, a, np.empty((n, 0)))["effect"])
est["adjusted for Z and W"].append(frontier.ols_adjusted(y, a, np.column_stack([z, w]))["effect"])
p = frontier.proximal_2sls(y, a, z, w)
est["proximal"].append(p["effect"])
cover += abs(p["effect"] - TRUTH) <= 1.96 * p["se"]
y, a, z, w = draw(n, rng, direct=0.4)
est["proximal, Z affects Y"].append(frontier.proximal_2sls(y, a, z, w)["effect"])
est = {k: np.array(v) for k, v in est.items()}
for k, v in est.items():
lab.row(f"{k}: mean estimate", f"{v.mean():.3f} (sd {v.std(ddof=1):.3f}; truth {TRUTH})")
cover /= reps
lab.row("proximal 95% interval covers the truth", f"{cover:.1%}")
lab.note = ("Adjusting for noisy proxies removes only part of the confounding; treating one proxy as an instrument "
"for the other removes all of it, until the instrument has its own path to the outcome.")
assert est["unadjusted"].mean() - TRUTH > 1.0, "the hidden cause biases the raw contrast"
assert est["adjusted for Z and W"].mean() - TRUTH > 0.2, "noisy proxies leave residual confounding"
assert abs(est["proximal"].mean() - TRUTH) < 0.06, "proximal 2SLS is centred on the truth"
assert 0.89 <= cover <= 0.99, "its sandwich interval covers about 95%"
assert est["proximal, Z affects Y"].mean() - TRUTH < -0.2, "an excluded path from Z to Y breaks it"
fig, ax = labs.figure(2, size=(11, 4.2))
bins = np.linspace(0.2, 3.2, 70)
for (k, v), color in zip(list(est.items())[:3], (labs.RED, labs.ORANGE, labs.GREEN)):
ax[0].hist(v, bins=bins, color=color, alpha=0.65, label=k)
ax[0].axvline(TRUTH, color=labs.INK, ls="--", lw=1.2, label="truth")
ax[0].set(title=f"{reps} samples of {n}: three estimates of the effect", xlabel="estimated effect of A on Y",
ylabel="samples")
ax[0].legend()
bins = np.linspace(-0.4, 1.8, 60)
ax[1].hist(est["proximal"], bins=bins, color=labs.GREEN, alpha=0.65, label="exclusion holds")
ax[1].hist(est["proximal, Z affects Y"], bins=bins, color=labs.PURPLE, alpha=0.65, label="Z also affects Y directly")
ax[1].axvline(TRUTH, color=labs.INK, ls="--", lw=1.2, label="truth")
ax[1].set(title="Proximal estimates with and without the exclusion", xlabel="estimated effect of A on Y")
ax[1].legend()
lab.fig = fig
return lab
Now change it
- Raise the proxies' noise sd from 0.7 to 2. What happens to the proximal estimate's spread, and to the bias of ordinary adjustment?
- Make W a proxy of something else (replace U by fresh noise in W). Which step of two-stage least squares fails, and how does the standard error show it?
- Replace the simulated truth 1 by 0 and count how often each 95% interval excludes zero.
Problems, with solutions
Try each problem before opening its solution.
-
Front door. Derive the front-door formula from the back-door formula applied twice, on \(A \to M\) and on \(M \to Y\).
Solution
Under the specified graph and positivity, identify P(m|do(a))=P(m|a); identify P(y|do(m)) by averaging P(y|m,a') over P(a'); combine through the mediator, which intercepts every directed treatment–outcome path. The formula does not follow from mediation alone without the back-door conditions.
-
Weight box. Show that under the marginal sensitivity model each IPW weight lies in \([1 + (1/e - 1)/\Lambda, 1 + (1/e - 1)\Lambda]\).
Solution
Inverse propensity is one plus the odds against the observed arm. Bounding the full-versus-measured propensity odds ratio in [1/Lambda,Lambda] yields [1+(1/e-1)/Lambda,1+(1/e-1)Lambda]. These necessary bounds alone omit conditional compatibility constraints; optimizing the box is a relaxation of the population model.
-
Linear proximal moments. In the linear proximal model, show the 2SLS of \(Y\) on \((A, W)\) with instruments \((A, Z)\) is consistent for \(b_A\).
Solution
If Y=b0+bA A+gamma U+epsilon and W=U+eta, then Y=b0+bA A+gamma W+(epsilon-gamma eta). Under valid proxy noise/exclusion assumptions the instruments (1,A,Z) are orthogonal to that error. A full-rank projected design then yields consistent 2SLS coefficients; the equation and rank condition need to hold, not merely marginal proxy correlation.
-
Bernoulli direct effect. Under the stated exposure model and Bernoulli assignment, show \(E[Y_i\mid Z_i=1]-E[Y_i\mid Z_i=0]=2\); distinguish this from finite-sample ratio bias.
Solution
Under the stated exposure model and independent assignments, a unit's neighbors' treatment is independent of its own treatment. Therefore E[Y_i|Z_i=1]-E[Y_i|Z_i=0]=2. Finite arm means have random denominators and possible ratio bias; this identity is not a claim of exact finite-sample Hajek unbiasedness. A spillover contrast requires common positive exposure support.
-
Winner's curse. Show that the in-sample value of the EWM rule is biased upward: \(E\max_\pi \hat V(\pi) \ge \max_\pi V(\pi)\).
Solution
For a fixed class with unbiased fixed-policy value estimates, Jensen's inequality gives E sup_pi Vhat(pi)>=sup_pi V(pi). Also E V(pihat)<=sup_pi V(pi), so expected selected in-sample optimism is nonnegative. Truly independent evaluation, conditional on independent nuisance training, removes this selection reuse; normal intervals still need distributional/regularity conditions.
-
Inverse odds. Show that inverse-odds weights \((1 - p)/p\) turn the trial's covariate law into the target's.
Solution
Let p(x) be membership in a trial rather than its nonparticipant target in a common population. The two covariate laws are proportional to p(x)f(x) and (1-p(x))f(x); their density ratio is proportional to (1-p)/p. Normalized weighting cancels the constant. Targeting the entire baseline population instead would use inverse selection probabilities, not the same inverse odds. Causal transport additionally needs treatment randomization/exchangeability, consistency, conditional effect invariance and overlap.
Notes and sources
Where it comes back
Part 63 considers fair decisions and privacy; Part 64 studies causal questions about AI systems; Part 65 revisits research design and causal claims.
Sources
- The hook. HIV-CAUSAL Collaboration (L. Cain et al.), Ann. Intern. Med. 154 (2011); INSIGHT START Study Group, NEJM 373 (2015).
- Identification.
- J. Pearl, Biometrika 82 (1995); J. Tian & J. Pearl, AAAI (2002);
- Y. Huang & M. Valtorta, AAAI (2006); I. Shpitser & J. Pearl, AAAI (2006);
- A. Balke & J. Pearl, JASA 92 (1997);
- I. Fulcher, I. Shpitser, S. Marealle & E. Tchetgen Tchetgen, JRSS B 82 (2020);
- J. Pearl & D. Mackenzie, The Book of Why (2018).
- Sensitivity.
- C. Manski (1990); Z. Tan, JASA 101 (2006); Q. Zhao, D. Small & B. Bhattacharya, JRSS B 81 (2019);
- J. Dorn & K. Guo, JASA 118 (2023); C. Cinelli & C. Hazlett, JRSS B 82 (2020);
- T. VanderWeele & P. Ding, Ann. Intern. Med. 167 (2017);
- R. LaLonde, AER 76 (1986); R. Dehejia & S. Wahba, JASA 94 (1999).
- Proximal.
- W. Miao, Z. Geng & E. Tchetgen Tchetgen, Biometrika 105 (2018);
- E. Tchetgen Tchetgen, A. Ying, Y. Cui, X. Shi & W. Miao, arXiv:2009.10982 (2020);
- Y. Cui, H. Pu, X. Shi, W. Miao & E. Tchetgen Tchetgen, JASA (2023);
- M. Lipsitch, E. Tchetgen Tchetgen & T. Cohen, Epidemiology 21 (2010).
- Interference.
- P. Aronow & C. Samii, Ann. Appl. Stat. 11 (2017); M. Leung, Econometrica 90 (2022);
- M. E. Halloran & C. Struchiner, Epidemiology (1991, 1995); M. Hudgens & M. E. Halloran, JASA 103 (2008);
- J. Ugander et al., KDD (2013); S. Baird et al., REStat 100 (2018); M. Ali et al., Lancet 366 (2005).
- Policy learning.
- T. Kitagawa & A. Tetenov, Econometrica 86 (2018); S. Athey & S. Wager, Econometrica 89 (2021);
- I. Andrews, T. Kitagawa & A. McCloskey, QJE 139 (2024); M. Dudík, J. Langford & L. Li, ICML (2011).
- Regimes.
- J. Robins, Math. Modelling 7 (1986) and (2004); S. Murphy, JRSS B 65 (2003) and Stat. Med. 24 (2005);
- M. Hernán & J. Robins, Am. J. Epidemiol. 183 (2016).
- Discovery.
- P. Spirtes & C. Glymour, Soc. Sci. Comput. Rev. 9 (1991); T. Verma & J. Pearl (1990);
- C. Uhler, G. Raskutti, P. Bühlmann & B. Yu, Ann. Stat. 41 (2013);
- S. Shimizu et al., JMLR 7 (2006); P. Hoyer et al., NeurIPS (2009); J. Peters & P. Bühlmann, Biometrika 101 (2014);
- A. Hauser & P. Bühlmann, JMLR 13 (2012); X. Zheng et al., NeurIPS (2018);
- A. Reisach, C. Seiler & S. Weichwald, NeurIPS (2021); J. Robins et al., Biometrika 90 (2003).
- Transport.
- J. Pearl & E. Bareinboim, AAAI (2011); E. Bareinboim & J. Pearl, PNAS 113 (2016);
- I. Dahabreh et al., Biometrics 75 (2019) and Stat. Med. (2020); D. Westreich et al., Am. J. Epidemiol. (2017);
- N. Kallus, A. Puli & U. Shalit, NeurIPS (2018); R. Meager, AEJ: Applied 11 (2019).
- Surrogates.
- R. Prentice, Stat. Med. 8 (1989); T. VanderWeele, Biometrics 69 (2013);
- C. Frangakis & D. Rubin, Biometrics 58 (2002);
- S. Athey, R. Chetty, G. Imbens & H. Kang, NBER Working Paper 26463 (2019);
- D. Echt et al., NEJM 324 (1991).
- Open problems. V. Veitch, D. Sridhar & D. Blei, UAI (2020); B. Schölkopf et al., Proc. IEEE 109 (2021).
About this partfrom its README
Part 62 of the 65-part course. It studies identification, sensitivity, proximal methods, interference, policies and regimes, discovery, transport and surrogates. Each replaces an assumption with other explicit assumptions.
The HIV-CAUSAL hook distinguishes 20,971 eligible adults from 8,392 analyzed after CD4 declined into the 200–499 range. Its four reported hazard ratios and intervals agree with Cain et al. (2011). Follow-up began below 500, and initiation strategies included a six-month grace period. Death-only intervals containing one do not demonstrate equivalent safety of waiting. START randomized 4,685 adults with CD4>500; its composite of serious AIDS, serious non-AIDS events or all-cause death had HR .43 (.30–.62). Its interim treatment recommendation in 2015 broadly supported earlier therapy, while its population, regimes and endpoints differed from the emulation. Agreement does not validate every observational assumption.
Companion material in this repository
The syllabus's plan for this partfrom SYLLABUS.md, the plan of record
- Hook: when to start (dynamic regimes; (verify) the cited analysis).
- Identification theory. The ID algorithm and its completeness.
- Partial identification and sensitivity. The marginal sensitivity model (Tan 2006; Zhao, Small & Bhattacharya 2019).
- Proximal causal inference (Miao, Geng & Tchetgen Tchetgen 2018; Tchetgen Tchetgen et al. 2020) (Board).
- Interference and networks (Aronow & Samii 2017; Leung 2022).
- Policy learning (Kitagawa & Tetenov 2018; Athey & Wager 2021) (Board).
- Dynamic treatment regimes (Murphy 2003; Robins 2004); SMART designs.
- Causal discovery theory. Faithfulness and its fragility; identifiability under restrictions; continuous optimization (Zheng et al. 2018) and its limits.
- Data fusion and transportability (Bareinboim & Pearl 2016).
- Surrogates and long-term effects (Athey et al. 2019).
- Open problems.
Built: statkit.causal (III).
Build the film
python -m videos.stats.stats62.compute # the part's numbers, into .cache/stats62
python tools/build.py stats62 # render and assemble the film
EXPLAINER_TTS=silent python tools/qa_scene.py stats62 Hook # one chapter, silent, with a contact sheet
Scenes: videos/stats/stats62. Setup: see the course page. Source of these notes: the README and the scenes' narration.
Build it
OMP_NUM_THREADS=1 OPENBLAS_NUM_THREADS=1 python -m videos.stats.stats62.compute --force
pytest -q tests/test_stats62_checked.py tests/test_stats_kit_frontier.py
python tools/build.py stats62 -q l
python tools/lecture_length.py stats62 --floor 50
All 10 inputs regenerated; 20 checks pass (14 audited local and six legacy). All narration/list bookmarks match their rows. Estimated English narration is 51.3 minutes. QA evidence. The recorded English sampled visual checkpoint is complete. Chinese narration/caption tables, continuous listening/playback and final narrated masters remain open; this checkpoint is not bilingual production approval.