Alpha Error, Beta Error, and Statistical Power
Learn the meaning of alpha error, beta error, and power through visual demonstrations using normal distributions.
Introduction
When studying hypothesis testing, three important concepts appear:
- Alpha error (Type I error)
- Beta error (Type II error)
- Statistical power
These are often introduced through definitions, but to truly understand them, it’s helpful to see them on a graph. In this article, we’ll use normal distributions and interactive visuals to explain:
- What hypothesis testing is
- What α and β errors are
- What statistical power means
- How these relate to areas under curves
Setup: One-Sided Test on a Normal Mean
Let’s consider a simple hypothesis test for the mean of a normal distribution:
- Null hypothesis ():
- Alternative hypothesis (): (right-sided test)
We assume the test statistic follows a standard normal distribution:
Alpha Error: Rejecting a True Null Hypothesis
The alpha error (Type I error) is the probability of rejecting the null hypothesis when it is actually true. It corresponds to the right tail of the standard normal curve under :
Here, is the critical value determined by the chosen significance level.
Beta Error: Failing to Reject a False Null Hypothesis
The beta error (Type II error) is the probability of not rejecting when it is actually false (i.e., when ). This corresponds to the left side of the distribution:
Note that the distribution is now shifted; we’re evaluating the critical threshold under the alternative hypothesis.
Statistical Power
Power is the probability of correctly rejecting when it is false. It is simply:
This is the right tail of the distribution.
Visual Demo
The following interactive demo lets you adjust , , and the critical value to see how α error, β error, and power are represented as areas under two overlapping normal curves.
Interactive Alpha-Beta-Power Demonstration
P(reject H₀ | H₀ true)
P(accept H₀ | H₁ true)
P(reject H₀ | H₁ true)
How to interpret this visualization:
- • The blue curve represents the null hypothesis (H₀: μ = 0)
- • The red curve represents the alternative hypothesis (H₁: μ = μ₁)
- • The dashed vertical line is the critical threshold z_α
- • Alpha error: Blue shaded area to the right of the threshold
- • Beta error: Red shaded area to the left of the threshold
- • Statistical power: Green shaded area to the right of the threshold
In the graph:
- The blue curve represents
- The red curve represents
- The vertical line is the critical threshold
- The blue tail area beyond the threshold = α error
- The red area to the left of the threshold = β error
- The red area to the right of the threshold = power
Summary
- α error: False positive — area under beyond
- β error: False negative — area under below
- Power: True positive rate — area under beyond
- Always pay attention to which distribution each probability is computed under