Description Usage Arguments Value Source Examples
Function to calculate total sample size for an ROC analysis for a single test
1 | get_n_roc(z = 1.96, precision = 0.05, vf, p)
|
z |
The z-score/z-value for a 95% confidence interval. Typical vaues
for |
precision |
The numeric value of the desired precision. Default is set at ±5% (0.05). |
vf |
Variance function of the area under the curve (AUC) for the received operator characteristic (ROC) surve sample size calculations |
p |
Prevalence or proportion of cases in the relevant population. Used
to calculate ratio |
A numeric value for the total sample size for an ROC analysis for a single test
Obuchowski NA. Fundamentals of clinical research for radiologists: ROC Analysis. American Journal of Roentgenology. 2005;184.
1 | get_n_roc(z = 1.96, precision = 0.05, vf = 0.00991024, p = 0.2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.