Total TP+FP+FN+TN | Condition positive Actual true TP+FN | Condition negative Actual false FP+TN | Prevalence (TP+FN)/(TP+FP+FN+TN) |
---|---|---|---|
Test outcome positive Predicted true TP+FP | TP | FP | PPV = TP/(TP+FP) |
Test outcome negative Predicted false FN+TN | FN | TN | NPV = TN/(FN+TN) |
(TP+FP)/(TP+FP+FN+TN) | True positive rate TPR = TP/(TP+FN) | True negative rate TNR = TN/(FP+TN) | (TP+TN)/(TP+FP+FN+TN) |