AP Statistics · Topic 3.8 · Reading guide, about 6 min

Type I and Type II errors and power

Learn what Type I and Type II errors mean in context, what power is, and how sample size, alpha and the true value change it.

In one minute

A significance test ends with a decision, and decisions can be wrong. Even a well-run test, with random data and checked conditions, can reject a true null hypothesis or miss a real effect. Statisticians name these two mistakes and measure how likely each one is.

This topic teaches you to describe each error in the words of a situation, to connect the error rates to α\alpha and to power, and to explain what makes a test more likely to catch a real difference.

Key terms

Type I error
Rejecting H0H_0 when H0H_0 is actually true. You conclude there is an effect when there is none.
Type II error
Failing to reject H0H_0 when H0H_0 is actually false. A real effect goes undetected.
Significance level
The cutoff α\alpha you choose before the test. It equals the probability of a Type I error when H0H_0 is true and the conditions hold.
Power
The probability that the test correctly rejects a false H0H_0 for one particular true parameter value. Power equals 1−1- P(Type II error).
Rejection region
The set of sample results that lead you to reject H0H_0 at the chosen α\alpha. Power is the chance the sample lands there when H0H_0 is false.
Consequence
What actually happens in the real world because of a wrong decision. Consequences help decide which error is the more serious one.
Effect size
How far the true parameter is from the null value. Larger gaps are easier to detect, so they give higher power.
Standard error
The typical size of sampling variation in a statistic. A smaller standard error makes the sampling distributions of the null and true values overlap less.

Two ways to be wrong

Every test starts from a null hypothesis H0H_0 that is either true or false in reality, and ends with a decision to reject or fail to reject it. That gives four combinations. Two are correct: failing to reject a true H0H_0, and rejecting a false H0H_0. Two are errors.

A Type I error is a false alarm. A Type II error is a miss. In a medical screening analogy, a Type I error flags a healthy person as sick, and a Type II error tells a sick person they look healthy. You never know for sure which situation you are in, which is why the error probabilities matter.

The four outcomes of a test
DecisionH0 is trueH0 is false
Reject H0 (convincing evidence for Ha)Type I error, probability alphaCorrect decision, probability equal to power
Fail to reject H0 (not enough evidence)Correct decision, probability 1 - alphaType II error, probability 1 - power

Describing errors in context

On the exam you must describe an error in words, not just name it. Take a hypothetical bakery that tests H0:p=0.05H_0: p=0.05 against Ha:p>0.05H_a: p>0.05, where pp is the true proportion of loaves from a new oven that come out burnt.

A Type I error means the baker concludes that more than 5 percent of loaves are burnt when the oven is actually fine. The consequence is paying for an oven repair or replacement that was not needed. A Type II error means the baker fails to find convincing evidence of a burnt-loaf problem when more than 5 percent really are burnt. The consequence is that customers keep getting burnt bread.

Notice the pattern: each description names the decision, the truth, and what happens next. Both parts, the error and its consequence, usually earn credit.

Power and what raises it

Power depends on which true value you assume. A test might have high power to detect p=0.60p=0.60 but low power to detect p=0.52p=0.52, because a small gap hides inside sampling noise. Four things raise power: a larger sample size, a smaller standard error, a true value farther from the null value, and a larger α\alpha. The first two are linked, since a larger nn shrinks the standard error.

The α\alpha lever has a price. Raising α\alpha widens the rejection region, so you reject more often. That catches more real effects, which raises power, but it also rejects more true nulls, so the Type I error risk rises. For a fixed sample size and fixed true value, you cannot lower both error rates by moving α\alpha. Only a larger sample lowers both at once.

A common target is power of about 0.80 or higher, which means Type II error near 0.20 or lower. Researchers plan their sample size before collecting data to reach that target.

Worked example: computing power

Suppose a sample of n=100n=100 is used to test H0:p=0.50H_0: p=0.50 against Ha:p>0.50H_a: p>0.50 at α=0.05\alpha=0.05. We will find the power if the true proportion is p=0.60p=0.60. These numbers are invented for practice.

