Type I and Type II errors
A decision comes from a random sample, so even a correct method can make the wrong decision. Type I and Type II describe the two possible mismatches between the truth and the decision.
Name the truth first, then the wrong decision
Truth first, then decision
Reality: H₀ true
reject H₀
Type I error
fail to reject
correct
Reality: H₁ true
reject H₀
correct
fail to reject
Type II error
Type II probability needs a specific true alternative value.
Definition
1 markWhat is meant by a Type I error?
Model answer: Rejecting H₀ when H₀ is true.
Definition
1 markWhat is meant by a Type II error?
Model answer: Failing to reject H₀ when H₁ is true.
- Type I is a false alarm: the test reports a change that is not really present.
- Type II is a missed effect: a real change is not detected by this sample.
- In context, describe the incorrect conclusion without only writing “reject H₀” or “fail to reject H₀”.
Use the null model for Type I and the alternative model for Type II
Worked example
One cutoff, two different binomial models
A test of against uses 30 trials and rejects when .
For Type I, assume the null value is true and enter the rejection region:
The actual Type I probability is below 0.05 because a discrete boundary cannot usually land exactly on the stated significance level.
For Type II at the specific true value , use the non-rejection region :
(9709/62/M/J/25 Q8(b)–(c))
Key idea
For normal models, integrate on the correct side of the cutoff
Worked example
A sensor threshold
A sensor reading is when there is no fault and when there is a fault. The system reports a fault when .
Type I: no fault is true, but the reading crosses the cutoff.
Type II: a fault is true, but the reading stays at or below 17.
- Lowering makes the rejection region smaller. For a fixed sample size and rule, Type I decreases but Type II usually increases.
- Increasing the sample size usually reduces Type II probability while the chosen Type I level can be kept unchanged.
- Do not change the significance level after seeing the sample. That would make the stated error control meaningless.
A test of against uses 35 trials and rejects H₀ when . Find the Type I probability. If the true value is , find the Type II probability.
Show worked answer
Under ,
Under ,
Answers: Type I probability 0.0136; Type II probability 0.0986.
(9709/63/M/J/25 Q7)
Common mistake
