Randy Neil Biostats 17: USMLE Step 1 - Viewer Requested Biostats Questions #4
Episode Notes
USMLE purpose: Convert diagnostic test word problems into a 2×2 table and calculate PPV/NPV, sensitivity, or specificity.
How to use this page
- Draw the box immediately.
- Put the real disease status across the top and test result down the side.
- Fill totals first, then calculate missing cells.
- For “test positive and actually has disease,” think positive predictive value.
Episode metadata
| Field | Details |
| Episode | Randy Neil Biostats 17 |
| Topic | Viewer requested questions #4 |
| Runtime | 7 min |
| Published | 2021-03-10 |
| Source | Open YouTube video |
One-liner
If a patient tests positive and the question asks the probability they actually have disease, the metric is PPV = TP / (TP + FP).
2×2 Diagnostic Box
| Disease + | Disease - | |
| Test + | True positive | False positive |
| Test - | False negative | True negative |
Formula table
| Metric | Formula | Question wording |
| Sensitivity | TP / (TP + FN) | Among disease+, how many test positive? |
| Specificity | TN / (TN + FP) | Among disease-, how many test negative? |
| PPV | TP / (TP + FP) | Positive test → truly diseased? |
| NPV | TN / (TN + FN) | Negative test → truly disease-free? |
Worked example
If 100 patients have HSV2 and 90 test positive, then:
- TP = 90
- FN = 10
- If 400 do not have HSV2 and 20 test positive, then:
- FP = 20
- TN = 380
PPV = 90 / (90 + 20) = 90 / 110 ≈ 82%
Anki-style rapid recall
What does PPV ask?
If the test is positive, what is the probability the patient truly has disease?
What does NPV ask?
If the test is negative, what is the probability the patient truly does not have disease?
What is the denominator for PPV?
All positive tests: TP + FP.
Practice Questions
Question 1
A test is positive in 90 patients with disease and 20 patients without disease. What is the PPV?
- A) 90 / 100
- B) 90 / 110
- C) 380 / 400
- D) 380 / 390
Reveal answer & explanation
Answer: B) 90 / 110
PPV = true positives / all positive tests = TP / (TP + FP).
Quick Reference Summary
| If question says... | Think | Formula |
| Positive test, actually sick? | PPV | TP / TP+FP |
| Negative test, actually well? | NPV | TN / TN+FN |
| Disease present, test catches it? | Sensitivity | TP / TP+FN |
| Disease absent, test rules out? | Specificity | TN / TN+FP |
Viewer Requested Drills #4: Diagnostic Test 2x2 Mastery, Predictive Values & Likelihood Ratios
Core Mathematical Derivations & Board Discriminators
| Core Concept & Principle | Mathematical Formulation, Clinical Application & Exam Execution |
|---|---|
| Column vs. Row Denominator Discipline | Sensitivity (TP / [TP + FN]) and Specificity (TN / [TN + FP]) use GOLD STANDARD DISEASE COLUMNS as denominators—they ask 'Among patients whose true disease status is known, how often does the test get it right?' PPV (TP / [TP + FP]) and NPV (TN / [TN + FN]) use TEST RESULT ROWS as denominators—they ask 'Given a patient's test result in clinic, what is the probability of true disease?' |
| Positive & Negative Likelihood Ratios (LR+ and LR-) | LR+ = Sensitivity / (1 - Specificity) = True Positive Rate / False Positive Rate. An LR+ > 10 provides strong evidence to rule IN disease. LR- = (1 - Sensitivity) / Specificity = False Negative Rate / True Negative Rate. An LR- < 0.1 provides strong evidence to rule OUT disease. |
| Bayes' Theorem & Pre-Test to Post-Test Odds | Pre-test Odds = Pre-test Probability / (1 - Pre-test Probability). Post-test Odds = Pre-test Odds * Likelihood Ratio. Post-test Probability = Post-test Odds / (1 + Post-test Odds). |
| ROC Curve Area Under the Curve (AUC) | A Receiver Operating Characteristic (ROC) curve plots Sensitivity (y-axis) against 1 - Specificity (x-axis) across all cutoffs. A curve hugging the top-left corner has a higher AUC (closer to 1.0) and superior overall diagnostic discrimination; the 45-degree diagonal represents a useless coin flip (AUC = 0.5). |
Worked Step-by-Step Board Calculation Problem
A new rapid antigen assay for pulmonary tuberculosis is evaluated in 1,000 patients where 200 have culture-confirmed TB. The rapid assay is positive in 160 of the culture-positive patients and positive in 80 of the culture-negative patients. Calculate Sensitivity, Specificity, PPV, NPV, LR+, and LR-.
Reveal Step-by-Step Mathematical Derivation
- Step 1 (Populate the 2x2 Box): Disease+ (D+ = 200): TP = 160, so FN = 200 - 160 = 40. Disease- (D- = 800): FP = 80, so TN = 800 - 80 = 720. Total T+ = 160 + 80 = 240; Total T- = 40 + 720 = 760.
- Step 2 (Sensitivity, Specificity, PPV, NPV): Sensitivity = 160 / 200 = 80.0%. Specificity = 720 / 800 = 90.0%. PPV = 160 / 240 = 66.7%. NPV = 720 / 760 = 94.7%.
- Step 3 (Likelihood Ratios): LR+ = Sens / (1 - Spec) = 0.80 / (1 - 0.90) = 0.80 / 0.10 = 8.0. LR- = (1 - Sens) / Spec = (1 - 0.80) / 0.90 = 0.20 / 0.90 = 0.22.
Master Biostatistics & Epidemiology Reference Matrix
Use these comparative discriminator tables to verify formula denominators, study design capabilities, and statistical test selection across USMLE Step 1, Step 2CK, Step 3, and COMLEX Level 1–3.
| Parameter / Metric | 2×2 Box Formula | Conditioning Denominator | Effect of Increasing Prevalence | Effect of Raising Cutoff Threshold |
|---|---|---|---|---|
| Sensitivity (True Positive Rate) | TP / (TP + FN) = a / (a + c) | All Diseased Patients (D+ Column) | No change (intrinsic test property) | Decreases (more False Negatives) |
| Specificity (True Negative Rate) | TN / (TN + FP) = d / (b + d) | All Healthy Patients (D- Column) | No change (intrinsic test property) | Increases (fewer False Positives) |
| Positive Predictive Value (PPV) | TP / (TP + FP) = a / (a + b) | All Positive Test Results (T+ Row) | Increases directly with prevalence | Increases (fewer False Positives) |
| Negative Predictive Value (NPV) | TN / (TN + FN) = d / (c + d) | All Negative Test Results (T- Row) | Decreases inversely with prevalence | Decreases (more False Negatives) |
| Positive Likelihood Ratio (LR+) | Sensitivity / (1 − Specificity) | TPR / FPR (Strong rule-in if > 10) | No change (prevalence-independent) | Increases as Specificity rises |
| Negative Likelihood Ratio (LR−) | (1 − Sensitivity) / Specificity | FNR / TNR (Strong rule-out if < 0.1) | No change (prevalence-independent) | Increases (worsens) as Sensitivity drops |