herdiantrisufriyana/gmethods: An implementation of g-methods

This package facilitates causal inference by implementing g-methods: g-formula, inverse probability weighting (IPW), and g-estimation. These methods are comprehensively described in Causal Inference: What If book by Hernán and Robins using 1 of 4 NHEFS datasets described in this book (https://www.hsph.harvard.edu/miguel-hernan/causal-inference-book/). This package only provides nhefs table, a cleaned version of NHEFS data, for example data. The remaining datasets from that book could be retrieved from cidata R package (https://github.com/malcolmbarrett/cidata) for more information.

Getting started

Package details

Maintainer
LicenseGPL-3
Version0.1.0
URL https://github.com/herdiantrisufriyana/gmethods
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("herdiantrisufriyana/gmethods")
herdiantrisufriyana/gmethods documentation built on Feb. 20, 2021, 3:25 a.m.