A Level Further Mathematics · Chapter 45 · Further Statistics · Further Statistics 1
Every hypothesis test can go wrong in two ways, and the quality of a test is measured by how often each of those mistakes happens.
A test that never rejects anything never makes the first kind of mistake, but it is useless for detecting change. This chapter measures both kinds of error, defines the size and power of a test, and shows how to design tests that are good at finding real effects.
In this chapter · jump to a section
Start here
Your route through this chapter
By the end of this chapter you will be able to:
- describe Type I and Type II errors in context
- find the size of a test with a discrete critical region
- calculate the probability of a Type II error for a given true parameter
- find the power of a test and sketch its power function
- apply these ideas to binomial, Poisson and geometric tests, including two-tailed tests
- compare tests and explain how sample size and significance level affect quality
Time: three sessions, about 4 hours, plus the practice ladder and the exam workshop.
You need first: hypothesis tests for binomial, Poisson and geometric models, and their cumulative probabilities.
The big idea
The big idea
A hypothesis test makes a decision from data, and the data can mislead. There are four possible outcomes:
| true | false | |
|---|---|---|
| Reject | Type I error | Correct decision |
| Do not reject | Correct decision | Type II error |
The probability of a Type I error is the size of the test. The probability of correctly rejecting a false null hypothesis is the power:
The diagram shows how the chance of rejecting changes with the true value of . At the null value the curve is low, so true hypotheses are rarely rejected. Further away it climbs, so false hypotheses are usually caught. A good test has a curve that is low at the null value and rises steeply.
Two kinds of mistake
A Type I error is a false alarm: rejecting a null hypothesis that was true. A Type II error is a missed detection: failing to reject a null hypothesis that was false. Both are mistakes, but they have different consequences in different settings. Deciding which matters more is a judgement about the context, not a matter of mathematics.
A trade-off
Making a test stricter reduces the chance of a false alarm, but it also makes real effects harder to detect. So reducing Type I errors usually increases Type II errors. The only way to reduce both together is to collect more data. This trade-off runs through the whole chapter and shapes how tests are designed.
Why discreteness matters
For a binomial, Poisson or geometric test, the variable takes whole-number values. A critical region is a set of whole numbers, and its probability jumps as values are added or removed. So it is usually impossible to make the probability of a Type I error exactly 5%. The actual probability, the size, is what this chapter calculates.
Quality as a design question
Before collecting data, a researcher can calculate the power of a planned test. If the power is too low, the test is unlikely to find the effect being looked for. Then a larger sample or a different design is needed. Measuring quality in advance prevents wasted experiments and inconclusive results.
Section 1
Type I and Type II errors
Describing errors in context
Every description of an error should say what the decision was and what the truth was. For a test of whether a coin is biased towards heads, a Type I error is concluding the coin is biased when it is actually fair. A Type II error is concluding there is no evidence of bias when the coin really is biased.
Common mistake: describing a Type II error as rejecting a true null hypothesis. That describes a Type I error. A Type II error is the opposite mistake: failing to reject a null hypothesis that is false. A useful memory aid is that Type I is a false positive and Type II is a false negative.
Finding a critical region
For an upper-tail test, the critical region is , where is the smallest value with under the null hypothesis. For a lower-tail test it is , with the largest value satisfying . Cumulative tables or a calculator supply the probabilities.
Showing the two probabilities
When finding a critical value, show the probability on each side of the boundary. For example, is below 5%, but is above it. Showing both proves that 10 is the right boundary. Examiners reward this comparison, and it prevents an off-by-one error.
Which error is worse?
In a medical screening test, a Type II error means missing a disease, which may be serious. In a criminal trial, the null hypothesis is innocence, and a Type I error convicts an innocent person. The setting decides which error matters more. Tests are then designed to keep the more serious error small.
Errors are about decisions, not data
An error is not something that can be spotted in a single sample. After a test we never know for certain whether the decision was right. The probabilities of the errors describe how often the test procedure would go wrong over many repetitions. They measure the procedure, not any one result.
Errors need a true state
A Type I error can only happen when the null hypothesis is true. A Type II error can only happen when it is false. So the two probabilities are calculated under different assumptions. The Type I probability uses the null value of the parameter, and the Type II probability uses a true value from the alternative.
A courtroom comparison
A criminal trial works like a hypothesis test. The null hypothesis is that the defendant is innocent, and the jury needs strong evidence to reject it. Convicting an innocent person is a Type I error. Acquitting a guilty person is a Type II error. The demand for proof beyond reasonable doubt keeps Type I errors rare, at the cost of more Type II errors.
The decision rule comes first
A good test fixes its critical region before the data are seen. Choosing the region after looking at the data would let the result influence the rule, which makes the error probabilities meaningless. In examination questions, the critical region is always found from the null distribution alone, before any observed value is considered.
Worked example 1: an upper critical region
For , find the critical region for testing against at the 5% level.
| Working | Reason |
|---|---|
| , which is above 0.05 | Check the value just below the boundary |
| , which is below 0.05 | Check the boundary value itself |
| Critical region | Take the smallest value meeting the condition |
Lower-tail regions
For a lower-tail test, start at zero and add values while the cumulative probability stays within the level. Stop just before it would exceed the level. Sometimes even zero has too large a probability, and then the test has no critical region. Checking the smallest value first avoids missing this case.
Worked example 2: a lower Poisson region
For , find the critical region for testing against at the 5% level.
| Working | Reason |
|---|---|
| , which is below 0.05 | Check the smallest value |
| , which is above 0.05 | Including one would exceed the level |
| Critical region | Only zero can be in the region |
Check yourself. Determine the critical region for testing against at the 5% level, with .
Show the answer
From the tables, , which is below 5%, but is above it. So the critical region is , the largest lower tail within the level.
Section 2
The size of a test
Definition
The size of a test is the probability of rejecting the null hypothesis when it is true:
For a continuous test statistic the size equals the significance level. For a discrete one it is usually smaller.
Common mistake: quoting the significance level as the size. The significance level is the ceiling chosen in advance. The size is the actual probability of the critical region, which for a discrete variable is almost always below that ceiling. The size of the test in worked example 1 is 0.0480, not 0.05.
The size of a test
- Critical region
- X ≥ 10
- Size = P(X ≥ c | H₀)
- 0.048
- Significance level
- 0.05
Figure 45.1 shows the null distribution with its critical region shaded. The wrong model's dashed line marks the significance level, which is not the probability of the shaded region.
Why the size is smaller
The critical region must not have probability above the significance level. Adding one more value would push it over. So the region stops short, and its probability falls somewhere below the level. How far below depends on the distribution and the parameter. Sometimes the size is close to the level, sometimes much smaller.
Size for a lower-tail test
For a lower critical region , the size is under the null hypothesis. This is read straight from cumulative tables. For an upper region , the size is . Writing the region and the probability statement together avoids confusion about which tail is meant.
Size and the significance level together
It is good practice to report both. The significance level says how strict the test was meant to be. The size says how strict it actually is. A size much smaller than the level means the test is more cautious than planned, which reduces its power. Reporting both gives a complete picture of the test.
Size for a two-tailed test
A two-tailed test has a critical region in each tail. Its size is the sum of the two tail probabilities under the null hypothesis. Each tail is usually chosen to have probability at most half the significance level. The total size is then at most the full level, and typically below it.
When no critical region exists
With very few observations, even the most extreme value may have probability above the significance level. Then no critical region exists, and the test can never reject the null hypothesis. Its size is zero, and so is its power. This shows why a sample must be large enough before a test can be useful.
Reading cumulative tables for an upper tail
Tables usually give . For an upper tail , use one minus the cumulative probability at , not at . Using the wrong entry shifts the region by one value. Writing the complement statement in full, such as , makes the correct entry obvious.
A size can be quoted as a percentage
A size of 0.0480 can also be written as 4.80%. Either form is acceptable, but be consistent within an answer. Comparing it with a 5% level is easiest when both are written the same way. Give the size to at least three significant figures, matching the accuracy of the tables.
Worked example 3: the size of a binomial test
Find the size of the test in worked example 1.
| Working | Reason |
|---|---|
| Size | The size is the probability of the critical region |
| Use the cumulative table for the upper tail | |
| Subtract to evaluate the size |
Size depends on the null value
Changing the null value changes the null distribution, and so the critical region and the size. A test of and a test of at the same level have different critical regions. Their sizes can differ quite a lot, even though both are within 5%. Each test must be worked out separately.
Worked example 4: the size of a Poisson test
For , testing against at the 5% level gives the critical region . Find its size.
| Working | Reason |
|---|---|
| Size | The size uses the null value of the rate |
| Use the cumulative Poisson table | |
| Subtract to evaluate the size |
Check yourself. Calculate the size of the test in the check-yourself of section 1.
Show the answer
The size is the probability of the critical region under the null hypothesis, . This is just below the 5% significance level.
Section 3
The probability of a Type II error
Calculating it
A Type II error happens when the null hypothesis is false but the test statistic lands outside the critical region. So its probability is
It depends on the true value of the parameter, which must be given or assumed.
Common mistake: calculating the Type II probability with the null value instead of the true value. A Type II error only happens when the null hypothesis is false. Using the null value gives the probability of correctly not rejecting a true hypothesis, which is one minus the size, a completely different quantity.
The probability of a Type II error
- P(Type II) = P(X ≤ 9 | true p)
- 0.4119
- Power = 1 − P(Type II)
- 0.5881
Figure 45.2 overlays the null and true distributions. The Type II probability is the true distribution's area outside the critical region; the wrong model uses the null distribution instead.
Why it depends on the truth
If the true value is close to the null value, the two distributions overlap heavily. Then the test often fails to reject, and the Type II probability is large. If the true value is far away, the overlap is small, and Type II errors are rare. So there is no single Type II probability, only one for each possible true value.
Upper and lower tails
For an upper critical region , a Type II error is , so its probability is a cumulative probability at . For a lower region , a Type II error is , which is one minus a cumulative probability at . Writing the non-rejection region clearly avoids mixing these up.
Reading tables for the true value
The cumulative tables are used again, but now with the true parameter. For example, with 20 trials and true , read the row for . It is easy to read the null row by habit. Write the true value next to every probability statement to keep track.
Using the result
A Type II probability of 0.41 means that, if the true value really is 0.5, the test will miss the change about 41% of the time. That is high. It tells a researcher that the test is not sensitive enough for changes of this size. More data, or a different design, would be needed.
Neither error can be calculated alone
The size uses the null distribution and the Type II probability uses the true distribution, but both depend on the same critical region. So the critical region must be found first. Every Type II calculation starts from the region found under the null hypothesis, then switches to the true distribution.
Type II errors need a specific alternative
The alternative hypothesis, such as , contains many values. A Type II probability needs one particular value to calculate with. So a question will always say something like "when ". Without that value the Type II probability is not defined, and the most that can be said is how it changes with the true value.
Thinking about overlap
Picture the null distribution and the true distribution side by side. The critical region is fixed by the null distribution. The Type II probability is the part of the true distribution that falls outside that region. When the two distributions overlap a lot, much of the true distribution sits in the acceptance region, and Type II errors are common.
Worked example 5: a binomial Type II error
For the test in worked example 1, find the probability of a Type II error when the true value is .
| Working | Reason |
|---|---|
| Do not reject when | Write down the acceptance region |
| Use the true value of p | |
| Read the cumulative table for one half |
Large Type II probabilities are common
It is normal for a Type II probability to be large when the true value is near the null value. A test cannot easily tell apart two values that produce very similar data. This is not a flaw in the method. It reflects the limited information in a small sample, and it motivates collecting more data.
Worked example 6: a Poisson Type II error
For the test in worked example 4, find the probability of a Type II error when the true rate is .
| Working | Reason |
|---|---|
| Do not reject when | The critical region is nine or more |
| Use the true value of the rate | |
| Read the cumulative Poisson table for six |
Check yourself. For the test with critical region and , work out the probability of a Type II error when .
Show the answer
A Type II error means not rejecting, so , with the true value . That probability is .
Section 4
Power and the power function
Power
The power of a test is the probability of rejecting the null hypothesis when it is false:
A powerful test is good at detecting a real difference.
Common mistake: treating the probability of a Type II error as the power. The two add up to 1. Quoting the Type II probability as the power makes a good test look poor, and a poor test look good. Always check that a larger power means more chance of rejecting.
The power function
- Critical region
- X ≥ 10
- Size (power at p = 0.3)
- 0.048
- Power at the true p
- 0.5881
Figure 45.3 plots the power for every true value of . The wrong model plots the Type II probability, which is the curve turned upside down.
Derivation: power and the Type II probability add to one
When the true value lies in the alternative, the statistic either falls in the critical region or it does not.
The first term is the power and the second is the probability of a Type II error.
So either quantity gives the other, as long as both use the same true value.
The power function
The power function gives the power for each possible value of the parameter. At the null value, it equals the size of the test. As the true value moves away in the direction of the alternative, the power increases towards 1. Plotting the function shows at a glance how sensitive the test is.
Sketching a power function
To sketch a power function, calculate the power at several values of the parameter and join the points with a smooth curve. Include the null value, where the power equals the size. Choose values on the side of the alternative hypothesis. The curve should rise steadily, because more extreme true values are easier to detect.
Power on the wrong side
For a one-tailed test, the power function also has values on the side opposite to the alternative. There the power is smaller than the size. These values are not usually of interest, because the alternative hypothesis does not include them. A sketch normally shows only the range covered by the alternative.
What a good power function looks like
The ideal power function would be zero at the null value and jump straight to one for any other value. No real test achieves this. A good test comes close: low at the null value and rising steeply nearby. Comparing two power functions shows which test is better at detecting changes of a given size.
Power in words
A power of 0.59 means the test has a 59% chance of detecting a change when the true value is 0.5. This sentence is the clearest way to explain power to someone else. Including the true value is essential, because the power changes with it.
Power and sample size
Doubling the sample size makes the null and true distributions narrower relative to their separation. Their overlap shrinks, and the power rises. This is why large studies can detect small effects that small studies miss. The power function for a larger sample is steeper near the null value.
Power is not the probability that the alternative is true
Power is a probability about the data, assuming a particular true value. It is not the probability that the alternative hypothesis is correct. Statements such as "there is a 59% chance that p is 0.5" are wrong. The correct statement is that, if is 0.5, the test rejects with probability 0.59.
Worked example 7: power
Find the power of the test in worked example 1 when .
| Working | Reason |
|---|---|
| Power | Power and the Type II probability add to one |
| Use the result from worked example 5 | |
| Subtract to give the power |
Using a calculator for power
A calculator with binomial and Poisson functions gives cumulative probabilities for any parameter, not just those in the tables. This is useful when a true value such as 0.35 is not listed. Write down the distribution and the probability statement before using the calculator, so the method is visible to the examiner.
Worked example 8: values of the power function
For the test in worked example 1, find the power when and when .
| Working | Reason |
|---|---|
| Power | The power is the probability of the critical region |
| At : | Use the cumulative table for this value |
| At : | Repeat with the larger value of p |
Check yourself. Evaluate the power of the Poisson test in worked example 4 when .
Show the answer
The power is one minus the Type II probability from worked example 6, so . This is low, so the test usually misses a change from a rate of 4 to a rate of 6.
Section 5
Two-tailed and geometric tests
Two-tailed tests
A two-tailed test rejects for values that are too small or too large. Each tail gets at most half the significance level. The size is the total probability of both tails under the null hypothesis. The power is the total probability of both tails under the true value, so it uses two cumulative probabilities.
Common mistake: leaving the boundary value out of the critical region. The critical value itself belongs to the region. For a geometric test with critical region , the value 15 leads to rejection. Writing instead changes both the size and the power.
Derivation: the geometric tail probability
X is at least c exactly when the first c − 1 trials all fail.
So the lower tail follows by subtracting from one.
These closed forms make geometric sizes and powers quick to calculate.
Geometric tests
For , counting trials up to the first success, a large value of suggests that is smaller than claimed. So a test of against uses an upper critical region . A test against uses a lower region .
Using the closed forms
Because the geometric tail probabilities have closed forms, no tables are needed. To find an upper critical value, solve for the smallest whole number , using logarithms or trial. The power at a true value is then , which is easy to evaluate.
Choosing the direction
Think about what a change in the parameter would do to the data. A smaller success probability makes the first success come later, so large values of are evidence for it. This reasoning sets the direction of the critical region. Getting it wrong would make the test look for evidence in the wrong tail.
Two-tailed power
At a true value above the null, the upper tail supplies nearly all the power, and the lower tail adds very little. At a true value below the null, the reverse happens. So a two-tailed test has a U-shaped power function, low in the middle and rising on both sides. Its lowest point is near the null value.
Two-tailed tests have less power on one side
Compared with a one-tailed test at the same level, a two-tailed test puts only half the significance level in each tail. So on the side of interest its critical region is smaller, and its power is lower. This is the price paid for being able to detect changes in either direction.
Choosing the tails for a two-tailed test
Find each tail separately using half the significance level. For a symmetric distribution, such as , the two tails mirror each other. For an asymmetric one, such as , they do not, and each must be found from the tables. Then add the two tail probabilities to get the size.
Geometric tests in practice
A geometric test is natural when waiting for a first event, such as the first faulty item or the first success in a game. One observation gives little information, so geometric tests often have low power. Using several observations, or switching to a negative binomial model, can improve the power considerably.
Writing geometric critical regions
The critical region for a geometric test is written in terms of trials, such as . Remember that counts trials up to and including the first success. A value of 15 means fourteen failures followed by a success. Keeping this meaning in mind helps to set up the probability correctly.
Worked example 9: a two-tailed binomial test
For , testing against at the 5% level gives the critical region or . Find its size.
| Working | Reason |
|---|---|
| Lower tail under the null hypothesis | |
| by symmetry | Upper tail under the null hypothesis |
| Size | Add the two tail probabilities |
Worked example 10: a geometric critical region
For , test against at the 5% level. Find the critical region and its size.
| Working | Reason |
|---|---|
| Need : , | Compare tail probabilities at each boundary |
| Critical region | Smallest value meeting the condition |
| Size | The size is the tail probability |
Check yourself. Using the geometric test in worked example 10, find the power when the true value is .
Show the answer
The power is the probability of the critical region at the true value, . So the test detects this change less than a quarter of the time.
Section 6
Comparing tests
The effect of sample size
A larger sample gives a test more information. For the same significance level, the critical region becomes a narrower part of the range, and the power function becomes steeper. So larger samples reduce Type II errors without increasing Type I errors. This is the only way to improve both at once.
Common mistake: thinking a smaller significance level always gives a better test. A smaller level reduces the chance of a Type I error, but it shrinks the critical region. That lowers the power and increases Type II errors. The best level balances the two errors for the setting at hand.
Comparing two tests
Two tests of the same hypotheses can be compared by their sizes and their power functions. If one has a smaller size and a larger power everywhere on the alternative, it is better in every way. More often, one is better for some true values and worse for others. Then the choice depends on which changes matter most.
Planning a sample size
A researcher may want a power of at least 0.8 for a change of a certain size. Trying different sample sizes and calculating the power for each finds the smallest sample that achieves it. This planning step is common in medicine and industry, where data are expensive and inconclusive studies waste resources.
Costs of errors
Sometimes each kind of error has a cost, in money or harm. Then the test can be chosen to keep the expected cost small. This turns the trade-off into a calculation. In many examination questions, the context hints at which error is more serious, and a comment on this earns credit.
Interpreting a result with low power
If a low-power test fails to reject, the result says very little. The true value might differ from the null value, and the test simply missed it. A non-significant result is only convincing when the test had a good chance of detecting a meaningful change. This is why power should be checked before drawing conclusions.
Reporting quality
A full report of a test includes its critical region, its size and its power at a value of interest. These three numbers tell a reader how the test behaves. Without them, a reader cannot judge whether a non-significant result reflects no effect or simply a weak test.
The role of the context
An examination question about quality often ends with a comment. Link the numbers to the setting: a power of 0.15 means a quality inspector would usually fail to notice a rise in faults. Such comments show understanding of what the probabilities mean in practice, and they usually carry a mark.
Fixed size, changing power
When comparing designs, it is common to fix the significance level and compare powers. Since discrete sizes vary, a fair comparison also mentions the sizes. A test with a slightly larger size may naturally have slightly larger power. Reporting both numbers avoids being misled by this effect.
Worked example 11: a larger sample
The test of against at the 5% level is repeated with 40 trials. The critical region is . Find the size and the power at .
| Working | Reason |
|---|---|
| Size | Use the null value for the size |
| Power | Use the true value for the power |
| Power has risen from 0.588 with 20 trials | More data make the test more sensitive |
Designing a better test
To improve a test, first decide which true values matter most. Then choose a sample size large enough to give good power at those values, while keeping the size within the level. Calculating the power for a few candidate sample sizes is usually enough. This is how real studies are planned before any data are collected.
What examiners look for
Questions on comparing tests usually want two things: correct numbers and a clear judgement. State which test has the smaller size and which has the greater power. Then say which is better overall, and why, in the context of the question. A one-line conclusion often carries the final mark.
Worked example 12: power of a two-tailed test
For the two-tailed test in worked example 9, find the power when .
| Working | Reason |
|---|---|
| The lower tail adds almost nothing | |
| The upper tail supplies the power | |
| Power | Add the two tails at the true value |
Check yourself. At the 1% level, the test of against with 20 trials has critical region . State its size.
Show the answer
The size is , much smaller than at the 5% level. The cost is lower power: at it falls to 0.252.
Reference
Results in this chapter
| Result | What it says | When to use it | In the formula booklet? |
|---|---|---|---|
| Size | The probability of a Type I error | Discrete tests | No, learn it |
| Missing a real change | Given a true value | No, learn it | |
| Power | Detecting a real change | Judging a test | No, learn it |
| Power function at = size | Links the two | Sketching power curves | No, learn it |
| Geometric tail | Geometric tests | No, learn it |
Reasoning
Proof workshop: the power of a geometric test
The claim
For a geometric test of against with critical region , the power function is . It equals the size at and increases as decreases.
Strategy
Interpret the event in terms of the individual trials, which gives the probability directly. Then substitute the null value to obtain the size. Finally, show that the function decreases as increases, by differentiating or by a direct argument about powers of a number between 0 and 1.
The key insight is that a geometric variable is at least exactly when the first trials are failures. Independence makes the probability a simple power.
The proof
The event happens exactly when the first trials all fail. The trials are independent, each failing with probability , so
This is the power function. At it is the probability of rejecting a true null hypothesis, which is the size. Differentiating with respect to ,
for and . So the power increases as decreases, that is, as the true value moves further into the alternative.
Checking every step
The first step uses independence of trials, which is part of the geometric model. The derivative uses the chain rule, with the inner derivative of equal to . The sign is negative because and the power of are both positive.
A numerical check uses the test in worked example 10, with . At the formula gives , the size. At it gives , larger as claimed.
The result explains the shape of the curve in section 5. It also shows that this test is weak for moderate changes, because even halving gives power below a quarter. Detecting such changes reliably needs more than one geometric observation.
Your turn
For the same test, find the power when .
Show a model proof
The power is . This is larger than at , as the decreasing power function predicts, but still below one half.
Practice
Practice ladder
Rung 1: Recall and fluency
Q1. For , find the critical region for testing against at the 10% level.
Worked solution to Q1
Compare the upper tails under the null value: is above 10%, but is below it. So the critical region is , the smallest tail that fits within the level.
Q2. State the size of the test in Q1.
Worked solution to Q2
The size is the probability of the critical region when the null hypothesis is true, . It is below the 10% significance level because the variable is discrete.
Q3. Counts follow . Find the critical region and its size when testing against at the 5% level.
Worked solution to Q3
Under the null rate, is above 5%, while is below it. So the critical region is , and its size is 0.0318.
Rung 2: Application
Q4. Using the test in Q3, calculate the power when .
Worked solution to Q4
The power is the probability of landing in the critical region at the true rate, . So the test detects this change less than a third of the time.
Q5. Find the probability of a Type II error for the Q3 test when .
Worked solution to Q5
A Type II error means not rejecting, so at the true rate. Its probability is , which is one minus the power found in Q4.
Q6. A 5% test of against with has critical region . Determine the size.
Worked solution to Q6
The size is the upper tail probability under the null value, . This is just below the 5% level.
Rung 3: Analysis
Q7. For the test in Q6, evaluate the power when .
Worked solution to Q7
Use the true value in the same tail: . So the test has slightly better than an even chance of detecting this change.
Q8. For , a two-tailed test of at the 5% level has critical region or . Compute its size.
Worked solution to Q8
Add the two tail probabilities under the null value. They are and , giving a size of 0.0370, below the 5% level.
Q9. Calculate the power at of the geometric test in worked example 10.
Worked solution to Q9
The power function is for this critical region. At the true value 0.15 it gives , which is very low, so small changes are rarely detected.
Rung 4: Stretch
Q10. For , test against at the 10% level. Find the critical region and its size.
Worked solution to Q10
A larger success probability makes small values likely, so the region is with . Here gives , while gives 0.1426, which is too large. So the critical region is with size 0.0975.
Q11. Suppose . Test against at the 5% level. Find the critical region and its size.
Worked solution to Q11
Compare the lower tails under the null rate: is within 5%, but is not. So the critical region is , with size 0.0293.
Q12. Deduce the power of the test in Q11 when , and comment.
Worked solution to Q12
The power is the probability of the critical region at the true rate, . Even halving the rate is detected less than half the time, so the test is weak.
Exam practice
Exam technique and worked answer workshop
How these questions are marked
M1 marks go to the right probability statement: the critical region under the null value, or the non-rejection region under the true value. A1 marks go to correct values. B1 marks go to descriptions of errors in context and to comments on power.
Always show the probabilities on both sides of a critical value. Write the true value of the parameter in every Type II or power calculation, so the examiner can see which distribution you used.
Exam question 1 (5 marks · Paper 3 · about 7 minutes)
For , a test of against is carried out at the 5% level. Find the critical region and the size of the test, and find the probability of a Type II error when . (5)
Mark scheme for exam question 1
Compares and with 0.05 M1
Critical region A1
Size 0.0480 B1
M1
A1
Exam question 2 (6 marks · Paper 3 · about 8 minutes)
Calls to a helpline arrive as per minute. A test of against uses one minute's calls at the 5% level. Find the critical region and its size, find the power when , and comment. (6)
Mark scheme for exam question 2
Compares and with 0.05 M1
Critical region A1
Size 0.0214 B1
Power M1
A1
Low power: the test usually misses this change B1
Exam question 3 (6 marks · Paper 3 · about 8 minutes)
The number of trials up to the first success is . A test of against is carried out at the 5% level. Show that the critical region is . Show that the power function is , and evaluate it at . (6)
Mark scheme for exam question 3
Uses M1
and , so A1
Power M1
A1
M1
A1
Exam question 4 (6 marks · Paper 3 · about 8 minutes)
A coin is tossed 20 times to test whether it is fair, at the 5% level, using a two-tailed test. Find the critical region and its size, and find the power when the probability of a head is 0.7. (6)
Mark scheme for exam question 4
Lower tail B1
Upper tail B1
Adds the two tail probabilities M1
Size A1
Power at uses both tails M1
A1
Exam question 5 (5 marks · Paper 3 · about 7 minutes)
A test of against uses at the 5% level. Find the critical region and its size, and find the power when . (5)
Mark scheme for exam question 5
Compares and with 0.05 M1
Critical region A1
Size 0.0464 B1
Power M1
A1
Exam question 6 (6 marks · Paper 3 · about 8 minutes)
Faults occur on a cable as per 100 m. An engineer tests against at the 5% level, rejecting when . Describe a Type I and a Type II error in context, and find their probabilities when the true rate is 8. (6)
Mark scheme for exam question 6
Type I: concluding the fault rate has risen when it is still 5 B1
Type II: failing to detect a rise in the fault rate B1
M1
A1
M1
A1
Exam question 7 (7 marks · Paper 3 · about 10 minutes)
For the test in exam question 1, evaluate the power function at , , and . Describe the shape of the power function, and explain how it would change with 40 trials. (7)
Mark scheme for exam question 7
Power M1
: 0.0480, the size A1
: 0.2447 A1
: 0.5881 A1
: 0.8725 A1
Increases with towards 1 B1
With 40 trials the curve is steeper, so the power is greater B1
Exam question 8 (6 marks · Paper 3 · about 8 minutes)
With 40 trials, the test of against at the 5% level has critical region . Find its size and its power when , and compare with the 20-trial test of exam question 1. (6)
Mark scheme for exam question 8
Size M1
A1
Power M1
A1
Smaller size than 0.0480 B1
Greater power than 0.5881, so the larger sample is better B1
Annotated model answer: exam question 2
Under the null hypothesis, is just above 5%, while is below it. M1. So the critical region is . A1. Its size, the probability of a Type I error, is 0.0214. B1.
When the true rate is 6, the power is the probability of the same region, . M1. From the tables this is . A1. The power is low, so a single minute of calls usually fails to detect a rise from 4 to 6 calls per minute. B1.
Annotated model answer: exam question 6
A Type I error is concluding that the fault rate has risen when it is still 5 per 100 m. B1. A Type II error is failing to detect a genuine rise in the fault rate. B1.
The probability of a Type I error is the size, . M1. This is . A1. The probability of a Type II error uses the true rate, . M1. From the tables this is 0.7166. A1.
Connections
Synoptic link
Hypothesis tests for Poisson and geometric models set up the critical regions whose quality is measured here. The Poisson distribution and Geometric and negative binomial distributions supply the probabilities used for sizes and powers.
Estimation, confidence intervals and normal tests extends the same ideas to continuous test statistics, where the size equals the significance level exactly. Probability generating functions gave another view of the distributions whose tails are summed in this chapter.
Synoptic question 1. A normal test statistic is continuous. Explain why its size equals the significance level exactly, unlike a binomial test.
Answer to synoptic question 1
A continuous distribution has no jumps, so a tail with probability exactly 5% can always be found. For a binomial test the tail probabilities jump, so the size usually falls below the level.
Recap
Recap and next step
- A Type I error rejects a true null hypothesis; a Type II error fails to reject a false one.
- The size is the probability of a Type I error, the probability of the critical region under the null hypothesis.
- For a discrete variable the size is usually below the significance level.
- The Type II probability uses the true value of the parameter and the non-rejection region.
- Power is one minus the Type II probability, and the power function equals the size at the null value.
- Larger samples raise power without raising size; smaller significance levels lower size but also lower power.
Next chapter: Linear regression, which models the relationship between two variables with a straight line fitted by least squares.
For your exam board
This chapter covers Pearson Edexcel A Level Further Mathematics (9FM0) Further Statistics 1 section 8: Type I and Type II errors, the size and power of a test, and the power function, for tests based on the binomial, Poisson and geometric distributions. It is assessed on Paper 3B, Further Statistics 1. Similar content appears in AQA (7367) and OCR (H245) statistics options.