Skip to content
Causal Roadmap

Estimator field guide

Susan wants to compare five-year mortality under short and standard radiation schedules. How does each method use her records?

Outcome regressionS- and T-learners
S fits one outcome model with schedule as an input. T fits a separate model per schedule. Both predict two risks per baseline profile. Averaging each risk over the same patients and subtracting standard from short gives the g-computation estimate.
Effect regressionX- and R-learners
X pairs each observed outcome with the fitted risk under the other schedule to form a signed pseudo-outcome. It fits these contrasts by arm and blends the predictions. R removes predictable variation in treatment and outcome, then uses the residuals to estimate the effect at each baseline profile.
WeightingIPW
For the average treatment effect, inverse probability weighting (IPW) weights each observed outcome by the inverse probability of the schedule received. The propensity score is the probability of short given baseline characteristics.
Combined methodsTMLE and cross-fitted AIPW
Targeted maximum likelihood estimation (TMLE) updates predicted risks before averaging. For the same all-eligible treatment effect, one form of double machine learning (DML) uses cross-fitted augmented inverse probability weighting (AIPW). Each held-out contribution is a fitted risk difference plus a signed, weighted outcome prediction error. Follow the TMLE risk update or the DML folds.
Learner, estimator and estimate
Estimand
The quantity Susan wants to know. Here it is the difference in five-year mortality if all 5,000 eligible patients received short versus if all received standard.
Base learner
An algorithm that fits a pattern to data. For example, logistic regression can estimate mortality risk from frailty.
Meta-learner
A rule for putting those fits together. The T-learner fits one risk model per schedule. By subtracting the two risks at a given frailty, T is itself an estimator of that group’s risk difference.
Estimator
The rule for calculating a particular quantity from data. To estimate the clinic-wide difference, Susan predicts both risks for every eligible patient using T, subtracts standard from short, then averages.
Estimate
The number the rule gives for these records. With the T-learner, average mortality risk is 23.2% under short and 28.0% under standard, a difference of −4.80 percentage points.

Why do the estimates agree here? Frailty has just two levels and the fits can recover a separate risk in every schedule-by-frailty group. The fully interacted S, T and X estimates are +2 points at lower frailty and −15 at higher frailty. Averaging over the same patients gives −4.80 points. If S shares a frailty slope across schedules, the estimate changes to −4.38 points.

Andy’s original six-row sketch

These two drawings come from Andy Wilson’s g-computation lesson. The original uses a numerical outcome. Susan’s worksheet uses five-year mortality, coded 0 or 1.

Choose an original drawing
Slide 56. Each patient has one observed outcome. The question marks show what we would like to know.
Slide 60. The blue values estimate conditional means from treatment and baseline covariates. The individual’s outcome under the other treatment stays unknown.
Which patients? CATE, ATE and ATT

Each comparison uses short minus standard for five-year mortality. A negative difference means lower estimated mortality under short.

CATE
The conditional average treatment effect compares the two risks at the same baseline profile, such as higher frailty.
ATE
The average treatment effect gives each of the 5,000 eligible patients equal weight.
ATT
The average treatment effect among the treated uses the 2,100 lower- and 500 higher-frailty patients who received short. Weighting +2 and −15 points by that mix gives −1.27 points.
Super Learner, cross-fitting and partial regression

Super Learner uses cross-validation to combine predictions from several algorithms. It can supply the mortality risk fit within either arm of a T-learner.

Outcome risks and treatment probabilities are nuisance functions. Cross-fitting predicts for each held-out fold using models fitted on the other folds. An orthogonal score makes the estimating equation insensitive, to first order, to small errors in these functions.

The interactive regression model (IRM) allows a separate mortality curve for each schedule. For the ATE, average the held-out AIPW contributions. Subtracting a proposed effect from each contribution gives its estimating score. The scores average to zero at the estimate.

Partially linear regression (PLR) estimates a single slope from residual mortality and residual treatment. With varying effects, each patient in a frailty group receives more weight when both schedules are common in that group. Compare the slope with ordinary adjusted regression.

Fitting records and assumptions

The 5,000 synthetic records below supply the fits. The six worksheet patients are separate illustrations. An arm-specific fit uses only records from its own schedule.

Deaths by five years / patients receiving the schedule
Baseline frailtyStandardShort
Lower180 / 900462 / 2,100
Higher600 / 1,500125 / 500

For a causal interpretation, each schedule must be well defined and a patient’s observed outcome must agree with their outcome under the schedule received (consistency). We assume one patient’s schedule does not affect another patient’s outcome, frailty captures the common causes of treatment and mortality (conditional exchangeability), and either schedule is possible in each target group (positivity). The exercise assumes complete five-year follow-up.

Try a clinic missing one schedule

A second clinic offers only standard to its 2,000 higher-frailty patients. Here the question mark applies to an entire group.

What Susan can observe in the second clinic
FrailtyStandardShort
Lower20%180 of 90022%462 of 2,100
Higher2,000 treated?0 treated
Whose risk difference could Susan report?

The full-population effect is unidentified from this clinic’s data under the stated assumptions. No higher-frailty patient received short, so their short-schedule risk is unknown.

Both schedules were used in this group. Short risk is 22% and standard risk is 20%, giving +2 percentage points. The estimate applies to lower-frailty patients.

How does this fit the trial evidence?

Randomization makes treatment groups comparable in expectation at assignment. Susan starts with the fractionation trials and asks which patients, schedules and endpoints they cover. The CHHiP trial measured biochemical or clinical failure. Susan’s main roadmap asks about time alive through five years.

For older or frailer patients seen less often in trials, she checks whether comparable people in her records could receive either schedule. A group with only one realistic option needs further evidence. Read Susan’s trial decision.