Diagnostic
Decision Logic
Apply sensitivity, specificity, predictive value, and cut score logic to real assessment cases.
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.
Sensitivity & Specificity
These describe how well a test performs among people whose true status is already known. They are properties of the test itself.
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.
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.
The Four Core Formulas
All four statistics come from the same four cells. Read columns for test properties and rows for predictive values.
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.
Choosing the Right Threshold
The "best" cut score depends on the cost of each error type. Match the threshold to the decision's consequences.
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 by | Columns (true status) | Rows (test result) |
| Affected by base rate? | No | Yes |
| Property of | The test | Test + population |
| Answers | "How accurate is the test?" | "What does my result mean?" |
How to Work a Case
Worked Example: Sensitivity
A depression screener is given to 100 people known to have major depression. It flags 85 as positive and misses 15.
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?
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 = 90 | FP = 100 |
| Test − | FN = 10 | TN = 800 |
Common Mistakes
Quick Reference Summary
| Statistic | Formula | Question 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: