Template:DiagnosticTesting Example
Appearance
Patients with bowel cancer (as confirmed on endoscopy) | |||||
Condition positive | Condition negative | Prevalence = (TP+FN)/Total_Population
= (20+10)/2030 ≈1.48% |
Accuracy (ACC) = (TP+TN)/Total_Population
= (20+1820)/2030 ≈90.64% | ||
Fecal occult blood screen test outcome |
Test outcome positive |
True positive (TP) = 20 (2030 x 1.48% x 67%) |
False positive (FP) = 180 (2030 x (100 - 1.48%) x (100 - 91%)) |
Positive predictive value (PPV) = TP / (TP + FP)
= 20 / (20 + 180) = 10% |
False discovery rate (FDR) = FP/(TP+FP)
= 180/(20+180) = 90.0% |
Test outcome negative |
False negative (FN) = 10 (2030 x 1.48% x (100 - 67%)) |
True negative (TN) = 1820 (2030 x (100 -1.48%) x 91%) |
False omission rate (FOR) = FN / (FN + TN)
= 10 / (10 + 1820) ≈ 0.55% |
Negative predictive value (NPV) = TN / (FN + TN)
= 1820 / (10 + 1820) ≈ 99.5% | |
TPR, Recall, Sensitivity = TP / (TP + FN)
= 20 / (20 + 10) ≈ 67% |
Specificity = TN / (FP + TN)
= 1820 / (180 + 1820) = 91% | ||||
False negative rate (FNR), Miss rate = FN/(TP+FN)
= 10/(20+10) ≈ 33.3% |