Alpha Error, Beta Error, and Statistical Power

Learn the meaning of alpha error, beta error, and power through visual demonstrations using normal distributions.

Hypothesis TestingStatistical PowerAlpha ErrorBeta Error

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 (H0H_0): μ=0\mu = 0
  • Alternative hypothesis (H1H_1): μ=μ1>0\mu = \mu_1 > 0 (right-sided test)

We assume the test statistic ZZ follows a standard normal distribution:

Z=Xˉμ0σ/nZ = \frac{\bar{X} - \mu_0}{\sigma / \sqrt{n}}

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 H0H_0:

α=P(Z>zαH0)\alpha = P(Z > z_\alpha \mid H_0)

Here, zαz_\alpha 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 H0H_0 when it is actually false (i.e., when μ=μ1\mu = \mu_1). This corresponds to the left side of the H1H_1 distribution:

β=P(Z<zαH1)\beta = P(Z < z_\alpha \mid H_1)

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 H0H_0 when it is false. It is simply:

Power=1β=P(Z>zαH1)\text{Power} = 1 - \beta = P(Z > z_\alpha \mid H_1)

This is the right tail of the H1H_1 distribution.

Visual Demo

The following interactive demo lets you adjust μ1\mu_1, σ\sigma, and the critical value zαz_\alpha to see how α error, β error, and power are represented as areas under two overlapping normal curves.

Interactive Alpha-Beta-Power Demonstration

Z-scoreProbability Density-3-2-1012345z_α = 1.65H₀: μ = 0H₁: μ = μ₁Critical Valueα errorβ errorPower
α = 5.00%
Alpha Error (Type I)
P(reject H₀ | H₀ true)
β = 36.13%
Beta Error (Type II)
P(accept H₀ | H₁ true)
Power = 63.87%
Statistical Power
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 H0H_0
  • The red curve represents H1H_1
  • The vertical line is the critical threshold zαz_\alpha
  • 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 H0H_0 beyond zαz_\alpha
  • β error: False negative — area under H1H_1 below zαz_\alpha
  • Power: True positive rate — area under H1H_1 beyond zαz_\alpha
  • Always pay attention to which distribution each probability is computed under
← Back to Encyclopedia