Interactive 3D Medical Guide · Free 3D Physiology Atlas Inside

USMLE Biostatistics & Epidemiology Formulas Guide (2026)

Master USMLE Step 1 & Step 2 CK biostatistics: 2×2 tables, sensitivity, specificity, PPV/NPV, RR/OR/NNT, bias types, power, p-values & statistical tests.

By the DecodeMed Medical Editorial Team11 min read

Built for medical students, USMLE candidates, residents, doctors & healthcare professionals

RV · ERV · VT · IRVWest ZonesRecoil
FREE 3D ATLAS
DecodeMed Free 3D Respiratory Physiology Atlas

VT

500 mL

CL

200

FEV1/FVC

80%

PaO2

95 / 8

Normal · Emphysema · Fibrosis · Pulmonary Embolism · Asthma · Neonatal RDS

Biostatistics and epidemiology account for a high-yield, calculation-driven slice of both USMLE Step 1 and Step 2 CK — and unlike obscure pathology trivia, every point can be earned systematically from a handful of formulas. Use this complete reference alongside DecodeMed’s free USMLE Biostatistics Calculator and USMLE Study Planner to turn 2×2 tables, risk metrics, bias traps, and test selection into guaranteed exam points.

DecodeMed free 3D Respiratory Physiology Atlas: living 3D human lungs beside the alveolar blood-gas barrier cellular zoom, alveolar gas equation and live O2 cascade
The free 3D Respiratory Physiology Atlas: living 3D lungs, alveolar-capillary barrier zoom and live gas-exchange curves synchronized across clinical cases. Image sources and licences.

The 2×2 contingency table: sensitivity, specificity, PPV, NPV & likelihood ratios

Every diagnostic test question on the USMLE starts with the standard 2×2 contingency table where disease status (gold standard) is placed in the columns (Disease + on the left, Disease − on the right) and test result is placed in the rows (Test + on top, Test − on the bottom): TP (a), FP (b), FN (c), and TN (d). Keeping this orientation identical on scratch paper prevents 90% of careless inversion errors.

MetricFormulaClinical Meaning & Board Rule
Sensitivity (Sn)TP / (TP + FN)Probability test is positive given disease is present. SNOUT: high Sensitivity rules OUT disease when negative (used for screening).
Specificity (Sp)TN / (TN + FP)Probability test is negative given no disease. SPIN: high Specificity rules IN disease when positive (used for confirmation).
PPVTP / (TP + FP)Probability patient has disease given a positive test. Directly proportional to prevalence.
NPVTN / (TN + FN)Probability patient is disease-free given a negative test. Inversely proportional to prevalence.
LR+ (Positive Likelihood Ratio)Sensitivity / (1 − Specificity)How much a positive test increases odds of disease (Post-test odds = Pre-test odds × LR+). Values > 10 strongly rule in disease.
LR− (Negative Likelihood Ratio)(1 − Sensitivity) / SpecificityHow much a negative test decreases odds of disease. Values < 0.1 strongly rule out disease.
  • Prevalence effect (classic NBME trap): Sensitivity, specificity, and likelihood ratios are intrinsic properties of the test and do not change with disease prevalence. Increasing prevalence raises PPV and lowers NPV; lowering prevalence (e.g., screening the general population vs a specialty clinic) drops PPV sharply and raises NPV.
  • Cutoff shift & ROC curves: Lowering the diagnostic cutoff (shifting left on overlapping healthy/diseased distributions) increases Sensitivity and NPV (fewer FN) while decreasing Specificity and PPV (more FP). Raising the cutoff (shifting right) increases Specificity and PPV while decreasing Sensitivity and NPV.
  • ROC curve: Plots Sensitivity (y-axis) vs 1 − Specificity (x-axis). A test closer to the upper-left corner has a larger Area Under the Curve (AUC), meaning better overall discrimination; the diagonal line (AUC = 0.5) represents a coin flip.
DecodeMed 3D Cardiovascular Physiology Atlas: opened beating 3D heart with valves connected to live left and right chamber Wiggers pressure curves and aortic hemodynamics
The 3D Cardiovascular Physiology Atlas: beating 3D heart chambers synced to live Wiggers pressures, PV loops and systemic/pulmonary circulation. Image sources and licences.

Risk metrics (RR, OR, AR, ARR, RRR, NNT, NNH) with worked numeric examples

When evaluating an exposure or clinical trial, orient your 2×2 table with Exposure / Treatment in the rows (Exposed on top, Unexposed on bottom) and Outcome / Disease in the columns (Disease + on left, Disease − on right). Let a = 20 (exposed, sick), b = 80 (exposed, well; total exposed = 100), c = 40 (unexposed, sick), and d = 60 (unexposed, well; total unexposed = 100) for a protective drug trial.

