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)

Arguments

A

Binormal distribution parameter

p

Prevalence or proportion of cases in the relevant population. Used to calculate ratio k of cases to non-cases in the relevant population

Source

Obuchowski NA. Fundamentals of clinical research for radiologists: ROC Analysis. American Journal of Roentgenology. 2005;184.

Value

A numeric value for variance function (VF) of the area under the curve (AUC) for the receiver operator characteristic (ROC) curve sample size calculations

Examples

get_vf_roc(A = 2, p = 0.5)
#> [1] 0.05359277