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.854368932039
Specificity:0.631578947368
Positive Predictive Value (PPV):0.926315789474
Negative Predictive Value (NPV):0.444444444444
Likelihood Ratio Positive (LR+):2.31900138696    
Likelihood Ratio Negative (LR-):0.230582524272

Source code is available at biophp.org