Simulate outcomes for a single arm study
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
nPat |
number of patients |
muCov |
mean vector of covariates |
sdCov |
standard deviation vector of covariates |
corCov |
correlation of covariates |
regCoeff |
regression coefficients |
mix.phi |
weight in mixture model |
cov.breaks |
breaks to cut covaraites into categories. If numeric, the same cuts will be applied to all covariates. If list, each covariates will be categorized based on its own breaks. If NULL, keep continuous. |
type |
distributions of the random error |
ysig |
standard error of the random error |
b0 |
intercept in regession model |
bin.mu |
mean of the binary outcomes used to compute b0 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.