Simulated dataset containing 1,000 i.i.d. observations organized in long format as person-time rows.
The binary exposure is TI
and binary outcome is Y.tplus1
. See /tests/ for R code that generated this data.
1 |
A data frame with 1,000 observations and variables:
Unique subject identifier
Baseline confounder (time invariant)
Interger for current time period, range 0-16
Time since last monitoring event, set to 0 when N[t-1]=0 and then added one for each new period where N[t] is 0.
Time-varying confounder
Binary exposure variable
Administrative censoring indicator, always set to 0 unless the end of study is reached (t==16)
The indicator of being monitored (having a visit)
Binary outcome at t
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.