Sensitivity and specificity calculations
Sensitivity = TP/(TP+FN)
Specificity = TN/(TN+FP)
Sensitivity = true pos/all diseased
Specificity = true neg/all without disease
Positive and negative predictive value calculations
PPV = TP/(TP+FP)
NPV = TN/(TN+FN)
PPV = true pos/total pos
NPV = true neg/total neg