gFormulaMI: G-Formula for Causal Inference via Multiple Imputation

Jonathan William Bartlett · 2023

Implements the G-Formula method for causal inference with time-varying treatments and confounders using Bayesian multiple imputation methods, as described by Bartlett et al (2025) . It creates multiple synthetic imputed datasets under treatment regimes of interest using the 'mice' package. These can then be analysed using rules developed for analysing multiple synthetic datasets.

Read the paper · More papers on PaperTik