dp: Discriminant power

Description Usage Arguments See Also Examples

Description

Discriminant power is given by

DP = √(3) / pi \cdot (log((TP (FP + TN)) / (FP (FN + TP))) + log((TN (FN + TP)) / (FN (FP + TN))))

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

Usage

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

Arguments

tp

True positives

tn

True negatives

fp

False positives

fn

False negatives

See Also

gain() lr()

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

Examples

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

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