Description Usage Arguments Value Examples
This function returns the o_ratio a surrogate guided sampling design for a binary outcome compared to a random sample
1 | CalcORatio(zsens, zspec, R = 0.5, pz)
|
zsens |
numeric; sensitivity of the surrogate Z for the outcome |
zspec |
numeric; specificity of the surrogate Z for the outcome |
R |
numeric; ratio of surrogate positives in sample i.e. P(Z=1|S=1) |
pz |
numeric; prevalence of surrogate in cohort i.e. P(Z=1) |
the Oratio of the sample
1 | CalcORatio(0.2,0.8,0.5,0.12)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.