gFormulaMI: G-Formula for Causal Inference via Multiple Imputation

Implements the G-Formula method for causal inference with time-varying treatments and confounders using Bayesian multiple imputation methods, as described by Bartlett, Olarte Parra and Daniel (2023) <doi:10.48550/arXiv.2301.12026>. 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.0
Depends: R (≥ 2.10)
Imports: mice
Suggests: knitr, rmarkdown, testthat (≥ 3.0.0)
Published: 2023-05-25
DOI: 10.32614/CRAN.package.gFormulaMI
Author: Jonathan Bartlett ORCID iD [aut, cre], Camila Olarte Parra ORCID iD [ctb], Erik van Zwet [ctb]
Maintainer: Jonathan Bartlett <jonathan.bartlett1 at>
License: GPL (≥ 3)
NeedsCompilation: no
Materials: README
CRAN checks: gFormulaMI results


Reference manual: gFormulaMI.pdf
Vignettes: gFormulaMI


Package source: gFormulaMI_1.0.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): gFormulaMI_1.0.0.tgz, r-oldrel (arm64): gFormulaMI_1.0.0.tgz, r-release (x86_64): gFormulaMI_1.0.0.tgz, r-oldrel (x86_64): gFormulaMI_1.0.0.tgz


Please use the canonical form to link to this page.