Description Usage Arguments Value Author(s)
Generates affected and non-affected subjects until the set sample size is achieved.
1 2 3 4 5 |
n |
Number of observations to generate per iteration |
ncases |
Number of cases to simulate |
ncontrols |
Number of controls to simulate |
max.sample.size |
Maximum number of observations allowed |
pheno.prev |
Prevalence of the binary outcome |
freq |
Minor allele frequency |
g.model |
Genetic model; 0 for binary and 1 for additive |
g.OR |
Odds ratios of the genetic determinant |
e.model |
Model of the environmental exposure |
e.prev |
Prevelance of the environmental determinates |
e.mean |
Mean under quantitative-normal model |
e.sd |
Standard deviation under quantitative-normal model |
e.low.lim |
Lower limit under quantitative-uniform model |
e.up.lim |
Upper limit under quantitative-uniform model |
e.OR |
Odds ratios of the environmental determinants |
i.OR |
Odds ration of the interaction |
b.OR |
Baseline odds ratio for subject on 95 percent population centile versus 5 percentile. This parameter reflects the heterogeneity in disease risk arising from determinates that have not been measured or have not been included in the model. |
ph.error |
misclassification rates: 1-sensitivity and 1-specificity |
A matrix
Gaye A.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.