Sensitivity and Specificity
of diagnostic tests


Disease
Positive Negative
Test Positive True Positive (TP)
False Positive (FP)
TP + FP
95
Negative False Negative (FN)
True Negative (TN)
FN + TN
27
TP + FN
103
FP + TN
19
122
Sensitivity:0.85436893203883
Specificity:0.63157894736842
Positive Predictive Value (PPV):0.92631578947368
Negative Predictive Value (NPV):0.44444444444444
Likelihood Ratio Positive (LR+):2.3190013869626    
Likelihood Ratio Negative (LR-):0.23058252427184

Source code is available at biophp.org