Type I and Type II Errors
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 when it's actually true. Probability = (significance level).
"Convicting an innocent person."
Type II Error (False Negative): Failing to reject when it's actually false. Probability = .
"Letting a guilty person go free."
The tradeoff
- Decreasing (harder to reject) → increases (more likely to miss a real effect).
- The only way to decrease both: increase sample size.
Power
Power = = probability of correctly rejecting a false . We want power (80%).
Visual representation
Two bell curves overlap: one is the null distribution ( true), the other is the alternative ( true). The threshold (critical value) divides the space:
- = area of null curve beyond the threshold (right tail)
- = 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 and change in opposite directions. Increase the effect size to separate the curves further (reduces both errors).
Interactive Visualization
Parameters
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.