Validity of a Screening Test: Sensitivity, Specificity and Predictive Values
On this page
01
Overview
DCM 2204 • Screening Test Validity
The validity of a screening test is its ability to correctly distinguish people who have the target condition from those who do not. Validity is assessed by comparing the screening result with a trusted reference or gold standard. These measures decide which tests a programme can trust, how results must be confirmed, and why the same test performs brilliantly in a high-risk clinic yet disappoints when applied to a whole healthy population.
02
Learning objectives
- Construct and interpret a 2 × 2 diagnostic table.
- Calculate sensitivity, specificity, positive predictive value and negative predictive value.
- Explain how disease prevalence affects predictive values.
- Distinguish validity from reliability and accuracy.
- Interpret cut-off points, ROC curves and likelihood ratios.
03
The 2 × 2 table
Every validity measure is built from four counts obtained by comparing the screening test against the gold standard:
Scroll the table sideways on a smaller screen.
| Screening result | Disease present | Disease absent | Total |
|---|---|---|---|
| Positive | True positive (TP) | False positive (FP) | TP + FP |
| Negative | False negative (FN) | True negative (TN) | FN + TN |
| Total | TP + FN | FP + TN | N |
- True positive: the test is positive and the condition is truly present.
- False positive: the test is positive but the condition is absent.
- False negative: the test is negative despite the condition being present.
- True negative: the test is negative and the condition is absent.
04
Sensitivity
Sensitivity is the probability that a person with the disease tests positive — how well the test finds disease.
Sensitivity = TP ÷ (TP + FN) × 100%
A highly sensitive test produces few false negatives. It is preferred for initial screening when missing a case would be dangerous and a confirmatory test exists. SnNout: when a highly Sensitive test is Negative, it helps rule OUT disease.
05
Specificity
Specificity is the probability that a person without the disease tests negative — how well the test recognises non-disease.
Specificity = TN ÷ (TN + FP) × 100%
A highly specific test produces few false positives. It is valuable for confirmation when a false positive would cause harm, anxiety or unnecessary treatment. SpPin: when a highly Specific test is Positive, it helps rule IN disease.
06
Predictive values
Positive predictive value (PPV) is the probability that a person truly has the disease given a positive screening result:
PPV = TP ÷ (TP + FP) × 100%
Negative predictive value (NPV) is the probability that a person truly does not have the disease given a negative screening result:
NPV = TN ÷ (TN + FN) × 100%
07
Worked example
A screening test is applied to 1,000 people. The reference standard shows that 100 have the disease. The screening test is positive in 90 of those 100 people and in 180 of the 900 disease-free people.
Scroll the table sideways on a smaller screen.
| Result | Disease + | Disease − | Total |
|---|---|---|---|
| Test + | 90 TP | 180 FP | 270 |
| Test − | 10 FN | 720 TN | 730 |
| Total | 100 | 900 | 1,000 |
- Sensitivity: 90 ÷ (90 + 10) = 90%.
- Specificity: 720 ÷ (720 + 180) = 80%.
- PPV: 90 ÷ (90 + 180) = 33.3%.
- NPV: 720 ÷ (720 + 10) = 98.6%.
- Prevalence: 100 ÷ 1,000 = 10%.
- Accuracy: (90 + 720) ÷ 1,000 = 81%.
Interpretation: the test detects 90% of diseased people and correctly labels 80% of non-diseased people. However, only about one-third of positive results are true positives in this population — so every positive must be confirmed before treatment or diagnosis is declared.
08
Effect of prevalence
Scroll the table sideways on a smaller screen.
| When prevalence... | PPV | NPV | Practical meaning |
|---|---|---|---|
| Increases | Usually increases | Usually decreases | A positive result is more likely to represent true disease |
| Decreases | Usually decreases | Usually increases | False positives form a larger share of all positive results |
This is why a test may have identical sensitivity and specificity yet very different predictive values when used in a high-risk clinic and in a low-prevalence general population — the arithmetic above is worked through in the clinical scenario.
09
Other measures
- Accuracy: (TP + TN) ÷ N — the proportion of all results that are correct. Misleading when disease is rare, because calling everyone negative scores highly.
- False-positive rate: FP ÷ (FP + TN) = 1 − specificity.
- False-negative rate: FN ÷ (TP + FN) = 1 − sensitivity.
- Yield: the number of previously unrecognised cases a screening programme actually detects.
10
Likelihood ratios
- Positive likelihood ratio (LR+) = sensitivity ÷ (1 − specificity). Larger values (≥10) give strong evidence for disease.
- Negative likelihood ratio (LR−) = (1 − sensitivity) ÷ specificity. Smaller values (≤0.1) give strong evidence against disease.
Likelihood ratios combine sensitivity and specificity in a form that can be applied to an individual patient’s pre-test probability to estimate the post-test probability — unlike predictive values, they do not change with prevalence.
11
Reliability versus validity
Scroll the table sideways on a smaller screen.
| Concept | Meaning | Question |
|---|---|---|
| Validity (accuracy of measurement) | Closeness to the true disease status | Is the result correct? |
| Reliability (precision) | Consistency when repeated under similar conditions | Is the result reproducible? |
A test may be reliable but invalid if it repeatedly gives the same wrong value. Reliability is improved by standard procedures, calibrated equipment, training and observer agreement.
12
Cut-off points and ROC curves
Many tests use a numerical cut-off. Lowering the threshold raises sensitivity but lowers specificity; raising it raises specificity but lowers sensitivity — the two are always traded against each other. A receiver operating characteristic (ROC) curve plots sensitivity against the false-positive rate across all possible cut-offs; the area under the curve summarises discrimination, with values closer to 1 indicating better separation of disease from non-disease.
13
Choosing a test
- Prefer high sensitivity when missing disease has serious consequences and an acceptable confirmatory test exists (e.g., antenatal HIV screening).
- Prefer high specificity when false positives lead to harmful, invasive or expensive action (e.g., before major treatment decisions).
- Consider prevalence, feasibility, cost, acceptability, reliability and the entire follow-up pathway — a test is only as good as what the programme does with its results.
- Do not interpret a result without the clinical context and pre-test probability.
14
Common examination errors
- Using TP + FP as the denominator for sensitivity (that is PPV’s denominator).
- Assuming a negative result always excludes disease.
- Claiming PPV is a fixed property independent of prevalence.
- Confusing reliability with validity.
- Calculating percentages before correctly labelling the 2 × 2 table.
15
Clinical scenario
Scenario — The same HIV rapid test, two very different clinics
A rapid HIV test with 99% sensitivity and 98% specificity is used in two settings. Clinic A is an antenatal ward where HIV prevalence is 20%; Clinic B screens 10,000 blood donors among whom prevalence is 1%. In each clinic, screen 1,000 people and build the table.
Clinic A (prevalence 20%): 200 have HIV. TP = 198 (99% of 200); FN = 2. Of the 800 without HIV, TN = 784 (98% of 800); FP = 16. PPV = 198 ÷ (198 + 16) = 92.5%; NPV = 784 ÷ (784 + 2) = 99.7%. Here a positive rapid test is very likely a true positive — though national algorithms still require confirmatory testing before a final diagnosis.
Clinic B (prevalence 1%): 10 have HIV. TP = 9.9 ≈ 10; FN ≈ 0.1. Of the 990 without HIV, TN = 970.2; FP = 19.8 ≈ 20. PPV = 10 ÷ (10 + 20) = 33%; NPV ≈ 99.99%. Same test, same sensitivity and specificity — yet in the low-prevalence population two out of every three positive results are false positives.
Lesson for practice: never launch a screening test into a low-prevalence population without a confirmation pathway; a positive screening result is a starting point for confirmation, not a diagnosis. This is exactly why HIV testing follows a serial algorithm (screening assay → confirmatory assay), and why “test and treat” programmes retest before committing a person to lifelong therapy.
16
Key points
17
References
- CDC Field Epidemiology Manual resources (Library reference.)
- WHO guidance on screening and diagnostic testing principles (Library reference.)
- NCBI Bookshelf: Diagnostic testing and predictive values (Library reference.)
18
Further reading
For deeper study, compare this lesson with current guidance and standard references from recognised medical and public-health organisations.
For education only. Apply current Uganda Clinical Guidelines, local protocols and specialist advice in clinical practice.