MeasureFormulaWorked Example (a=20, b=80, c=40, d=60)When to Use
Risk in Exposed (CER/EER)a / (a + b)20 / 100 = 0.20 (20%)Cohort studies & RCTs
Risk in Unexposed (Control)c / (c + d)40 / 100 = 0.40 (40%)Cohort studies & RCTs
Relative Risk (RR)[a/(a+b)] / [c/(c+d)]0.20 / 0.40 = 0.50 (50% lower risk)Cohort studies & RCTs (never case-control)
Odds Ratio (OR)(a × d) / (b × c)(20 × 60) / (80 × 40) = 1200 / 3200 = 0.375Case-control studies; approximates RR when disease is rare (<10%)
Absolute Risk Reduction (ARR)Control Risk − Treatment Risk0.40 − 0.20 = 0.20 (20%)Clinical trials (use AR = EER − CER for harmful exposures)
Relative Risk Reduction (RRR)1 − RR (or ARR / Control Risk)1 − 0.50 = 0.50 (50%)Often quoted in drug ads; always check ARR & NNT
NNT (Number Needed to Treat)1 / ARR (always round up to whole patient)1 / 0.20 = 5 patientsPatients to treat to prevent 1 adverse event
NNH (Number Needed to Harm)1 / AR (Attributable Risk)If AR = 0.05 (5%), NNH = 1 / 0.05 = 20Patients exposed to cause 1 harm event

You can verify any risk calculation in seconds using our USMLE Biostatistics Calculator, and connect drug trial endpoints directly to physiologic mechanisms in the 3D Physiology Atlas.

Incidence vs prevalence & the study design hierarchy

Incidence measures the rate of new cases in a population at risk over a defined time period (New cases / Population at risk × Time). Prevalence measures all existing cases (new + old) at a given point in time (Total existing cases / Total population). In a steady state, Prevalence ≈ Incidence × Average Disease Duration.

  • What increases prevalence without changing incidence? Improved survival or longer disease duration (e.g., insulin for type 1 diabetes, antiretroviral therapy for HIV) and immigration of sick individuals.
  • What decreases prevalence? Faster cure, higher mortality (shorter duration), or effective primary prevention (vaccines lower incidence first, then prevalence).
  • Study design hierarchy (strongest to weakest causal inference): Meta-analysis / Systematic review > Randomized Controlled Trial (RCT) (gold standard for causality; randomization controls known and unknown confounders) > Cohort study (prospective or retrospective; starts with exposure → measures RR & incidence) > Case-control study (starts with disease → looks backward at exposure → measures OR, ideal for rare diseases) > Cross-sectional study (snapshot at one point in time → measures prevalence) > Case series / Case report.
Abdominal CT in the DecodeMed radiology atlas: 3D models of the organs beside the CT volume, with liver, kidneys, spleen, pancreas, stomach and adrenal glands labelled
An abdominal CT in the free radiology atlas: the organs as 3D models and labelled on the CT volume; the slices open below in axial, coronal and sagittal planes. Image sources and licences.

High-yield epidemiology bias & confounding table

NBME vignettes rarely ask you to recite a textbook definition of bias; instead they describe a flawed screening program, hospital-based control group, or unblinded chart review and ask you to name the specific threat to validity and how to fix it.

Bias / ErrorMechanism & Classic USMLE ScenarioPrimary Mitigation Strategy
Selection biasNon-random sampling makes study groups non-representative (e.g., loss to follow-up, healthy-worker effect).Randomization, high follow-up rate, intention-to-treat analysis
Berkson biasSubtype of selection bias: using hospitalized patients as controls creates spurious associations because hospitalized people have higher exposure rates.Select community-based controls rather than hospital controls
Recall biasCases (e.g., mothers of infants with birth defects) remember past exposures more intensely than healthy controls in case-control studies.Use objective medical records or a prospective cohort design
Observer (Ascertainment) biasInvestigator expectations distort outcome measurement (e.g., unblinded clinician grading pain or ECG findings).Blinding (double-blind design) and objective endpoints
Hawthorne effectSubjects alter their behavior simply because they know they are being observed in a study.Blinding, placebo control, or unobtrusive observation
Lead-time biasEarlier detection by screening makes survival time appear longer from diagnosis even though time of death is unchanged.Measure disease-specific mortality rate rather than survival time from diagnosis
Length-time biasScreening preferentially detects slow-growing, indolent tumors while rapidly fatal tumors present clinically between screens.Evaluate screening efficacy with an RCT comparing mortality
ConfoundingA third variable is associated with both the exposure and the outcome, distorting the true relationship (e.g., smoking confounding coffee and lung cancer).Randomization (design), restriction, matching, or stratification / multivariable regression (analysis)

Type I/II error, statistical power, p-value & 95% confidence intervals

