Biostatistics for the MCAT - Complete Interactive Lesson
Part 1: Descriptive Statistics & Data Distributions
Biostatistics Fundamentals
Part 1 of 4 — Descriptive Statistics & Data Distributions
Types of Data
| Type | Definition | Examples |
|---|---|---|
| Continuous | Can take any value in a range | Height, weight, temperature, time |
| Discrete | Can only take specific values | Number of cells, number of mutations |
| Nominal | Categorical, no order | Blood type (A, B, AB, O) |
| Ordinal | Categorical, with order | Stage of cancer (I, II, III, IV) |
Measures of Central Tendency
| Measure | Definition | When to Use |
|---|---|---|
| Mean | Sum of values ÷ count | Normal distribution; sensitive to outliers |
| Median | Middle value | Skewed data; resistant to outliers |
| Mode | Most frequent value | Categorical data |
Example: A drug trial shows patient recovery times: 5, 6, 7, 8, 100 days.
- Mean = 25.2 days (affected by outlier)
- Median = 7 days (better representation)
Measures of Spread
| Measure | Formula | Interpretation |
|---|---|---|
| Range | Max − Min | Spread across all data |
| Variance | Average squared deviation from the mean | |
| Standard Deviation | Most important: units match data |
- A sample variance divides by instead of (Bessel's correction), which slightly enlarges it for small samples.
68-95-99.7 Rule (Normal Distribution):
- 68% of data within 1 SD of mean
- 95% within 2 SD
- 99.7% within 3 SD
Descriptive Statistics 🎯
Key Takeaways — Part 1
- Central Tendency: Use median for skewed data; mean for symmetric distributions
- Spread: SD is most useful on MCAT; interpret via 68-95-99.7 rule
- Outliers: Robust stats (median, IQR) better than mean ± SD when outliers present
- Log scales: Many biomedical values are log-normally distributed (viral loads, enzyme concentrations—use log-transform)
- Low-yield extras: a sample variance divides by n − 1 (Bessel's correction) rather than N
Worked Examples — Descriptive Statistics
<details> <summary><b>Example 1: Choose mean vs median with an outlier</b></summary>Data: 4, 5, 5, 6, 40
- Mean = 60/5 = 12.
- Median = 5.
- Outlier (40) inflates the mean.
Best central tendency: median.
</details> <details> <summary><b>Example 2: Use the 68-95-99.7 rule</b></summary>Mean = 70, SD = 5. Estimate the range containing about 95% of values.
- 95% is roughly mean ± 2 SD.
- 70 ± 10 gives 60 to 80.
Approximate 95% interval: 60 to 80.
</details> <details> <summary><b>Example 3: Interpret standard deviation practically</b></summary>Two test forms have the same mean score (80). Form A has SD 3; Form B has SD 12.
- Same mean means same average performance.
- Lower SD means scores cluster more tightly.
- Higher SD means performance is more variable.
Conclusion: Form A is more consistent across students.
</details>Part 2: Hypothesis Testing & p-values
Biostatistics Fundamentals
Part 2 of 4 — Hypothesis Testing & p-values
Hypothesis Types
| Hypothesis | Definition | Example |
|---|---|---|
| Null | No effect or difference | The drug has no effect on blood pressure |
| Alternative | There is an effect | The drug lowers blood pressure |
One-tailed vs Two-tailed:
- One-tailed: Predicts direction (Drug lowers BP) → all of α sits in one tail
- Two-tailed: No direction (Drug changes BP) → α is split between the two tails (0.025 each at α = 0.05)
Type I & II Errors
| Error | What Happens | Probability |
|---|---|---|
| Type I | Reject when it's true (False positive) | (significance level) |
| Type II | Fail to reject when it's false (False negative) |
Critical: α = 0.05 means a 5% chance of a Type I error when is true, i.e., a 5% chance of rejecting a true null (standard MCAT threshold)
p-value Interpretation
- p < 0.05 → Reject (statistically significant)
- p ≥ 0.05 → Fail to reject (not significant)
Example: A study finds p = 0.03 for a new antibiotic efficacy.
- Interpretation: 3% probability of obtaining results at least as extreme as those observed, assuming the null hypothesis (no real antibiotic effect) is true
- Conclusion: Reject ; the antibiotic likely has real efficacy
Power & Sample Size
- Power = 1 − β (ability to detect a true effect)
- Larger sample size → More power
- Higher power = better study (typically aim for 80%+ power)
Hypothesis Testing 🎯
Key Takeaways — Part 2
- p-value = Probability of observing data (or more extreme) if is true
- α=0.05 = 5% threshold; p < 0.05 → reject
- Type I error (α): False positive; Type II error (β): False negative
- Power (1−β): Increases with larger sample size; typical goal is 80%+
- MCAT Tip: p < 0.05 = statistically significant; always check the p-value first
Worked Examples — Hypothesis Testing & p-values
<details> <summary><b>Example 1: Decide significance quickly</b></summary>Study result: p = 0.03, α = 0.05.
- Compare p to α.
- Since 0.03 < 0.05, reject .
Conclusion: statistically significant finding.
</details> <details> <summary><b>Example 2: Identify a Type I error</b></summary>A test concludes a drug works, but in reality it does not.
- Rejected when was true.
- This is a false positive.
Error type: Type I error (α).
</details> <details> <summary><b>Example 3: Why larger sample size helps</b></summary>Small trial p = 0.07; larger trial on same effect p = 0.02.
- Larger n reduces standard error.
- Smaller uncertainty improves ability to detect true effects.
- Power increases, reducing Type II error risk.
Takeaway: bigger sample, higher power.
</details>Part 3: Confidence Intervals & Effect Size
Biostatistics Fundamentals
Part 3 of 4 — Confidence Intervals & Effect Size
Confidence Intervals (CI)
A CI gives a range where the true parameter likely lies (unlike a single p-value).
(1.96 is often rounded to 2, so a 95% CI is roughly the estimate ± 2 SE.)
Interpretation: "We are 95% confident the true population mean falls within this range."
| CI feature | What it means |
|---|---|
| Narrow CI | More precise estimate (good sample size) |
| Wide CI | Less precise estimate (small sample size) |
| CI excludes the null value | Statistically significant |
| CI includes the null value | Not statistically significant |
The null value is 0 for a difference (mean difference, change in BP) and 1 for a ratio (odds ratio, relative risk).
Example: Study finds mean blood pressure reduction of 10 mmHg (95% CI: 5–15 mmHg).
- Interpretation: Likely true reduction is between 5–15 mmHg
- Since CI doesn't include 0, the effect is significant
Effect Size
Effect size quantifies magnitude of difference (independent of sample size).
| Measure | What it shows | Range |
|---|---|---|
| Standardized mean difference (Cohen's d) | Difference between group means, in SD units | Larger = bigger effect |
| Correlation (r) | Strength and direction of a linear relationship | −1 to +1 (0 = none; ±1 = perfect) |
| Odds Ratio (OR) | Relative odds of outcome | >1 = increased odds; <1 = decreased |
- Rough benchmarks for Cohen's d: 0.2 (small), 0.5 (medium) and 0.8 (large).
Example: A very large trial compares two antacids head to head:
- Drug A: Mean relief = 7.0 hours
- Drug B: Mean relief = 6.9 hours
- p = 0.02, so the difference is "significant," but the effect size is trivial (0.1 hour, about 6 minutes)
Confidence Intervals & Effect Size 🎯
Key Takeaways — Part 3
- 95% CI: Range where true population parameter likely falls
- Narrow CI = Better precision (larger N); CI includes the null value (0 for differences, 1 for ratios such as OR/RR) = Not significant
- Effect Size: Magnitude of difference (Cohen's d, OR, r); independent of sample size
- p-value vs Effect Size: p-value answers "Is there an effect?" (yes/no). Effect size answers "How big?"
- MCAT Tip: Always check both—significant p-value ≠ meaningful effect; large CI suggests underpowered study
- Low-yield extras: Cohen's d benchmarks (0.2 small, 0.5 medium, 0.8 large)
Worked Examples — Confidence Intervals & Effect Size
<details> <summary><b>Example 1: Interpret a confidence interval</b></summary>Treatment effect = 4 units, 95% CI: 1 to 7.
- Interval does not include 0.
- Effect is statistically significant.
- True effect is plausibly between 1 and 7 units.
Conclusion: significant positive effect with moderate precision.
</details> <details> <summary><b>Example 2: Compare precision between studies</b></summary>Study A CI: 10 to 30. Study B CI: 18 to 22.
- Study B has a much narrower CI.
- Narrower CI means lower uncertainty in estimate.
More precise estimate: Study B.
</details> <details> <summary><b>Example 3: p-value vs practical importance</b></summary>A huge sample finds p < 0.001 for a score increase of 0.2 points.
- p-value says the effect is unlikely due to chance.
- Effect size is tiny.
- Statistical significance does not guarantee clinical relevance.
Takeaway: evaluate both p-value and effect size.
</details>Part 4: Correlation, Causation, Study Design, Diagnostic Tests & Risk
Biostatistics Fundamentals
Part 4 of 4 — Correlation, Causation, Study Design, Diagnostic Tests & Risk
Correlation Coefficient (r)
Measures strength and direction of linear relationship between two variables.
r = -1 → Perfect negative correlation
r = 0 → No correlation
r = +1 → Perfect positive correlation
| r Value | Interpretation |
|---|---|
| ±0.0–0.3 | Weak correlation |
| ±0.3–0.7 | Moderate correlation |
| ±0.7–1.0 | Strong correlation |
Critical: r close to ±1 does NOT prove causation!
Correlation ≠ Causation
Three mechanisms for correlation:
- Causation: X → Y (aspirin → reduced heart attack risk)
- Reverse Causation: Y → X (depression is linked to poor physical health, but the poor health may be causing the depression rather than the reverse)
- Confounding Variable: Z → both X and Y (smoking → both yellow teeth AND lung cancer)
Example: Ice cream sales correlate with drowning deaths.
- Confounder: Summer heat drives both (neither causes the other)
Study Design & Confounders
| Design | Controls Confounders? | Causation Inference |
|---|---|---|
| Cross-sectional | Poor (confounding risk; no timing) | Weak |
| Case-Control | Poor–fair (matching on chosen variables only) | Moderate |
| Cohort | Fair (can adjust for measured covariates; still confounded) | Good |
| RCT | Excellent (randomization) | Strong |
Cross-sectional, case-control and cohort studies are all observational: the researcher only records exposure. Only the RCT assigns it.
RCT Gold Standard: Randomization balances known and unknown confounders across groups.
Observational Study:
Does statin use → lower cholesterol?
(Confounded by: diet, exercise, genetics)
RCT Gold Standard:
Randomize patients to statin vs placebo
(Randomization balances confounders)
Diagnostic Tests: The 2×2 Table
Every screening or diagnostic question on the MCAT can be laid out in one 2×2 table. Rows are the test result; columns are the true disease status.
| Test result | Disease + | Disease − |
|---|---|---|
| Test + | a (true positive) | b (false positive) |
| Test − | c (false negative) | d (true negative) |
| Measure | Formula | Question it answers |
|---|---|---|
| Sensitivity | Of people WITH the disease, what fraction test positive? (true positive rate) | |
| Specificity | Of people WITHOUT the disease, what fraction test negative? (true negative rate) | |
| Positive predictive value (PPV) | Of people who test POSITIVE, what fraction truly have the disease? | |
| Negative predictive value (NPV) | Of people who test NEGATIVE, what fraction are truly disease-free? |
Shortcut: sensitivity and specificity read down the columns (start from disease status); PPV and NPV read across the rows (start from the test result).
Mnemonics:
- SnNout: a highly Sensitive test, when Negative, rules out disease (few false negatives). Good for screening.
- SpPin: a highly Specific test, when Positive, rules in disease (few false positives). Good for confirming.
Key reasoning:
- Sensitivity and specificity are properties of the test: they do not change with prevalence.
- PPV and NPV depend on prevalence. Higher prevalence → higher PPV, lower NPV. Lower prevalence → lower PPV, higher NPV. This is why screening a low-prevalence population produces many false positives.
- Moving the cutoff trades one for the other. Lowering the threshold for a "positive" result catches more true cases (sensitivity ↑, fewer false negatives) but flags more healthy people (specificity ↓, more false positives). Raising the threshold does the reverse.
Risk Measures
For risk questions, rows are exposure and columns are outcome:
| Exposure | Outcome + | Outcome − |
|---|---|---|
| Exposed | a | b |
| Unexposed | c | d |
| Measure | Formula | Study design |
|---|---|---|
| Relative risk (RR) | Cohort (and RCT): you follow exposed and unexposed groups, so you can compute the risk (incidence) in each | |
| Odds ratio (OR) | Case-control: you pick people by outcome, so true risk cannot be computed; compare odds of exposure instead |
- RR or OR = 1 → no association (the null value for a ratio, as in Part 3). Greater than 1 → exposure linked to more of the outcome; less than 1 → exposure is protective.
- When the disease is rare, the OR closely approximates the RR.
Treatment effect measures (RCTs):
- Absolute risk reduction (ARR) = risk in control group − risk in treated group
- Relative risk reduction (RRR) = ARR ÷ risk in control group (equivalently, 1 − RR)
- Number needed to treat (NNT) = : how many patients must be treated to prevent one bad outcome
Example: Heart attacks occur in 10% of placebo patients and 6% of drug patients.
- RR = 0.06 ÷ 0.10 = 0.6 (drug patients have 60% of the placebo risk)
- ARR = 10% − 6% = 4% = 0.04, so RRR = 0.04 ÷ 0.10 = 40%
- NNT = 1 ÷ 0.04 = 25 patients treated to prevent one heart attack
Correlation, Causation, Diagnostic Tests & Risk 🎯
Key Takeaways — Part 4
- Correlation (r): Measures linear relationship; high |r| ≠ causation
- Confounding: Third variable influences both exposure and outcome
- Study Hierarchy (for causation inference): Cross-sectional < Case-Control < Cohort < RCT
- RCT Gold Standard: Randomization balances known and unknown confounders
- Temporal Relationship: Exposure must precede outcome for causation (cohort better than cross-sectional)
- 2×2 table (test rows, disease columns): Sensitivity = a/(a+c), Specificity = d/(b+d), PPV = a/(a+b), NPV = d/(c+d)
- SnNout / SpPin: a negative result on a highly sensitive test rules disease out; a positive result on a highly specific test rules it in
- Prevalence: Sensitivity and specificity are fixed properties of the test; higher prevalence → higher PPV, lower NPV
- Cutoff trade-off: Lowering the threshold for "positive" raises sensitivity and lowers specificity (and vice versa)
- Risk measures: Relative risk = [a/(a+b)] ÷ [c/(c+d)] for cohort studies; odds ratio = ad/bc for case-control studies; RR or OR = 1 means no association
- ARR and NNT: ARR = control risk − treated risk; NNT = 1/ARR
- MCAT Tip: Always ask "Could a confounder explain this correlation?" and "What study design would prove causation?"
Worked Examples — Correlation, Causation & Design
<details> <summary><b>Example 1: Correlation does not prove causation</b></summary>Data show coffee intake correlates with heart disease.
- Correlation indicates association only.
- Smoking could confound both coffee intake and disease risk.
- Need stronger design (e.g., randomized intervention) for causal inference.
Conclusion: association present, causation unproven.
</details> <details> <summary><b>Example 2: Rank study designs for causal strength</b></summary>Given cross-sectional, case-control, cohort, and RCT:
- RCT is strongest due to randomization.
- Cohort is next because exposure precedes outcome.
- Case-control and cross-sectional are more confounded.
Strongest to weakest: RCT > cohort > case-control > cross-sectional.
</details> <details> <summary><b>Example 3: Identify temporal logic</b></summary>Study records current depression and current sleep quality at one time point.
- Exposure and outcome measured simultaneously.
- Cannot determine which came first.
- Reverse causation remains possible.
Takeaway: temporal ambiguity weakens causal claims.
</details> <details> <summary><b>Example 4: Compute PPV and NPV from prevalence, sensitivity and specificity</b></summary>A screening test has 90% sensitivity and 80% specificity. It is given to 1,000 people, and disease prevalence is 10%.
- Diseased = 10% × 1,000 = 100; disease-free = 900.
- True positives = 90% × 100 = 90; false negatives = 100 − 90 = 10.
- True negatives = 80% × 900 = 720; false positives = 900 − 720 = 180.
- Fill the 2×2 table:
| Test result | Disease + | Disease − | Row total |
|---|---|---|---|
| Test + | 90 (a) | 180 (b) | 270 |
| Test − | 10 (c) | 720 (d) | 730 |
- PPV = a/(a+b) = 90/270 ≈ 33%: only one in three positives truly has the disease.
- NPV = d/(c+d) = 720/730 ≈ 98.6%: a negative result is very reassuring.
Same test, prevalence 50% (500 diseased, 500 disease-free): true positives = 450, false positives = 100, false negatives = 50, true negatives = 400. PPV = 450/550 ≈ 82% and NPV = 400/450 ≈ 89%.
Takeaway: sensitivity and specificity did not change, but raising prevalence raised PPV and lowered NPV.
</details>