ss: Sokal and Sneath

Description Usage Arguments References See Also Examples

Description

The Sokal and Sneath coefficient is given by

SS = (2TP + 2TN) / (2TP + 2TN + FP + FN)

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

Usage

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

Arguments

tp

True positives

tn

True negatives

fp

False positives

fn

False negatives

References

\insertRef

SokalSneath1963zostmod

See Also

gl() sm() ss()

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

Examples

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

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