From: An administrative data validation study of the accuracy of algorithms for identifying rheumatoid arthritis: the influence of the reference standard on algorithm performance
Reference standard
Pre − test prevalence = TP + FN TP + FP + FN + TN
RA cases
Non-cases
Administrative data
Positive
True Positive (TP)
False Positive (FP)
PPV = TP TP + FP
Negative
False Negative (FN)
True Negative (TN)
NPV = TN FN + TN
Sensitivity = TP TP + FN
Specificity = TN FP + TN
Post − test Prevalence = TP + FP TP + FP + FN + TN