aucfromdor: Estimate AUC from a Diagnostic Odds Ratio

Description Usage Arguments Value Examples

View source: R/ROCTable.R

Description

Estimate the Area Under a ROC curve (AUC) under the assumption of a proper model using the corresponding Diagnostic Odds Ratio (the parameter of the theoretical ROC curve with the same AUC). In a proper ROC curve DOR must be >= 1.0.

Usage

1

Arguments

dor

A Diagnostic Odds Ratio

Value

auc, the area under the theoretical proper ROC curve

Examples

1
2
3
4
5
6
7
8
aucfromdor(1.0)
# AUC = 0.5 corresponds to a non informative ROC curve

aucfromdor(8.0)
# A Diagnostic Odds Ratio >= 0.8 is needed to obtain an AUC of at least 0.8

aucfromdor(0.9)
# A Diagnostic Odds Ratio > 1.0 corresponds to a non-proper ROC curve

parodistefano/properROC documentation built on May 24, 2019, 6:16 p.m.