This will generate and randomize a science table to get observed outcomes and treatment assignment
make.randomized.compliance.dat(
n,
p = 0.6,
science.table.generator = make.linear.data,
include.POs = TRUE,
...
)
Data frame with data randomized to tx and control, and compliers, etc.
Sample size
Proportion treated
Method to generate potential outcomes
Preserve potential outcomes in returned value
To be passed to science.table.generator
make.randomized.dat