Type I/II Error & Statistical Power Explorer
Adjust significance level (α), standardized effect size (Cohen’s d), and sample size per group (n) to visualize the trade-off between Type I error (α), Type II error (β), and Statistical Power (1 − β).
Type I = P(Reject H0 | H0 true) = alpha | Type II = P(Fail to reject H0 | Ha true) = beta | Power = 1 - beta
Study Guide: Hypothesis Testing Decision Matrix
Every hypothesis test ends with one of two decisions—Reject H₀ or Fail to reject H₀—while in reality either H₀ is true or Hₐ is true. Putting those together gives the classic 2×2 error table tested heavily in AP Statistics, STAT 101, USMLE, and biostatistics.
| Statistical Decision | Reality: H₀ Is True (No Real Effect) | Reality: Hₐ Is True (Real Effect Exists) |
|---|---|---|
| Reject H₀ (p < α) | Type I Error (α) — False Positive (concluding a drug works when it doesn’t). | Correct Decision (Power = 1 − β) — True Positive (detecting a real benefit). |
| Fail to Reject H₀ (p ≥ α) | Correct Decision (1 − α) — True Negative. | Type II Error (β) — False Negative (missing a real benefit). |
Four Ways to Increase Statistical Power (1 − β)
- Increase sample size (n): The cleanest and most common method in clinical trials. Larger n shrinks the standard error
σ/√n, separating the H₀ and Hₐ sampling distributions without raising false positives (α). - Study a larger true effect size (d): Bigger differences between treatment and control means are naturally easier to detect than tiny ones.
- Reduce measurement variability (σ): Using tighter lab instruments, standardized protocols, or paired/blocked designs lowers noise and improves signal-to-noise ratio.
- Increase significance level (α) (with caution): Moving α from 0.01 to 0.05 lowers β and raises power, but directly increases the false-positive risk.
Worked Clinical Trial Example
Problem: A pharmaceutical team tests a new blood-pressure drug against placebo with α = 0.05. The drug truly lowers systolic blood pressure by 6 mmHg with population standard deviation σ = 12 mmHg (Cohen’s d = 6 / 12 = 0.50). If they enroll only n = 20 patients per arm, why might the trial fail to reach significance?
Analysis: With n = 20 per group and d = 0.50 at α = 0.05, statistical power is only about 35%—meaning there is a 65% chance (β = 0.65) of a Type II error (falsely concluding the effective drug does nothing!). Raising sample size to n = 63 per group boosts power above the standard 80% clinical trial benchmark.
Frequently Asked Questions
Why do most clinical trials aim for 80% or 90% power?
80% power means accepting at most a 20% chance (β = 0.20) of missing a clinically meaningful effect. Confirmatory Phase III trials often target 90% power (β = 0.10) because enrolling patients is costly and failing to detect a genuinely helpful therapy is a major setback.
Do α and β add up to 1?
No. α + (1 − α) = 1 under the null hypothesis H₀, and β + Power = 1 under the alternative hypothesis Hₐ. Because α and β are conditional probabilities under two different states of reality, they do not sum to 1.
When is a Type I error worse than a Type II error?
If approving an ineffective treatment with severe side effects (false positive) carries major harm, investigators keep α very low (e.g., 0.01). Conversely, in early screening for a deadly disease or testing a low-risk life-saving intervention, avoiding a false negative (Type II error) is prioritized by ensuring high power.