msmdata | R Documentation |
This is a simulated dataset of 7500 units with covariates and treatment measured three times and the outcome measured at the end from a hypothetical observational study examining the effect of treatment delivered at each time point on an adverse event.
msmdata
A data frame with 7500 observations on the following 10 variables.
X1_0
a count covariate measured at baseline
X2_0
a binary covariate measured at baseline
A_1
a binary indicator of treatment status at the first time point
X1_1
a count covariate measured at the first time point (after the first treatment)
X2_1
a binary covariate measured at the first time point (after the first treatment)
A_2
a binary indicator of treatment status at the second time point
X1_2
a count covariate measured at the second time point (after the second treatment)
X2_2
a binary covariate measured at the first time point (after the first treatment)
A_3
a binary indicator of treatment status at the third time point
Y_B
a binary indicator of the outcome event (e.g., death)
data("msmdata")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.