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) <doi:10.1177/09622802251316971>. 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.
| Version: | 1.0.2 | 
| Depends: | R (≥ 2.10) | 
| Imports: | mice | 
| Suggests: | knitr, rmarkdown, testthat (≥ 3.0.0) | 
| Published: | 2025-07-03 | 
| DOI: | 10.32614/CRAN.package.gFormulaMI | 
| Author: | Jonathan Bartlett | 
| Maintainer: | Jonathan Bartlett <jonathan.bartlett1 at lshtm.ac.uk> | 
| License: | GPL (≥ 3) | 
| URL: | https://jwb133.github.io/gFormulaMI/ | 
| NeedsCompilation: | no | 
| Materials: | README, NEWS | 
| CRAN checks: | gFormulaMI results | 
| Reference manual: | gFormulaMI.html , gFormulaMI.pdf | 
| Vignettes: | gFormulaMI - G-formula for Causal Inference via Multiple Imputation (source, R code) | 
| Package source: | gFormulaMI_1.0.2.tar.gz | 
| Windows binaries: | r-devel: gFormulaMI_1.0.2.zip, r-release: gFormulaMI_1.0.2.zip, r-oldrel: gFormulaMI_1.0.2.zip | 
| macOS binaries: | r-release (arm64): gFormulaMI_1.0.2.tgz, r-oldrel (arm64): gFormulaMI_1.0.2.tgz, r-release (x86_64): gFormulaMI_1.0.2.tgz, r-oldrel (x86_64): gFormulaMI_1.0.2.tgz | 
| Old sources: | gFormulaMI archive | 
Please use the canonical form https://CRAN.R-project.org/package=gFormulaMI to link to this page.