A string specifying the accuracy type. Options are "sens", "TPR", "spec", "TNR", "FPR", "FNR", "LRpos", "LRneg", "RD", "LLRpos", "LLRneg", "LDOR", and "DOR".
"sens" and "TPR"
: The true positive rate, known as sensitivity, \(sens = \frac{TP}{TP+FN}\).
"spec" and "TNR"
: The true negative rate, known as specificity, \(spec = \frac{TN}{TN+FP}\).
"FPR"
: The false positive rate, \(FPR = \frac{FP}{FP+TN}\).
"FNR"
: The false negative rate, \(FNR = \frac{FN}{FN+TP}\).
"LRpos"
: The positive likelihood ratio, \(LRpos = \frac{sens}{1-spec}\).
"LRneg"
: The negative likelihood ratio, \(LRneg = \frac{1-sens}{spec}\).
"RD"
: The risk difference, \(RD = sens-(1-spec)\).
"DOR"
: The diagnostic odds ratio, \(DOR = \frac{LRpos}{LRneg}\).
"LLRpos"
: The log positive likelihood ratio, \(LLRpos = log(\frac{sens}{1-spec})\).
"LLRneg"
: The log negative likelihood ratio, \(LLRneg = log(\frac{1-sens}{spec})\).
"LDOR"
: The log diagnostic odds ratio, \(LDOR = log(\frac{LRpos}{LRneg})\).