Description Usage Arguments Value Examples
View source: R/generate_data_dl.R
Generate data for compliance using the Ding and Lu model.
1 | generate_data_dl(n = 500, theta)
|
n |
sample size |
theta |
paramater controlling the violation of principal ignorability |
data.frame including id, covariate x, randomization indicator z, complier indicator c, treatment receipt indicator s, and outcome y.
1 | generate_data_dl(n = 500, theta = 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.