Hypothesis testing evaluates the null hypothesis (H0) — that there is no difference or no association between groups. Two errors are possible, and the USMLE tests both their definitions and the exact factors that increase statistical power.

  • Type I error (α, false positive): Rejecting H0 when H0 is actually true (claiming a drug works when it does not). Usually set at α = 0.05. The p-value is the probability of observing a result at least as extreme as the study data assuming H0 is true. If p < α, reject H0.
  • Type II error (β, false negative): Failing to reject H0 when H0 is actually false (missing a true drug effect).
  • Statistical power (1 − β): Probability of detecting a true difference when one exists (typically targeted at ≥ 80%). Power increases with: (1) larger sample size (n), (2) larger effect size, (3) lower sample variance (σ²), and (4) higher α.
  • 95% Confidence Interval (CI): Range of values within which the true population parameter lies with 95% confidence (Mean ± 1.96 × SEM, where SEM = SD / √n). If the 95% CI for a difference (mean difference, ARR) includes 0, the result is not statistically significant (p ≥ 0.05). If the 95% CI for a ratio (RR, OR, HR) includes 1, the result is not statistically significant.
DecodeMed 12-lead ECG atlas showing a synchronized 3D cutaway heart, limb-lead axis compass, annotated P waves and lead II interval measurements
A real 12-lead ECG paired with a beating 3D cutaway heart in the free ECG atlas. Tracing: LUDB, PhysioNet (ODC-BY 1.0). Image sources and licences.

Statistical test selection table for USMLE Step 1 & Step 2 CK

Choosing the right statistical test takes 5 seconds once you classify the variables as categorical (nominal/binary) vs quantitative (continuous) and count the number of groups.

Statistical TestVariable Types & GroupsClassic USMLE Example
Unpaired (2-sample) t-test1 quantitative outcome across 2 independent groupsComparing mean systolic BP between Drug A and Placebo
Paired t-test1 quantitative outcome in the same subjects before vs afterComparing HbA1c in 40 patients before and 6 months after semaglutide
ANOVA (F-test)1 quantitative outcome across ≥ 3 independent groupsComparing mean LDL across Placebo, Low-dose Statin, and High-dose Statin
Chi-square (χ²) test2 categorical variables (comparing proportions in a 2×2 or R×C table)Comparing 30-day mortality (Yes/No) across 3 treatment arms
Fisher exact test2 categorical variables when expected cell count < 5Small pilot trial comparing rash (Yes/No) in 12 patients
Pearson correlation (r)2 normally distributed quantitative variables (linear relationship, −1 to +1)Correlation between serum creatinine and age; r² = variance explained
Spearman correlation (ρ)2 non-normal / ordinal quantitative variables (rank-based)Correlation between Pain Score (1–10) and skewed CRP levels

NBME-style biostatistics practice vignettes

USMLE-style clinical vignette · USMLE Step 1 / Step 2 CK · Diagnostic Testing & Prevalence

A new rapid antigen test for a viral pneumonia has a sensitivity of 90% and a specificity of 95%. The test is first validated in a hospital emergency department during peak winter surge where disease prevalence is 40%, and later deployed as a workplace screening tool in summer when prevalence is 2%. Which of the following best describes how the test performance changes when moved from the winter ED to summer workplace screening?

  1. A. Sensitivity decreases and specificity increases
  2. B. PPV decreases markedly and NPV increases
  3. C. PPV increases and NPV decreases
  4. D. Positive likelihood ratio decreases and NPV decreases
  5. E. Sensitivity, specificity, PPV, and NPV all remain unchanged
Reveal answer & distractor breakdown

Correct answer: B. PPV decreases markedly and NPV increases

Sensitivity (90%), specificity (95%), and likelihood ratios are intrinsic test properties and remain constant regardless of prevalence. When prevalence drops from 40% to 2%, false positives vastly outnumber true positives, causing PPV to plummet while NPV rises close to 100%.

Why the other options are wrong

  • A and D are wrong because sensitivity, specificity, and LR+ do not depend on prevalence.
  • C describes the opposite direction (moving from low prevalence to high prevalence).
  • E ignores the strong prevalence dependence of predictive values (PPV and NPV).

USMLE-style clinical vignette · USMLE Step 2 CK · Clinical Trial Risk & NNT

In a double-blind randomized controlled trial of 400 patients with atrial fibrillation, 200 patients receive a novel anticoagulant and 200 receive standard therapy for 2 years. Ischemic stroke occurs in 6 patients in the novel anticoagulant group and 16 patients in the standard therapy group. What is the number needed to treat (NNT) with the novel anticoagulant for 2 years to prevent 1 ischemic stroke?

  1. A. 5
  2. B. 10
  3. C. 16
  4. D. 20
  5. E. 40
