ROC curves & changing test cutoffs
A receiver operating characteristic (ROC) curve plots sensitivity against 1 minus specificity for every possible cutoff of a test. The closer the curve is to the upper-left corner, the better the test; area under the curve summarizes overall accuracy.
Overview
Many tests give a continuous result (glucose, PSA, troponin, BNP). Choosing the cutoff that defines "positive" determines the balance between missed cases and false alarms. A receiver operating characteristic (ROC) curve shows this trade-off.
- Y-axis: sensitivity (true-positive rate).
- X-axis: 1 - specificity (false-positive rate).
- Each point on the curve is one possible cutoff.
Reading the curve
| Feature | Meaning |
|---|---|
| Diagonal line (from 0,0 to 1,1) | Test no better than chance; AUC 0.5 |
| Curve hugging upper-left corner | Excellent test; AUC near 1.0 |
| Point closest to upper-left corner | Cutoff that best balances sensitivity and specificity |
| Moving up and to the right along the curve | More lenient cutoff: higher sensitivity, lower specificity |
| Moving down and to the left | Stricter cutoff: lower sensitivity, higher specificity |
Area under the curve (AUC, c-statistic): probability that a randomly chosen diseased person has a more abnormal result than a randomly chosen healthy person. Roughly 0.9-1.0 excellent, 0.8-0.9 good, 0.7-0.8 fair, 0.5 useless.
Overlapping distributions
Picture two bell curves of test values: one for healthy people and one for diseased people, overlapping in the middle. The cutoff is a vertical line through the overlap.
- Move the cutoff toward the healthy curve (lower cutoff for a test that rises with disease): fewer false negatives (sensitivity up, NPV up), more false positives (specificity down, PPV down).
- Move the cutoff toward the diseased curve (higher cutoff): fewer false positives (specificity up, PPV up), more false negatives (sensitivity down, NPV down).
Only a better test (less overlap) improves both sensitivity and specificity at once.
Choosing a cutoff clinically
| Situation | Favor | Example |
|---|---|---|
| Missing disease is dangerous; treatment is safe; confirmatory test exists | High sensitivity (lower cutoff) | Screening blood donors for HIV; newborn screening for phenylketonuria |
| False positive leads to harmful, costly or stigmatizing treatment | High specificity (higher cutoff) | Confirming cancer before chemotherapy or surgery |
Worked example
A fasting glucose cutoff for diabetes is lowered from 126 to 100 mg/dL. Effects: more people with diabetes are caught (TP up, FN down); more healthy people are labeled (FP up, TN down). Sensitivity rises, specificity falls, NPV rises, PPV falls. Prevalence in the population does not change. On the ROC curve, the operating point moves up and to the right.
Comparing two tests
When two ROC curves are drawn on the same plot, the test whose curve lies higher and further left (larger AUC) is more accurate overall. If the curves cross, one test may be better at high-sensitivity cutoffs and the other at high-specificity cutoffs.
Exam vignette approach
A question shows two overlapping distributions of PSA values with lines labeled A to E and asks which cutoff gives the highest sensitivity: pick the line that captures nearly all of the diseased distribution, even though many healthy people fall above it. For the highest PPV, choose the strictest cutoff, where almost no healthy people exceed it. If the question asks which change would lower the number of false negatives, the answer is to lower the cutoff.
🔥 Exam pearls
- ROC axes: sensitivity (y) vs 1 - specificity (x).
- Larger AUC = better test; AUC 0.5 = coin flip.
- Lowering the positivity cutoff: sensitivity and NPV up; specificity and PPV down.
- Raising the cutoff: specificity and PPV up; sensitivity and NPV down.
- Point nearest the upper-left corner = best overall cutoff.
- Changing a cutoff never changes prevalence.
