01 / 20

Diagnostic
Decision Logic

Apply sensitivity, specificity, predictive value, and cut score logic to real assessment cases.

EPPP: Part 1, Knowledge

The 2×2 Decision Table

Every diagnostic test sorts people into four boxes by comparing the test result against the true condition. These four cells are the foundation of all diagnostic statistics.

TRUE CONDITION Present Absent TEST RESULT Positive Negative True Positive (TP) False Positive (FP) False Negative (FN) True Negative (TN)

Sensitivity & Specificity

These describe how well a test performs among people whose true status is already known. They are properties of the test itself.

Sensitivity
Of those who have the condition, the proportion the test correctly flags positive. $$\text{Sn} = \frac{TP}{TP + FN}$$
Specificity
Of those without the condition, the proportion the test correctly clears as negative. $$\text{Sp} = \frac{TN}{TN + FP}$$

Predictive Values

Predictive values answer the clinician's real question: "Given this test result, what's the chance the condition is truly there?" They read the table by rows, not columns.

PPV
Positive Predictive Value: of all positive results, how many are true. $$\text{PPV} = \frac{TP}{TP + FP}$$
NPV
Negative Predictive Value: of all negative results, how many are true. $$\text{NPV} = \frac{TN}{TN + FN}$$

Why Base Rate Matters

Hold a test's sensitivity and specificity fixed, then change how common the condition is. PPV shifts dramatically. Rare conditions produce many false positives relative to true ones.

Same test (Sn = 90%, Sp = 90%), different prevalence PPV ≈ 8% ≈ 50% ≈ 90% 1% prevalence 10% prevalence 50% prevalence

The Four Core Formulas

All four statistics come from the same four cells. Read columns for test properties and rows for predictive values.

1
Sensitivity (column, true present): \( \text{Sn} = \dfrac{TP}{TP + FN} \)
2
Specificity (column, true absent): \( \text{Sp} = \dfrac{TN}{TN + FP} \)
3
PPV (row, positive tests): \( \text{PPV} = \dfrac{TP}{TP + FP} \)
4
NPV (row, negative tests): \( \text{NPV} = \dfrac{TN}{TN + FN} \)

The Cut Score Tradeoff

A cut score is the threshold that separates "positive" from "negative." Moving it trades sensitivity against specificity: you cannot maximize both at once.

Test Score → Cut Score No condition Condition

Choosing the Right Threshold

The "best" cut score depends on the cost of each error type. Match the threshold to the decision's consequences.

Favor Sensitivity
When missing a true case is dangerous: suicide screening, contagious disease. Tolerate more false positives. Lower the cut score.
Favor Specificity
When a false positive is costly: invasive follow-up, high-stakes labeling. Tolerate more false negatives. Raise the cut score.

Test Property vs. Population Result

The single most-tested distinction: which statistics are fixed properties of the test, and which depend on who you test.

Sn / Sp PPV / NPV
Reads table byColumns (true status)Rows (test result)
Affected by base rate?NoYes
Property ofThe testTest + population
Answers"How accurate is the test?""What does my result mean?"

How to Work a Case

1
Build the 2×2 table. Place counts into TP, FP, FN, TN using the true condition (columns) and test result (rows).
2
Identify what's asked. "Of those with the disease..." = sensitivity. "Given a positive test..." = PPV.
3
Pick the right denominator. Column totals for Sn/Sp, row totals for PPV/NPV.
4
Compute and interpret. Express as a proportion, then translate back into the clinical decision.

Worked Example: Sensitivity

A depression screener is given to 100 people known to have major depression. It flags 85 as positive and misses 15.

TP = 85 correctly flagged FN = 15 missed

Worked Example: PPV

In a screening clinic, 200 people test positive. Of those, 150 truly have the condition and 50 do not. What does a positive result mean?

TP = 150 true positives FP = 50 false positives

Worked Example: Full Table

A test is given to 1,000 people. The full 2×2 table is shown. Compute all four statistics.

Condition +Condition −
Test +TP = 90FP = 100
Test −FN = 10TN = 800

Common Mistakes

✕ Confusing Sn with PPV
Sensitivity uses the column (true positives total); PPV uses the row (positive tests total). Different denominators.
✕ Ignoring base rate
Assuming a high-sensitivity test gives a high PPV. Rare conditions crush PPV no matter how good the test.
✕ Wrong denominator
Dividing TP by the grand total instead of the correct row or column. Always isolate the relevant group first.
✕ Expecting both to rise
Believing a cut score can maximize sensitivity and specificity together. Moving it trades one for the other.

Quick Reference Summary

StatisticFormulaQuestion Answered
Sensitivity\( \frac{TP}{TP+FN} \)Catches true cases?
Specificity\( \frac{TN}{TN+FP} \)Clears true negatives?
PPV\( \frac{TP}{TP+FP} \)Positive result trustworthy?
NPV\( \frac{TN}{TN+FN} \)Negative result trustworthy?

Question 1 of 5

A test correctly identifies 90 of 100 people who truly have a disorder. This 90% value is the test's:

Question 2 of 5

Which statistic changes when the same test is used in a population with a different prevalence?

Question 3 of 5

Of 250 positive results, 200 are true positives and 50 are false positives. What is the PPV?

Question 4 of 5

A clinic screens for a dangerous condition where missing a true case is far worse than a false alarm. The cut score should be set to:

Question 5 of 5

A highly sensitive and specific test yields a surprisingly low PPV in a screening program. The most likely reason is: