gfoRmulaICE: Parametric Iterative Conditional Expectation G-Formula

Implements iterative conditional expectation (ICE) estimators of the plug-in g-formula (Wen, Young, Robins, and Hernán (2020) <doi: 10.1111/biom.13321>). Both singly robust and doubly robust ICE estimators based on parametric models are available. The package can be used to estimate survival curves under sustained treatment strategies (interventions) using longitudinal data with time-varying treatments, time-varying confounders, censoring, and competing events. The interventions can be static or dynamic, and deterministic or stochastic (including threshold interventions). Both prespecified and user-defined interventions are available.

Getting started

Package details

AuthorZhaoxi Cheng [aut, cre], Jing Li [aut], Sophia Rein [aut], Ryan O'Dea [aut], Sean McGrath [aut], Lan Wen [aut], Miguel A. Hernán [aut], 2024 The President and Fellows of Harvard College [cph]
MaintainerZhaoxi Cheng <zcheng@hsph.harvard.edu>
LicenseMIT + file LICENSE
Version0.1.0
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("gfoRmulaICE")

Try the gfoRmulaICE package in your browser

Any scripts or data that you put into this service are public.

gfoRmulaICE documentation built on April 3, 2025, 8:53 p.m.