Description
Causal Analysis of Observational Time-to-Event Data.
Description
Implements target trial emulation methods to apply randomized clinical trial design and analysis in an observational setting. Using marginal structural models, it can estimate intention-to-treat and per-protocol effects in emulated trials using electronic health records. A description and application of the method can be found in Danaei et al (2013) <doi:10.1177/0962280211403603>.
README.md
TrialEmulation
This package implements algorithms to conduct a sequence of target trials analysis.
Installation
The package is available on CRAN:
install.packages('TrialEmulation')
To install the latest development version from github:
remotes::install_github("Causal-LDA/TrialEmulation")
Getting Started
Please see our Getting Started vignette for information on how to work with this package.
A manuscript is in preparation to fully describe the methodology.