True negative | ||
---|---|---|
True positive | ||
False negative | ||
False positive | ||
Specificity | \( \equiv \frac{T_n}{T_n+F_p} \) | |
Sensitivity | \( \equiv \frac{T_P}{T_p+F_n} \) | |
Prevalence | \( \equiv T_p+F_n \) | |
Positive predictive value | \( \equiv \frac{T_P}{T_p+F_p} \) | |
Negative predictive value | \( \equiv \frac{T_n}{T_n+F_n} \) | |
Positive likelihood ratio | \( \equiv\frac{S_n}{1- S_p} \) | |
Negative likelihood ratio | \( \equiv\frac{ 1 - S_n }{S_p} \) |
Photo credit to Icons8 Team
This grapher implements equations from Test that lie, the article on STD testing shortcomings.
Recall that a binary classification test is any test which returns a pos/neg or yes/no result. This is in contrast to a quantitative test which returns a numerical measurement. This is the difference between a test that says "You are pregnant" and a test that says "The concentration of human chorionic gonadotropin in your urine is 20 ng/mL." A binary classification provides one of two results each time it is run and therefore the test has four possible outcomes: true positive (TP), true negative (TN), false positive (FP), and false negative (FN).
All values must be greater than 0.00001 and less than 0.99999. When using the mirror-log scale, areas will not be proportional to probabilities; they will accentuate low probability spaces.