Step 1, find the rejection region. Under H0H_0 the standard error is 0.50(0.50)/100=0.0500\sqrt{0.50(0.50)/100}=0.0500. The one-sided cutoff is z∗=1.645z^*=1.645, so we reject when p^>0.50+1.645(0.0500)=0.58225\hat{p}>0.50+1.645(0.0500)=0.58225.

Step 2, find the chance of landing there when p=0.60p=0.60. The true standard deviation of p^\hat{p} is 0.60(0.40)/100=0.04899\sqrt{0.60(0.40)/100}=0.04899. Then z=(0.58225−0.60)/0.04899=−0.3623z=(0.58225-0.60)/0.04899=-0.3623, and P(z>−0.3623z>-0.3623) is about 0.6414. The power is about 0.64, and the Type II error probability is 1−0.6414=0.35861-0.6414=0.3586.

Step 3, see how the levers move it. With n=200n=200, the cutoff becomes 0.50+1.645(0.035355)=0.558160.50+1.645(0.035355)=0.55816, the true standard deviation is 0.0346410.034641, z=(0.55816−0.60)/0.034641=−1.2078z=(0.55816-0.60)/0.034641=-1.2078, and power rises to about 0.8864. Back at n=100n=100 with α=0.10\alpha=0.10 instead, the one-sided cutoff uses z∗=1.2816z^*=1.2816, so it is 0.50+1.2816(0.0500)=0.564080.50+1.2816(0.0500)=0.56408, z=(0.56408−0.60)/0.04899=−0.7332z=(0.56408-0.60)/0.04899=-0.7332, and power is about 0.7683 but the Type I risk has doubled. If the true value were only 0.550.55, the same n=100n=100, α=0.05\alpha=0.05 test would have power near 0.26, which shows how a smaller gap hurts.

Choosing alpha and sample size by consequences

There is no universal best α\alpha. When a false alarm is costly or dangerous, such as concluding that a risky surgery helps when it does not (with H0H_0: the surgery gives no benefit), use a small α\alpha like 0.01. When a miss is the bigger danger, such as failing to notice that a water supply is contaminated, a larger α\alpha like 0.10 is defensible because you want high power.

Sample size is the other tool. Because a larger nn improves power without raising α\alpha, it is the preferred fix when both errors are costly, though bigger samples cost time and money.

How it connects

  • Back to 3.6 and 3.7: the p-value from 3.6 is compared with α\alpha in 3.7, and α\alpha is exactly the Type I error rate that this comparison controls.
  • Back to 3.7: a conclusion of fail to reject can be a Type II error, which is why we never say the null is proven.
  • Forward to 3.12-3.13: the two-proportion z-test makes the same reject or fail-to-reject decision, so it can make the same two errors, and larger groups raise its power just as a larger nn does here.

Common mistakes

  • Saying power is the probability of a Type II error. Power is 1−1- P(Type II error). A power of 0.80 means a Type II error probability of 0.20.
  • Giving a single number for power. Power depends on the true value of the parameter, so always say power against a specific alternative.
  • Naming the error but not describing it. Write what the decision was, what the truth is, and the consequence, all in context.
  • Thinking a larger alpha is free. It raises power but also raises the chance of a Type I error.

How it shows up on the exam

  • A scenario asks you to state the Type I error, the Type II error and a consequence of each in a described setting.
  • A short written prompt asks which change (sample size, alpha, true value) raises power, with a reason.
  • A multiple-choice item gives a decision and asks which error was possible.

Check yourself

  1. A test fails to reject H0H_0. Which error could you have made, and which is impossible?
  2. Why does a larger sample size raise power without raising the Type I error probability?
  3. In a setting you choose, which error would be worse, and how would that change your α\alpha?

Practice this topic. AP Practice questions on exactly what this lesson covers, with an explanation for every answer.