Guidelines and Best Practices for the Use of Targeted Maximum Likelihood and Machine Learning When Estimating Causal Effects of Exposures on Time‐To‐Event Outcomes
Targeted maximum likelihood estimation (TMLE) is an increasingly popular framework for the estimation of causal effects. It requires modeling both the exposure and outcome but is doubly robust in the sense that it is valid if at least one of these models is correctly specified. In addition, TMLE allows for flexible modeling of both the exposure and outcome with machine learning methods. This provides better control for measured confounders since the model specification automatically adapts to the data, instead of needing to be specified by the analyst a priori. Despite these methodological advantages, TMLE remains less popular than alternatives in part because of its less accessible theory and implementation. While some tutorials have been proposed, none address the case of a time-to-event outcome. This tutorial provides a detailed step-by-step explanation of the implementation of TMLE for estimating the effect of a point binary or multilevel exposure on a time-to-event outcome, modeled as counterfactual survival curves and causal hazard ratios. The tutorial also provides guidelines on how best to use TMLE in practice, including aspects related to study design, choice of covariates, controlling biases and use of machine learning. R-code is provided to illustrate each step using simulated data ( https://github.com/detal9/SurvTMLE). To facilitate implementation, a general R function implementing TMLE with options to use machine learning is also provided. The method is illustrated in a real-data analysis concerning the effectiveness of statins for the prevention of a first cardiovascular disease among older adults in Québec, Canada, between 2013 and 2018.
Authors
- Andrew J. Spieker (ORCID: https://orcid.org/0000-0002-0548-8311)
- Danijela Gnjidic (ORCID: https://orcid.org/0000-0002-9404-3401)
- Marc Simard (ORCID: https://orcid.org/0000-0002-9442-4562)
- Alexandre Pariente (ORCID: https://orcid.org/0000-0002-7873-5483)
- Caroline Sirois (ORCID: https://orcid.org/0000-0003-3294-7883)
- Mireille E. Schnitzer (ORCID: https://orcid.org/0000-0001-8049-9646)
- Denis Talbot (ORCID: https://orcid.org/0000-0003-0431-3314)
- Miguel Ángel Luque-Fernández (ORCID: https://orcid.org/0000-0001-6683-5164)
- Kenji Fujita (ORCID: https://orcid.org/0000-0001-7876-6004)
- Miceline Mésidor (ORCID: https://orcid.org/0000-0001-5788-4984)
- Pernelle Noïze (ORCID: https://orcid.org/0000-0001-5617-7954)
- Awa Diop (ORCID: https://orcid.org/0000-0002-8646-5305)
- Michael Schomaker (ORCID: https://orcid.org/0000-0002-8475-0591)
- Yohann Chiu (ORCID: https://orcid.org/0000-0001-7872-9457)
Institutions
- The University of Sydney (AU)
- Université de Bordeaux (FR)
- Universidad de Granada (ES)
- London School of Hygiene & Tropical Medicine (GB)
- Institut National de Santé Publique du Québec (CA)
- Northern Sydney Local Health District (AU)
- Université Laval (CA)
- Université de Montréal (CA)
- Ludwig-Maximilians-Universität München (DE)
- Vanderbilt University Medical Center (US)
Publication Details
- Journal
- Statistics in Medicine
- Published
- 2025-03-13
- DOI
- https://doi.org/10.1002/sim.70034
- Citations
- 1
- Primary Topic
- Advanced Causal Inference Techniques
- Type
- article
- Field-Weighted Citation Impact
- 2.63
Funders
- International Society for Pharmacoepidemiology
- Canada Research Chairs
- Canadian Institutes of Health Research
- Fonds de Recherche du Québec - Santé