get_vf_roc: Function to calculate variance function (VF) of the area...

Description Usage Arguments Value Source Examples

View source: R/roc.R

Description

Function to calculate variance function (VF) of the area under the curve (AUC) for the receiver operator characteristic (ROC) curve sample size calculations

Usage

1
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

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

Source

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

Examples

1
  get_vf_roc(A = 2, p = 0.5)

validmeasures/sampsizer documentation built on Sept. 8, 2019, 11:19 p.m.