Skip to contents

AUC comparison (two tests) calculation

Usage

calculate_auc_comparison(
  auc1,
  auc2,
  r,
  prevalence,
  alpha,
  power,
  ratio = NULL,
  var_method = "binormal"
)

Arguments

auc1

Test 1 AUC value

auc2

Test 2 AUC value

r

Correlation between tests

prevalence

Disease prevalence (used only to derive the non-diseased:diseased sampling ratio R; omitted or 1 falls back to 1:1)

alpha

Type I error

power

Statistical power

ratio

Controls per case; alternative to prevalence.

var_method

AUC variance model (binormal by default).

Value

List with calculation results