Reveal answer & distractor breakdown

Correct answer: D. 20

Control event rate (CER) = 16 / 200 = 0.08 (8%). Experimental event rate (EER) = 6 / 200 = 0.03 (3%). ARR = 0.08 − 0.03 = 0.05 (5%). NNT = 1 / ARR = 1 / 0.05 = 20 patients.

Why the other options are wrong

  • A (5) results from mistakenly using 1 / 0.20 or confusing counts with percentages.
  • B (10) is the absolute difference in stroke counts (16 − 6), not 1 / ARR.
  • C (16) is the control stroke count; E (40) results from dividing by 400 instead of the 200 patients per arm.

How to integrate biostatistics into your USMLE study plan

Treat biostatistics like high-yield physiology: drill 5–10 formula problems per week instead of cramming the night before your exam. Explore our complete USMLE Step 1 High-Yield Study Hub, review target benchmarks in USMLE Passing Scores & NBME Readiness, build a balanced week with the USMLE Step 1 Study Schedule, and practice daily clinical reasoning in the USMLE Daily Visual Quiz, Acid-Base ABG Calculator, and DecodeMed AI Medical Tutor. You can also browse all free USMLE tools or compare plans on our pricing page.

Primary references & guidelines

  1. USMLE Content Outline — Biostatistics & Epidemiology — USMLE.org / NBME
  2. Biostatistics: Diagnostic Testing Accuracy (Sensitivity, Specificity, Predictive Values) — NCBI StatPearls
  3. Principles of Epidemiology in Public Health Practice (3rd ed.) — CDC
  4. Bias in Research & Confounding — Observational Study Design — NCBI StatPearls

Frequently asked questions

How much of USMLE Step 1 and Step 2 CK is biostatistics and epidemiology?

Biostatistics, epidemiology, population health, and evidence-based medicine typically represent around 8–10% of Step 1 and 10–15% of Step 2 CK, including drug-ad abstract sets and sequential calculation items.

When should I use Odds Ratio (OR) instead of Relative Risk (RR)?

Use Odds Ratio (OR) in case-control studies because cases and controls are sampled by outcome rather than followed over time, so true incidence and RR cannot be calculated. When the disease is rare (<10% prevalence), OR closely approximates RR.

How do I remember SNOUT vs SPIN on exam day?

SNOUT = high SeNsitivity rules OUT disease when the test is negative (few false negatives). SPIN = high SPecificity rules IN disease when the test is positive (few false positives).

What is the fastest way to tell if a 95% confidence interval is statistically significant?

Check whether the null value lies inside the interval. For differences (mean difference, ARR, AR), the null value is 0; for ratios (RR, OR, hazard ratio), the null value is 1. If the 95% CI includes the null value, p ≥ 0.05 (not statistically significant).

How do lead-time bias and length-time bias differ in cancer screening?

Lead-time bias occurs when earlier diagnosis lengthens measured survival time without delaying death. Length-time bias occurs when periodic screening disproportionately catches slow-growing, less lethal tumors while aggressive tumors present clinically between screens.

DecodeMed AI · All-in-One 3D Medical Platform

Stop reading static notes. Master medicine in live 3D.

One platform for medical students, USMLE Step 1 & Step 2 CK, residents, and clinicians — unifying 3D physiology, pharmacology mechanisms, microbiology, 3D anatomy, real CT/MRI, histology, ECG, and an AI tutor.

Start Free · Upgrade When You Need Full Power

The visual medical platform doctors & top scorers keep open every day

Begin immediately in our free 3D atlases — no credit card required — or unlock every 3D organ lab and the full AI Medical Tutor on Web, iOS, and Android.

DecodeMed Free

$0

Forever free · No credit card needed

  • Full 3D Respiratory Physiology Atlas (all chapters & clinical cases)
  • Free 3D Anatomy, CT/MRI Radiology, Whole-Slide Histology & 12-Lead ECG Atlases
  • Free Eye Clinical Examination Atlas & AI Tutor preview
  • Free RadioAnato AI mobile app download (iOS & Android)
MOST POPULAR FOR MED STUDENTS & USMLE

DecodeMed Pro

$10 / mo

or $79 / year (save 34%)

One subscription across Web + RadioAnato AI mobile app

  • All 8 interactive 3D Physiology Organ Systems (Cardio, Renal, Neuro, Endocrine, GI, Blood, Senses, Resp)
  • Full AI Medical Tutor for Physiology, USMLE, Pharmacology, Microbiology & Radiology
  • Unlimited interactive clinical quizzes and visual explanations on real scans & 3D models
  • Full 3D Clinical Examination Atlas (Cardiac murmurs, Neuro, Eye, Ear)

Also on iPhone, iPad & Android as RadioAnato AI

Continue reading