osofr/estimtr: Streamlined Estimation for Static, Dynamic and Stochastic Treatment Regimes in Longitudinal Data

Analysis of longitudinal data with binary (time-to-event) or continuous outcomes. Estimates the mean counterfactual outcome or counterfactual survival under static, dynamic and stochastic interventions on treatment (exposure) and monitoring events over time. Adjusts for measured time-varying confounding and informative right-censoring. Possible estimators are: bounded IPW, hazard-based IPW (NPMSM), hazard-based IPW MSM, direct plug-in for longitudinal G-formula (GCOMP), long-format TMLE and infinite-dimensional TMLE (iTMLE). Use data-adaptive estimation with machine learning algorithms implemented in xgboost or h2o (Extreme Gradient Boosting, Random Forest, Deep Neural Nets). Perform model selection with V-fold cross-validation. The exposure, monitoring and censoring variables can be binary, categorical or continuous. Each can be multivariate (e.g., can use more than one column of dummy indicators for different censoring events). The input data needs to be in long format.

Getting started

Package details

LicenseMIT + file LICENSE
URL https://github.com/osofr/stremr
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
osofr/estimtr documentation built on April 20, 2018, 3:35 a.m.