PUBLIC HEALTH & EPIDEMIOLOGY
Diagnostic Test Accuracy
Study guide and six original practice problems with worked answers.
Set up the four counts
A true positive (TP) is a positive result with the condition. A false positive (FP) is a positive result
without it. A false negative (FN) is a negative result with the condition. A true negative (TN) is a
negative result without it.
Start with the correct denominator
Sensitivity = TP / (TP + FN). Specificity = TN / (TN + FP). These start with known condition status.
Positive predictive value (PPV) = TP / (TP + FP). Negative predictive value (NPV) = TN / (TN +
FN). These start with the result.
Understand prevalence
Holding sensitivity and specificity fixed, lower prevalence generally lowers PPV and raises NPV.
There are fewer true positives compared with false positives because fewer people have the
condition.
Worked example
In a fictional population of 1,000, 100 have the condition. If sensitivity is 90% and specificity is
95%, there are TP = 90, FN = 10, FP = 45 and TN = 855. PPV = = 66.7%. NPV = 855 /
865 = 98.8%.
Further reading
Altman & Bland · BMJ · Diagnostic tests 2: Predictive values
Prepared with AI assistance. Examples and questions are fictional and designed for study practice.
ESTUDYR EXAMS / STUDY WORKBOOK 1
Diagnostic Test Accuracy
Study guide and six original practice problems with worked answers.
Set up the four counts
A true positive (TP) is a positive result with the condition. A false positive (FP) is a positive result
without it. A false negative (FN) is a negative result with the condition. A true negative (TN) is a
negative result without it.
Start with the correct denominator
Sensitivity = TP / (TP + FN). Specificity = TN / (TN + FP). These start with known condition status.
Positive predictive value (PPV) = TP / (TP + FP). Negative predictive value (NPV) = TN / (TN +
FN). These start with the result.
Understand prevalence
Holding sensitivity and specificity fixed, lower prevalence generally lowers PPV and raises NPV.
There are fewer true positives compared with false positives because fewer people have the
condition.
Worked example
In a fictional population of 1,000, 100 have the condition. If sensitivity is 90% and specificity is
95%, there are TP = 90, FN = 10, FP = 45 and TN = 855. PPV = = 66.7%. NPV = 855 /
865 = 98.8%.
Further reading
Altman & Bland · BMJ · Diagnostic tests 2: Predictive values
Prepared with AI assistance. Examples and questions are fictional and designed for study practice.
ESTUDYR EXAMS / STUDY WORKBOOK 1