gain: Kvamme's gain statistic

Description Usage Arguments References See Also Examples

Description

Kvamme's gain statistic is given by

gain = 1 - ((1 - (TN / (TN + FP)) / (TP / (TP + FN))

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

Usage

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

Arguments

tp

True positives

tn

True negatives

fp

False positives

fn

False negatives

References

\insertRef

Kvamme1988zostmod

See Also

dp() lr()

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

Examples

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

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