6.5 - Type I and Type II errors
A test can reject a true claim or miss a real change. You will distinguish these two mistakes, calculate their probabilities from a fixed decision rule, and see why demanding stronger evidence can make a genuine change harder to detect. The distribution used in an error calculation depends on which population situation is actually true.
Two possible wrong decisions
Suppose a factory tests whether its fault probability has fallen below . Rejecting the null means concluding that there is evidence of a reduction. What if faults have not become less likely? The favourable conclusion is then an error. Conversely, a genuinely improved process might produce an unremarkable sample, so that the test misses the improvement.
Type I and Type II errors
A Type I error occurs when a true null hypothesis is rejected. A Type II error occurs when a false null hypothesis is not rejected. The labels describe the truth of the null together with the test's decision, rather than whether the sample calculation was performed correctly.
| Actual population situation | Reject | Do not reject |
|---|---|---|
| is true | Type I error | Correct decision |
| A specified alternative is true | Correct decision | Type II error |
These errors can occur even when every calculation and comparison is correct. Random sampling causes different decisions on different samples. A significance level controls the Type I error probability; it does not directly control the probability of missing a change.
Worked example 1: a claimed improvement that is not real
Question. A factory tests against , where is its fault probability. It rejects , but in fact . Identify the error in context.
Plan. Decide whether the null is true, then combine that truth with the rejection decision.
The actual value makes true. The test nevertheless rejects it.
Answer. A Type I error: the test finds sufficient evidence of a reduced fault probability when the fault probability is still .
Check. “Reject a true null” is exactly the Type I combination in the decision table.
Now change both the actual situation and the decision to examine the other possible mistake.
Worked example 2: an improvement that is missed
Question. For the same hypotheses, a test does not reject , but the actual fault probability is . Identify the error in context.
Plan. Compare the true value with the null, then interpret non-rejection.
Since , is false; the stated alternative of a decrease is true. The test fails to detect enough evidence for that decrease.
Answer. A Type II error: the test fails to find sufficient evidence of a reduction although the actual fault probability has decreased to .
Check. The conclusion is “insufficient evidence”, rather than a proof that . An error can occur without anyone asserting the null is certainly true.
A Type II probability must refer to a particular actual alternative value. Missing a tiny decrease and missing a large decrease do not generally have the same probability.
Watch out
The significance level is calculated assuming is true. It is not the probability that a rejected null is true, or the probability that the current decision is wrong after observing the data.
Identify an error from its population truth and decision.
Errors in a discrete test
Once the rejection region is fixed, an error probability is a probability of landing in one of its regions. For Type I, use the null distribution and the rejection region. For Type II, use the specified actual alternative distribution and the acceptance region.
Error probabilities for a fixed rule
Let be the rejection region and its complement. Then
while, for a specified alternative parameter ,
The subscripts identify which population model supplies the probabilities. Not in the formula booklet: learn the meaning of the two events. Binomial and Poisson probability formulas are supplied.
Do not redesign the rejection region using the alternative parameter. The error calculation asks what the original test does when that alternative happens to be true.
Worked example 3: errors in a binomial test
Question. A test of against uses , the fault count among independent items. Its fixed critical region is . Find the Type I error probability and the Type II error probability if the actual value is .
Plan. Use the rejection region under , then its complement under .
Under the null, , so
The acceptance region is . Under the specified alternative, :
Answer. Type I probability ; Type II probability when .
Check. Under , the test detects the improvement with probability ; this and sum to . They do not sum with the Type I probability, which uses a different population.
Apply the same two-region reasoning to a Poisson count. Its population parameter and probability formula change; the decision rule still stays fixed.
Worked example 4: errors in a Poisson test
Question. A test investigates an increase in mean calls per hour using , . The one-hour count has fixed critical region . Find the Type I probability and the Type II probability when the actual mean is calls per hour.
Plan. Evaluate the upper rejection tail under , and the lower acceptance region under .
Answer. Type I probability ; Type II probability at the stated alternative.
Check. The test misses the increase whenever the observed count is through . Using would incorrectly include a rejecting result in the Type II event.
Continue this lesson.
You’re previewing NovaLearn without an account. Create a free account to read the rest.
Create free account