A dataset containing simulated data for computation with attritR.
1 |
A data frame with 1000 rows and 4 variables:
Response variable generated from the equation Y = 1*Treatment + 1*Covariate + 0.25*Treatment*Covariate + U; where U is an unobserved error term. Missingness in Y is generated by the equation R = -1*Treatment + 1*Covariate + 1*Instrument + V; where V is an unobserved error term that is correlated with U. Specifically, U and V are drawn randomly from a multivariate standard normal distribution with a covariance of 0.8.
Treatment assignment drawn randomly from a binomial distribution with equal probability.
Covariate generated from random draws on a uniform distribution from -1 to 1.
Instrument generated from random draws on a uniform distribution from -1 to 2.
...
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.