Type I and Type II errors and powerEdexcel A-Level Further Maths: Revision notes
Section 1
Type I and Type II errors
A hypothesis test can go wrong in two ways. A Type I error is rejecting when it is true. A Type II error is failing to reject when it is false (so is actually true). Always say what the errors mean in the context of the question: for a coin, a Type I error is deciding it is biased when it is fair.
Describing a Type II error as 'accepting wrongly'. It is failing to reject when is true.
Section 2
Size of a test
The size of a test is the probability of a Type I error, which is the probability that the test statistic falls in the critical region when is true. For a discrete distribution the actual size is usually below the nominal significance level because the critical region has to be made of whole values. Example: , , critical region . Size . For a normal mean, : reject if with , , gives .
Section 3
Probability of a Type II error
To find you need a specific value of the parameter from . Use the same distribution family but with that value, and find the probability of landing in the acceptance region (the values where is not rejected). Example: critical region for and true : . Different true values of give different Type II probabilities, which is why a single value for the error needs a stated alternative.
Calculating a Type II probability using the value from . You must use a value from .
Section 4
Power and the power function
The power of a test is the probability of rejecting when it is false: The power function gives the power as a function of the parameter: . At the value in it equals the size of the test, and it rises as the true parameter moves further from the value. For with critical region : power at is and at is .
Power is always 1 minus the Type II error probability, at the same true parameter value.
Section 5
Effectiveness and trade-offs
A good test has small size and large power. Widening the critical region (for example instead of ) increases the power but also the size; narrowing it does the opposite. You cannot reduce both errors just by moving the boundary. The usual way to improve both is to increase the sample size. When you compare tests, compute the size of each and the power of each at the same alternative value, then judge against what is wanted. The same ideas work for the binomial, Poisson and normal distributions from A level Mathematics and Further Statistics 1.
For 'evaluate' questions, quote both errors for each test and give a recommendation.
That's the notes covered.
Carry on to the next subtopic.
Exam questions on Type I and Type II errors and power
- A coin is suspected of being biased towards heads. It is tossed 10 times and is the number of heads, where . The hypotheses are and , and is rejected if .Find the power of the test when .2 marks
- The number of defects on a sheet of metal is modelled by . One sheet is inspected to test against . The test rejects if the sheet has 5 or more defects.The critical region is changed to . State, with a supporting calculation, the effect on the size of the test and on the power of the test when .2 marks
- A machine fills cereal boxes, and the mass of cereal in a box, in grams, is normally distributed with standard deviation . The mean mass should be but the manager suspects it is lower. The manager tests against using the mean of a random sample of 16 boxes, and rejects if .Find the size of 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).