sim.OR | R Documentation |
Simulate a dataset with known constant OR
sim.OR( n = 1500, p = 2, prop_active = 1, formula_estimand = ~1, formula_A = ~., formula_Y0W = ~., beta = NULL, beta_A = NULL, beta_Y = NULL )
n |
Sample size |
p |
Dimension of W |
prop_active |
Proportion of active (nonzero coef) variables |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.