Causal Effects of Time‐Varying Treatments: The G‐Formula

The g formula is a cornerstone method for estimating causal effects of time-varying treatments using longitudinal observational data in the presence of time-varying confounders that are affected by prior treatment. Standard regression techniques often fail in this setting because adjustment for such covariates can distort the very effects under study. The g-formula addresses this problem by expressing the mean potential outcome under specified static or dynamic treatment regimes as a function of the joint distribution of covariates, treatments and outcomes, which can be approximated via parametric or semi-parametric models and simulation. This review presents the g-formula, emphasizing intuitive explanations. After outlining the causal framework and the core identification assumptions-consistency, sequential exchangeability and positivity-the article describes practical parametric g-formula: model specification for covariate and outcome processes, implementation via forward simulation, and the interpretation of marginal causal contrasts between clinically relevant regimes. The g-formula is then situated within the family of g-methods alongside inverse probability weighting and targeted maximum likelihood estimation, highlighting complementary strengths and limitations. A dedicated section discusses concrete applications, including analyses of highly active antiretroviral therapy and AIDS or death, dynamic 'when to start' antiretroviral strategies in HIV and electronic health record-based evaluations of blood pressure treatment targets. Practical guidance on modelling choices, diagnostics and transparent reporting is provided to support applied researchers considering g-formula in clinical and epidemiological investigations.

Authors

Institutions

Publication Details

Journal
European Journal of Clinical Investigation
Published
2026-06-30
DOI
https://doi.org/10.1111/eci.70239
Primary Topic
Advanced Causal Inference Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Causal Effects of Time‐Varying Treatments: The G‐Formula

Carmine Zoccali, Giovanni Tripepi
European Journal of Clinical Investigation
Advanced Causal Inference Techniques
article

Causal Effects of Time‐Varying Treatments: The G‐Formula

Carmine Zoccali, Giovanni Tripepi
article en

Abstract

The g formula is a cornerstone method for estimating causal effects of time-varying treatments using longitudinal observational data in the presence of time-varying confounders that are affected by prior treatment. Standard regression techniques often fail in this setting because adjustment for such covariates can distort the very effects under study. The g-formula addresses this problem by expressing the mean potential outcome under specified static or dynamic treatment regimes as a function of the joint distribution of covariates, treatments and outcomes, which can be approximated via parametric or semi-parametric models and simulation. This review presents the g-formula, emphasizing intuitive explanations. After outlining the causal framework and the core identification assumptions-consistency, sequential exchangeability and positivity-the article describes practical parametric g-formula: model specification for covariate and outcome processes, implementation via forward simulation, and the interpretation of marginal causal contrasts between clinically relevant regimes. The g-formula is then situated within the family of g-methods alongside inverse probability weighting and targeted maximum likelihood estimation, highlighting complementary strengths and limitations. A dedicated section discusses concrete applications, including analyses of highly active antiretroviral therapy and AIDS or death, dynamic 'when to start' antiretroviral strategies in HIV and electronic health record-based evaluations of blood pressure treatment targets. Practical guidance on modelling choices, diagnostics and transparent reporting is provided to support applied researchers considering g-formula in clinical and epidemiological investigations.

European Journal of Clinical InvestigationVol. 56(7)
Istituto di Fisiologia Clinica (IT), Biogem (IT), Renal Research Institute (US), Czech Academy of Sciences, Institute of Physiology (CZ)
Good health and well-being
Openalex Percentile: Top 6%
Advanced Causal Inference Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.