Package: gFormulaMI 1.0.3
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.
Authors:
gFormulaMI_1.0.3.tar.gz
gFormulaMI_1.0.3.zip(r-4.7)gFormulaMI_1.0.3.zip(r-4.6)gFormulaMI_1.0.3.zip(r-4.5)
gFormulaMI_1.0.3.tgz(r-4.6-any)gFormulaMI_1.0.3.tgz(r-4.5-any)
gFormulaMI_1.0.3.tar.gz(r-4.7-any)gFormulaMI_1.0.3.tar.gz(r-4.6-any)
gFormulaMI_1.0.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
gFormulaMI/json (API)
| # Install 'gFormulaMI' in R: |
| install.packages('gFormulaMI', repos = c('https://jwb133.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/jwb133/gformulami/issues
Pkgdown/docs site:https://jwb133.github.io
- simDataFullyObs - Simulated fully observed data frame
Last updated from:5ba4087d93. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 163 | ||
| source / vignettes | OK | 200 | ||
| linux-release-x86_64 | OK | 172 | ||
| macos-release-arm64 | OK | 151 | ||
| macos-oldrel-arm64 | OK | 100 | ||
| windows-devel | OK | 101 | ||
| windows-release | OK | 107 | ||
| windows-oldrel | OK | 113 | ||
| wasm-release | OK | 156 |
Exports:gFormulaImputesyntheticPool
Dependencies:backportsbitbit64bootbroomclicliprcodetoolscpp11crayondplyrforcatsforeachgenericsglmnetgluehavenhmsiteratorsjomolatticelifecyclelme4magrittrMASSMatrixmiceminqamitmlnlmenloptrnnetnumDerivordinalpanpillarpkgconfigprettyunitsprogresspurrrR6rbibutilsRcppRcppEigenRdpackreadrreformulasrlangrpartshapestringistringrsurvivaltibbletidyrtidyselecttzdbucminfutf8vctrsvroomwithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| G-formula multiple imputation | gFormulaImpute |
| Simulated fully observed data frame | simDataFullyObs |
| Pool estimates and variances obtained by analysing multiple synthetic datasets | syntheticPool |
