The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

gfoRmula: Parametric G-Formula

Implements the parametric g-formula algorithm of Robins (1986) <doi:10.1016/0270-0255(86)90088-6>. The g-formula can be used to estimate the causal effects of hypothetical time-varying treatment interventions on the mean or risk of an outcome from longitudinal data with time-varying confounding. This package allows: 1) binary or continuous/multi-level time-varying treatments; 2) different types of outcomes (survival or continuous/binary end of follow-up); 3) data with competing events or truncation by death and loss to follow-up and other types of censoring events; 4) different options for handling competing events in the case of survival outcomes; 5) a random measurement/visit process; 6) joint interventions on multiple treatments; and 7) general incorporation of a priori knowledge of the data structure.

Version: 1.0.4
Depends: R (≥ 3.5.0)
Imports: data.table, ggplot2, ggpubr, grDevices, nnet, parallel, progress, stats, stringr, survival, truncnorm, truncreg, utils
Suggests: Hmisc
Published: 2024-01-30
Author: Victoria Lin [aut] (V. Lin and S. McGrath made equal contributions), Sean McGrath ORCID iD [aut, cre] (V. Lin and S. McGrath made equal contributions), Zilu Zhang [aut], Roger W. Logan [aut], Lucia C. Petito [aut], Jing Li [aut], Jessica G. Young ORCID iD [aut] (M.A. Hernán and J.G. Young made equal contributions), Miguel A. Hernán [aut] (M.A. Hernán and J.G. Young made equal contributions), 2019 The President and Fellows of Harvard College [cph]
Maintainer: Sean McGrath <sean_mcgrath at g.harvard.edu>
BugReports: https://github.com/CausalInference/gfoRmula/issues
License: GPL-3
URL: https://github.com/CausalInference/gfoRmula, https://doi.org/10.1016/j.patter.2020.100008
NeedsCompilation: no
Materials: README NEWS
In views: CausalInference
CRAN checks: gfoRmula results

Documentation:

Reference manual: gfoRmula.pdf

Downloads:

Package source: gfoRmula_1.0.4.tar.gz
Windows binaries: r-devel: gfoRmula_1.0.4.zip, r-release: gfoRmula_1.0.4.zip, r-oldrel: gfoRmula_1.0.4.zip
macOS binaries: r-release (arm64): gfoRmula_1.0.4.tgz, r-oldrel (arm64): gfoRmula_1.0.4.tgz, r-release (x86_64): gfoRmula_1.0.4.tgz, r-oldrel (x86_64): gfoRmula_1.0.4.tgz
Old sources: gfoRmula archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=gfoRmula to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.