Make the inference visible before trusting it
TMLE can target a causal estimand with flexible nuisance learning, but double robustness is not immunity to poor support, overfitting or an unidentified question.
Targeted maximum likelihood estimation begins with estimates of outcome and treatment mechanisms, then updates the outcome fit in a direction chosen for the target parameter. Super Learner can combine candidate algorithms by cross-validated risk. The method is powerful because prediction is targeted toward inference, not because machine learning replaces causal design.
Frame the claimROUTE 02 · CHAPTERS 4–6
Work the evidenceROUTE 03 · CHAPTERS 7–9
Test transferROUTE 04 · CHAPTERS 10–12
Audit and continue
Open the chapter contents · Visit the Experimental Design root
Chapter contents
01 · Frame the claim
02 · Work the evidence
03 · Test transfer
1. Define the target parameter before choosing algorithms
State the population, treatment versions, outcome horizon and contrast, such as an average treatment effect or risk difference. Write the causal identification assumptions and the corresponding observed-data parameter. TMLE targets a parameter; it cannot repair an ambiguous intervention or silently decide whether the question is intention-to-treat, per-protocol, conditional or transported.
For a point-treatment average effect, the main nuisance functions are often the outcome regression—the expected outcome given treatment and covariates—and the treatment mechanism or propensity score. Their exact form changes with the parameter and data structure. They are called nuisance functions only relative to the target; they still carry much of the causal adjustment and must be diagnosed.
Contents · Previous chapter · Experimental Design root · Next chapter
3. Use Super Learner as cross-validated ensemble prediction
Super Learner evaluates a prespecified library of candidate algorithms with cross-validation and finds a loss-based combination. Include simple, regularised and flexible learners appropriate to sample size and variable type. The library is a scientific choice, not a ritual list. Cross-validation reduces reliance on in-sample fit, but a library that omits plausible structure cannot learn it.
| Library role | Candidate | Reason |
|---|---|---|
| Simple baseline | Main-effects regression | Stable reference |
| Regularised | Lasso or ridge | High-dimensional control |
| Flexible | Trees or splines | Nonlinearity and interactions |
Contents · Previous chapter · Experimental Design root · Next chapter
TMLE starts with an outcome estimate and updates it using a submodel informed by the treatment mechanism and the efficient influence curve. For bounded outcomes, the updated predictions can remain within their natural range. The update aims to solve the estimating equation for the target parameter; it is not a general refit of every feature of the outcome distribution.
Contents · Previous chapter · Experimental Design root · Next chapter
In common settings, the estimator can remain consistent if either the outcome regression or treatment mechanism is consistently estimated, together with regularity and identification conditions. That asymptotic property is not a guarantee for a small sample, two severely misspecified models or practical positivity failure. Inference also depends on convergence rates, empirical-process conditions or cross-fitting strategies.
| Claim | What it does mean | What it does not mean |
|---|---|---|
| Double robustness | One nuisance may be consistent | Either model may be arbitrary |
| Targeting | Solves parameter equation | Fits every data feature |
| Efficiency | Asymptotic bound in model | Small-sample certainty |
Contents · Previous chapter · Experimental Design root · Next chapter
6. Worked example: a treatment effect with nonlinear confounding
An observational study estimates the effect of a tutoring programme on examination success. Enrolment depends nonlinearly on prior score and travel time; success also depends on their interaction. A simple outcome model misses the interaction, while a flexible Super Learner library captures it. TMLE updates predicted success using estimated enrolment probabilities and returns a population risk difference. When extreme probabilities are inspected, a small rural subgroup has almost no untreated observations. The estimate is reported for supported students and the rural extrapolation is shown separately rather than hidden under “double robust.”
Contents · Previous chapter · Experimental Design root · Next chapter
Plot treatment probabilities overall and for substantively important histories. Extreme inverse probabilities make the targeting step and influence curve unstable. Inspect the size of the fluctuation and influential observations. Truncation may stabilise variance but changes bias and should be analysed transparently. Redefining the population or intervention can be more honest than relying on unsupported counterfactuals.
| Diagnostic | Warning | Response |
|---|---|---|
| Propensity near 0 or 1 | Weak support | Restrict or redefine |
| Large fluctuation | Initial fit or support issue | Inspect learners and histories |
| Influence outlier | Unstable estimate | Sensitivity and design check |
Contents · Previous chapter · Experimental Design root · Next chapter
8. Changed-context transfer check: a randomised trial
Move from observational tutoring data to a randomised treatment. The treatment mechanism may be known by design, which strengthens one nuisance component. Covariate-adjusted TMLE can improve precision while preserving the randomised estimand when implemented correctly. The changed context does not permit post-randomisation adjustment or rescue missing outcomes automatically; those require their own identification and nuisance models.
Contents · Previous chapter · Experimental Design root · Next chapter
TMLE is not one universal algorithm, and “using Super Learner” does not certify valid inference. Double robustness does not mean two chances to ignore diagnostics. Unmeasured confounding, interference, informative missingness, measurement error and ill-defined treatment remain. Highly adaptive learners may need cross-fitting or CV-TMLE for valid asymptotics, and bootstrap choices must respect the sampling design.
Contents · Previous chapter · Experimental Design root · Next chapter
10. Audit the roadmap, learners and influence curve
Publish the causal model, estimand, identification formula, covariate timing, learner library, cross-validation folds, tuning, outcome bounds, propensity diagnostics, targeting update, influence-curve variance and any truncation. Compare prespecified alternative libraries, simple estimators and negative or falsification checks. Reproduce the estimate from code and record seeds and software versions.
| Audit layer | Retain | Failure signal |
|---|---|---|
| Causal roadmap | Estimand and assumptions | Method named first |
| Learning | Library, folds and tuning | Opaque AutoML |
| Targeting | Update and influence curve | Final number only |
Contents · Previous chapter · Experimental Design root · Next chapter
Why not use the best prediction model alone? Prediction loss is not the same as bias for a causal parameter. Does Super Learner always win? It performs relative to its library and data. What is double robustness? Consistency under one of two correctly estimated nuisance components in suitable settings. Can TMLE fix unmeasured confounding? No. Why target? To update nuisance estimates toward the parameter and its efficient influence curve.
Contents · Previous chapter · Experimental Design root · Next chapter
12. The gold standard targets a defined question, not a fashionable method
A credible TMLE analysis begins with design and identification, uses diverse cross-validated learners, performs a transparent targeting step and lets positivity diagnostics limit the claim. The gold standard states double robustness narrowly and audits finite-sample behaviour. Machine learning helps estimate nuisance structure; it does not remove the obligation to show where the causal comparison comes from.
Contents · Previous chapter · Experimental Design root · Return to Experimental Design
Continue through verified routes
Core route
- Experimental Design: subject root and specialist index
- The Gold Standard of Education: learning transfers into life
- The Gold Standard: eduKate Singapore
- How X Works: systems and first-principles hub
Specialist route
- Parametric g-formula, dynamic interventions and Monte Carlo standardisation
- Marginal structural models, time-varying confounding and treatment–confounder feedback
- Cloning–censoring–weighting, dynamic adherence strategies and per-protocol effects
- Treatment switching, inverse-probability weighting and hypothetical estimands
- Sequential multiple-assignment trials, embedded regimes and dynamic treatment rules
