Generate design matrix for regression of Y on X with dependence among covariates.
1 |
S |
numeric, effect size index. See https://arxiv.org/abs/1902.07232. |
m1 |
integer, number of target covariates. |
m0 |
integer, number of nuisance covariates. |
rhosq |
numeric in [0,1] controlling dependence between target and nuisance covariates. |
hetero |
logical, should Y be simulated with heteroskedasticity? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.