Crandore Hub

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 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.

Versions across snapshots

VersionRepositoryFileSize
1.0.3 rolling linux/jammy R-4.5 gFormulaMI_1.0.3.tar.gz 367.6 KiB
1.0.3 rolling linux/noble R-4.5 gFormulaMI_1.0.3.tar.gz 367.6 KiB
1.0.3 rolling source/ R- gFormulaMI_1.0.3.tar.gz 352.6 KiB
1.0.3 latest linux/jammy R-4.5 gFormulaMI_1.0.3.tar.gz 367.6 KiB
1.0.3 latest linux/noble R-4.5 gFormulaMI_1.0.3.tar.gz 367.6 KiB
1.0.3 latest source/ R- gFormulaMI_1.0.3.tar.gz 352.6 KiB
1.0.3 2026-04-26 source/ R- gFormulaMI_1.0.3.tar.gz 352.6 KiB
1.0.3 2026-04-23 source/ R- gFormulaMI_1.0.3.tar.gz 352.6 KiB
1.0.0 2025-04-20 source/ R- gFormulaMI_1.0.0.tar.gz 351.1 KiB

Dependencies (latest)

Imports

Suggests