dor: Diagnostic odds ratio

Description Usage Arguments See Also Examples

Description

The diagnostic odds ratio is given by

DOR_+ = (TP \cdot TN) / (FP \cdot FN)

where TP denotes true positives, TN denotes true negatives, FP denotes false positives, and FN denotes false negatives.

Usage

1
dor(tp, tn, fp, fn, ...)

Arguments

tp

True positives

tn

True negatives

fp

False positives

fn

False negatives

See Also

lr()

Other classification scores: auc, bcr, brier, dp, err, et, f1, fai, fm, gain, gl, gm, ignr, jacc, kappa, lr, mcc, op, rand, rt, rus, sm, ss, tss

Examples

1
dor(tp = 45, fp = 15, fn = 25, tn = 15)

EU-ECDC/HerpesZosterModel documentation built on July 7, 2019, 2:58 a.m.