Learn R Programming

⚠️There's a newer version (1.0.2) of this package.Take me there.

gFormulaMI

gFormulaMI is an R package that implements the G-formula method for causal inference with time-varying treatments and confounders using multiple imputation methods. For more information, including examples, see the 'Get Started' page.

Installation

You can install the development version of gFormulaMI from GitHub with:

# install.packages("devtools")
devtools::install_github("jwb133/gFormulaMI")

Copy Link

Version

Install

install.packages('gFormulaMI')

Monthly Downloads

189

Version

1.0.1

License

GPL (>= 3)

Maintainer

Jonathan Bartlett

Last Published

May 13th, 2025

Functions in gFormulaMI (1.0.1)

syntheticPool

Pool estimates and variances obtained by analysing multiple synthetic datasets
simDataFullyObs

Simulated fully observed data frame
gFormulaImpute

G-formula multiple imputation