A significance test makes a decision from a sample, and samples vary. So even a test done perfectly can reach the wrong decision. This topic names the two ways a test can be wrong, says how likely each one is, and shows what you can do about them. The exam asks you to describe each error in context and to explain its consequence.
Two ways to be wrong
The truth is either or , and the decision is either reject or fail to reject it. That gives four outcomes, two of them mistakes.
| is true | is true | |
|---|---|---|
| Reject | Type I error (probability ) | Correct (probability = power) |
| Fail to reject | Correct | Type II error (probability ) |
- A Type I error is rejecting when is true: finding convincing evidence for an effect that is not there.
- A Type II error is failing to reject when is true: missing an effect that is there.
Only one error is possible after a decision. If you rejected , the only possible mistake is Type I. If you failed to reject, the only possible mistake is Type II.
Describing an error in context
Readers want the condition first: what is actually true, then the wrong decision, then what happens because of it.
Worked example. A city must replace its water pipes if more than 10% of its homes have lead above a safety limit. It tests against , where is the true proportion of all the city's homes with lead above the limit, and replaces the pipes if there is convincing evidence for . Describe each error and its consequence.
Type I error. The true proportion of all the city's homes with lead above the limit is 0.10, but the test finds convincing evidence that it is greater than 0.10. Consequence: the city spends money replacing pipes that did not need replacing.
Type II error. The true proportion of all the city's homes with lead above the limit is greater than 0.10, but the test does not find convincing evidence that it is greater than 0.10. Consequence: the pipes are not replaced, and residents keep drinking water with too much lead.
Which is worse? Here the Type II error is a health risk, so the city should make it less likely, for example by using instead of 0.01 or by testing more homes.
How likely is each error?
Type I. If is true, the test rejects whenever the p-value falls below , and that happens with probability . So . Choosing is choosing how often you are willing to raise a false alarm.
Type II. Its probability, , depends on what the true value of actually is. A true proportion of 0.11 is hard to tell apart from 0.10; a true proportion of 0.20 is easy. So is always "against" a specific alternative value.
The power of a test against a specific alternative is the probability that it rejects when that alternative is true: the chance it detects a real effect. .
Seeing α, β and power
A snack company will switch recipes only if there is convincing evidence that more than half of its customers prefer the new one. With 200 customers and , the test rejects when
So : about an 11% chance of missing a real 60% preference.
What increases power
- A larger sample size. Both curves get narrower and overlap less. This is the best fix, because it lowers without raising .
- A larger . The cutoff moves toward , so rejecting is easier: power rises, but so does the Type I error probability.
- A true value farther from . Big effects are easier to detect than small ones. You cannot choose this, but you can plan the sample size for the smallest effect worth finding.
For a fixed sample size, the two error probabilities move in opposite directions: lowering raises . Decide which error has worse consequences in context, and choose and with that in mind.