There are two basic types of errors that can occur in hypothesis testing:

  • Type I Error: The null hypothesis is correct but is incorrectly rejected.
  • Type II Error: The null hypothesis is incorrect but is not rejected.

The traditional way of explaining testing errors is with a table like the one shown below:

hypothesis_testing_errors
Errors in Hypothesis Testing

By convention, we set alpha first and control the Type I error, rejecting a null hypothesis that is actually true. Which error costs more depends on the situation.

The chance of making a Type I error is referred to as the alpha risk or alpha level; the chance of making a Type II error is referred to as the beta risk or beta level.

Need more explanation? Khan Academy’s video does a good job of walking through Type I errors:

The power of a test

Alpha and beta describe the two ways a test can be wrong. Power describes how often it gets a real difference right.

Power = 1 − β. It is the probability that the test rejects the null hypothesis when the null hypothesis is false. If beta is 0.20, power is 0.80: the test catches a real difference of the size you care about four times in five, and misses it once.

A courtroom makes the three ideas easy to keep apart. The null hypothesis is “innocent.” Alpha is convicting an innocent person. Beta is letting a guilty person walk. Power is the chance the trial convicts someone who is guilty. A trial with thin evidence has low power.

What raises or lowers power

Four things move power:

  1. Sample size (n). More data, more power. It is the lever you control most often.
  2. Effect size (δ). The smallest difference worth detecting. Big differences are easy to see. Small ones need more data.
  3. Variation (σ). A noisy process hides differences. Less variation, more power.
  4. Significance level (α). A stricter alpha (0.01 instead of 0.05) makes rejection harder, so power drops.

Alpha and beta trade against each other. Tighten one and the other loosens, unless you add data or cut variation.

Worked example: power on a filling line

Say a food plant fills bags to a target of 500 g, the process standard deviation is 4 g, and a shift of 2 g matters to the business (illustrative numbers). The team runs a two-sided z-test at α = 0.05 on a sample of 16 bags.

  • Standard error: 4 / √16 = 1 g.
  • Rejection point: reject if the sample mean is more than 1.96 g from 500 g.
  • Power if the true mean is 502 g: the test rejects above 501.96 g. Under a true mean of 502 g that point is z = −0.04, and P(Z > −0.04) ≈ 0.52.

Power is about 52%. If the process really has drifted by 2 g, this test misses it nearly half the time.

What sample size gives 80% power? For a two-sided z-test:

n = ((z₁₋α/₂ + z₁₋β) × σ / δ)² = ((1.96 + 0.84) × 4 / 2)² = 31.4, so 32 bags.

Check: with 32 bags the standard error is 0.71 g, the 2 g shift is about 2.83 standard errors, and power is about 0.81.

For 90% power, z₁₋β is 1.2816: n = ((1.9600 + 1.2816) × 2)² = 42.03, so 43 bags. Sample sizes always round up. Our sample size guide covers the related formulas.

Power curves and what “fail to reject” means

A power curve plots power against the true difference for a given sample size. At zero difference it sits at α, the false alarm rate. It rises toward 1 as the difference grows, and it rises faster with a larger sample.

Two practical rules follow:

  • Plan power before you collect data. Pick the smallest difference that matters, the alpha and the power you want (0.80 and 0.90 are common), then solve for n.
  • “Fail to reject” is not “proved equal.” A non-significant result from a small sample may have missed a real effect. With a very large sample the opposite happens: tiny differences become significant, and you have to ask whether they matter in practice. See p-values for statistical vs. practical significance.

Power on the exam

  • Power is 1 − β, not 1 − α. 1 − α is the confidence level.
  • Larger n, larger effect, less variation and larger α all increase power.
  • Lowering α lowers power when n stays the same.
  • Black Belt questions may ask you to calculate power or the sample size for a simple z-test.

ASQ Six Sigma Green Belt Errors in Hypothesis Testing Questions:

Question: When an inspection process rejects a conforming product, what type of error is being made?

(A) a
(B) b
(C) σ
(D) H0

Answer:

Unlock Additional Members-only Content!

To unlock additional content, please upgrade now to a full membership.
Upgrade to a Full Membership
If you are a member, you can log in here.

Question: Which of the following terms describes the risk of a type I error in a hypothesis test?

(A) Power
(B) Confidence level
(C) Level of significance
(D) Beta risk

Answer:

Unlock Additional Members-only Content!

To unlock additional content, please upgrade now to a full membership.
Upgrade to a Full Membership
If you are a member, you can log in here.

Question: Which of the following is a commonly accepted level for alpha risk?

(A) 0.05
(B) 0.50
(C) 0.70
(D) 0.95

Answer:

Unlock Additional Members-only Content!

To unlock additional content, please upgrade now to a full membership.
Upgrade to a Full Membership
If you are a member, you can log in here.

Authors

Comments (2)

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.