Calculate the sample size from AUC, prevalence and confidence interval width
or the expected confidence interval width from AUC, prevalence and sample
size, following Hanley and McNeil (1982).
Object of class "presize", a list of arguments (including the
computed one) augmented with method and note elements.
Arguments
auc
AUC value.
prev
prevalence.
n
number of observations.
conf.width
precision (the full width of the confidence interval).
conf.level
confidence level.
...
other arguments to optimize.
Details
Sample size is derived by optimizing the difference between the difference
between the lower and upper limits of the confidence interval and
conf.width.
References
Hanley, JA and McNeil, BJ (1982) The Meaning and Use of the Area under a Receiver Operating Characteristic (ROC) Curve. Radiology 148, 29-36