AP Statistics · Topic 3.8 · Unit 3
AP Stats 3.8: Type I and Type II Errors
By Jude Wallis · Published
A Type I error rejects a true null hypothesis; its probability is alpha. A Type II error fails to reject a false null; its probability is 1 minus power. Power rises with a larger sample, smaller standard error, a truer parameter farther from the null, or a larger alpha.
AP Statistics: Unit 3 (topics 3.8). CED topic 3.8 (Potential Errors When Performing Tests), skills 2.D, 3.C, 4.D.
What topic 3.8 covers
Topic 3.8 examines the two ways a hypothesis test can reach a wrong decision. Because a test decides based on sample data, it can point to the alternative when the null is actually true, or miss the alternative when it is actually true. This topic names those errors, defines power, and lists what changes their probabilities. It applies to every significance test in the course, not just tests for proportions.
The two errors and power
A Type I error happens when the test finds convincing evidence for the alternative (a small p-value) but the alternative is not true. A Type II error happens when the test does not find convincing evidence (a large p-value) but the alternative is true. The power of a test is the probability it correctly rejects a false null. The table below pairs each decision with reality.
| Decision | Null is true | Null is false |
|---|---|---|
| Reject the null | Type I error | Correct (power) |
| Fail to reject | Correct | Type II error |
Probabilities of the errors
The probability of a Type I error equals the significance level , which you set before collecting data, often 0.01, 0.05, or 0.10. The probability of a Type II error is . A well-designed study aims for a small Type II error probability, and therefore high power, often at least 0.80. Power is always measured against a specific alternative value, because a false null that is far from the truth is easier to detect than one that is barely false.
What raises power
Holding everything else fixed, the Type II error probability falls and power rises when any one of the following happens:
- The sample size increases.
- The standard error decreases.
- The true parameter is farther from the null value.
- The significance level increases.
Because is the Type I error probability, and sample size drives the Type II error probability, the real-world consequences of each error should guide how you choose and how large a sample to collect. When a Type I error is costly, use a smaller ; when a Type II error is costly, collect a larger sample to raise power.
From power to the Type II error probability
A test is run at significance level and has power 0.80 against a specific alternative. State the probability of each type of error.
The Type I error probability equals the significance level: .
The Type II error probability is .
Subtract: .
The probability of a Type I error is 0.05, and the probability of a Type II error against this alternative is 0.20.
Frequently asked questions
Does lowering alpha reduce both types of error?
No. Lowering reduces the Type I error probability but, with everything else fixed, it lowers power and so raises the Type II error probability. There is a trade-off between the two.