Type I and Type II Errors

April 12, 2026

Problem

Visualize α (false positive) and β (false negative) on overlapping null/alternative distributions.

Explanation

Two types of errors in hypothesis testing

Type I Error (False Positive): Rejecting H0H_0 when it's actually true. Probability = α\alpha (significance level).

"Convicting an innocent person."

Type II Error (False Negative): Failing to reject H0H_0 when it's actually false. Probability = β\beta.

"Letting a guilty person go free."

The tradeoff

  • Decreasing α\alpha (harder to reject) → increases β\beta (more likely to miss a real effect).
  • The only way to decrease both: increase sample size.

Power

Power = 1β1 - \beta = probability of correctly rejecting a false H0H_0. We want power 0.80\geq 0.80 (80%).

Visual representation

Two bell curves overlap: one is the null distribution (H0H_0 true), the other is the alternative (HaH_a true). The threshold (critical value) divides the space:

  • α\alpha = area of null curve beyond the threshold (right tail)
  • β\beta = area of alternative curve before the threshold (left of threshold)

Try it in the visualization

Two overlapping distributions are drawn. Drag the threshold to see α\alpha and β\beta change in opposite directions. Increase the effect size to separate the curves further (reduces both errors).

Interactive Visualization

Parameters

1.96
2.00
Your turn

Got your own math or physics problem?

Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.

Sign Up Free to Try It30 free visualizations every day
Type I and Type II Errors | MathSpin