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.
Package details |
|
---|---|
Maintainer | |
License | MIT + file LICENSE |
Version | 0.8.99 |
URL | https://github.com/osofr/stremr |
Package repository | View on GitHub |
Installation |
Install the latest version of this package by entering the following in R:
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.