R/roc.R
get_vf_roc.Rd
Function to calculate variance function (VF) of the area under the curve (AUC) for the receiver operator characteristic (ROC) curve sample size calculations
get_vf_roc(A, p)
A | Binormal distribution parameter |
---|---|
p | Prevalence or proportion of cases in the relevant population. Used
to calculate ratio |
Obuchowski NA. Fundamentals of clinical research for radiologists: ROC Analysis. American Journal of Roentgenology. 2005;184.
A numeric value for variance function (VF
) of the area under
the curve (AUC) for the receiver operator characteristic (ROC) curve
sample size calculations
get_vf_roc(A = 2, p = 0.5)#> [1] 0.05359277