14.1 The language of hypothesis testing — Practise with help
Attempt each question closed book first. Write , and the significance level down before any calculation.
Warm-up: remember
- . Find and .
- A sample of 200 adults contains 30 who cycle to work. Write down the sample proportion as a decimal.
- Write as a fraction in its simplest form.
Answers
- and , each to 4 decimal places.
- .
- .
If question 1 was hard, revise the binomial probability formula before you start.
Practise with help
1. A quality inspector claims that 5% of the bolts from a machine are faulty. A sample of 40 bolts contains 5 faulty bolts. The inspector suspects that the machine now produces faults at a higher rate than the claim. Write and , and name the tail.
Hint
The claim supplies the value inside . The suspicion supplies the direction of .
Next step
Write . Ask which direction worries the inspector, then choose or for .
Full working
The claim is that the fault rate is 5%, so
The inspector suspects a higher rate, so
This is a one-tailed test on the upper tail. Under the number of faulty bolts in 40, written , has the model .
2. For each situation, state whether a one-tailed or a two-tailed test is appropriate, and give the direction of any one tail. (a) A tester suspects a die shows six too often. (b) A manager checks whether a machine has drifted away from its target in either direction. (c) A customer suspects that deliveries arrive on time less often than the company claims.
Hint
Ask whether one direction is the only concern, or whether both directions would matter.
Next step
For part (a), the words "too often" name one direction. For part (b), the words "either direction" name two.
Full working
(a) One-tailed, upper tail, because the suspicion points to too many sixes and too few is not the concern.
(b) Two-tailed, because a drift up and a drift down are both problems.
(c) One-tailed, lower tail, because the customer suspects fewer on-time deliveries than the claim.
3. . Work out . Decide the test at the 5% level and again at the 1% level.
Hint
The lower tail is the sum of the probabilities for , and .
Next step
Use the binomial formula for each of the three values, then add the three probabilities. Compare the total with and with in turn.
Full working
to 4 decimal places. At the 5% level, , so the test retains . At the 1% level, , so the test also retains . The same data can retain the claim at both levels, because the evidence is not strong at either one.
4. A test gives a p-value of . State the decision at the 5% level and at the 1% level, and explain why the two decisions differ.
Hint
Compare the p-value with each significance level separately.
Next step
Notice that is below but above . Write one comparison for each level.
Full working
At the 5% level, , so the test rejects . At the 1% level, , so the test retains .
The decisions differ because a smaller significance level demands stronger evidence. The 1% level accepts a smaller risk of wrongly rejecting a true , so the result must be more extreme before it counts.
5. A coin is tossed 24 times and shows 7 heads. Test at the 5% level whether the coin is fair. You are given for .
Hint
A fair coin has , so the hypotheses use for . The test has two tails.
Next step
Use symmetry: with , equals . Double the smaller tail before comparing with .
Full working
The hypotheses are
The value 7 is below the centre of the distribution, so the smaller tail is the lower one:
The two-tailed p-value is
Since , the test retains . There is not sufficient evidence at the 5% level to suggest the coin is not fair.
6. A test of the claim gives a p-value of . Write the conclusion in the context of the claim, and state one thing the conclusion does not mean.
Hint
A p-value above the significance level retains the claim. Then think about what the evidence can and cannot show.
Next step
Decide the test first. Then write a sentence that starts "There is not sufficient evidence…" for the context.
Full working
Since , the test retains at the 5% level. There is not sufficient evidence to suggest that the proportion differs from .
The conclusion does not mean that the proportion is exactly . It means that this sample did not provide strong enough evidence against . A larger sample might give a different verdict.