Simulated dataset containing 500,000 i.i.d. observations organized in long format as person-time rows.
The binary time-varying exposure is A
and binary time-invariant outcome is Y
. See /tests/
for R code that generated this data as well as R code that uses stremr to analyze this data.
1 |
A data frame with 500,000 observations and variables:
Unique subject identifier
Interger for current time period, range 0-1
Binary time-varying confounder
Binary time-varying confounder
Binary time-varying confounder
Binary time-varying exposure
Indicator of the binary outcome at the end of the study (t=1). Constant set to 0 at first time point (t=0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.