Type I and Type II errorsAQA A-Level Further Maths: Revision notes
Section 1
Type I and Type II errors
A hypothesis test is a decision based on sample evidence, so it can be wrong.
- A Type I error is rejecting when it is true.
- A Type II error is failing to reject when it is false.
In this topic you must be able to define each in the context of the question and calculate the probability of a Type I error.
Describing the error in general terms ('rejecting when it is true'). Give it in context: say what is wrongly concluded and what is really true.
Section 2
Describing errors in context
Write what the test would conclude and what is actually true.
Example: a seed company claims and a gardener tests .
- Type I error: concluding that the probability of germination is below when it is in fact .
- Type II error: concluding there is no evidence the probability is below when it is in fact lower.
Section 3
Probability of a Type I error: binomial tests
The probability of a Type I error is the probability that the test statistic falls in the critical region when is true. This is also the actual significance level of the test.
Example: against with and critical region . With , Always use the value of the parameter given by .
Using the wrong boundary, for example instead of when the critical region is .
Section 4
Probability of a Type I error: Poisson tests
The method is the same with the Poisson distribution.
Example: , , reject if . With : For a two-tailed critical region add both tails. For and critical region or :
Section 5
Choosing a critical region
To carry out a test at the 5% level, take the largest critical region whose probability is at most .
Example: and . but , so the critical region is and the actual significance level is .
Making the critical region larger increases the probability of a Type I error. The actual significance level can be well below the nominal 5% because the distribution is discrete.
Test a boundary value, then the next one down, and say which satisfies the condition.
Section 6
Repeated testing
If a true is tested several times independently, each test has probability of a Type I error. The probability of at least one wrong rejection in tests is With and , this is . Using many tests makes at least one false alarm quite likely.
That's the notes covered.
Carry on to the next subtopic.
Exam questions on Type I and Type II errors
- A manufacturer claims that 30% of its cereal boxes contain a prize. To test whether the proportion is greater than 30%, a sample of 20 boxes is taken. Let be the number of boxes in the sample that contain a prize and the proportion of all boxes that contain a prize. The test is against , and is rejected if .Find the significance level of the test if the critical region were changed to .2 marks
- The number of calls received by a call centre in an hour is modelled by . To test against , the manager counts the calls in one hour and rejects if .The manager wants the probability of a Type I error to be at most 5%. Find the largest critical region of the form that she can use.2 marks
- A seed company claims that the probability that a seed germinates is . A gardener plants 15 seeds and suspects that the true probability is lower. Let be the number of seeds that germinate and the probability that a seed germinates. She tests against at the 5% significance level, using .Find the critical region for the test.3 marks
Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).