Description Usage Details Value References
Generate simulation data
1 | GenData()
|
Besides n11, n10, n01, n00, this function also returns some other simulation paramters, including C1, C2, C3, h2. See Ji et al. (2017) for more details.
n11 |
A G by Tn matrix with n11[i,j] being the count of treated subjests with an event within group i at time j. The number of strata is G=5 and the number of time intervals is Tn=20. |
n10 |
A G by Tn matrix with n10[i,j] being the count of treated subjests without an event within group i at time j. |
n01 |
A G by Tn matrix with n01[i,j] being the count of untreated subjests with an event within group i at time j. |
n00 |
A G by Tn matrix with n00[i,j] being the count of untreated subjests without an event within group i at time j. |
Ji X, Small DS, Leonard CE, Hennessy S (2017). The Trend-in-trend Research Design for Causal Inference. Epidemiology. 28(4), 529–536.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.