The language of hypothesis testing
mathswariz.uk/worksheets/a-level-statistics-language-of-hypothesis-testing/
Do Now
Quick questions to start. Some use earlier lessons; some set a slip that the examiners see every year.
- A1Needed today[3 marks]
. Find and .
Answer - A2Needed today[2 marks]
A council wants to know the proportion of households in a town that recycle glass. It asks households and say they do. State the population, and explain whether is the proportion for the whole town.
- A3Common slip[3 marks]
Write each of these in terms of probabilities of the form : (i) , (ii) , (iii) .
Answer - A4Common slip[2 marks]
. Ruby is asked for the probability that is at most . She writes . Explain her mistake and find the correct probability.
Answer
Examples and practice
A-LevelThe test statistic and the hypotheses
A game uses a spinner with five equal sectors. One sector is gold. Leon thinks the spinner lands on gold more often than it should. He spins it times and counts the number of times it lands on gold. (a) Describe the test statistic. (b) State the population parameter that is being tested. (c) Write down suitable null and alternative hypotheses.
- B1
A bakery says that of its loaves are underweight. A trading standards officer believes that the proportion of underweight loaves is higher than this. She weighs a random sample of loaves.
(a)[2 marks]Describe the test statistic, and give its distribution if the bakery is right.
Answer(b)[2 marks]Write down suitable null and alternative hypotheses.
Answer(c)[1 mark]State whether the test is one-tailed or two-tailed. Give a reason.
Total for B1: 5 marks
For each claim, write down and , say whether the test is one-tailed or two-tailed, and give the probability allowed in each tail of a test at the level. (i) A factory says of its bulbs are faulty; a new process is believed to have reduced this. (ii) A teacher thinks a coin is biased. (iii) A candidate believes her support is now more than the found by an earlier poll.
- B2[6 marks]
For each claim, write down and , say whether the test is one-tailed or two-tailed, and give the probability allowed in each tail of a test at the level. (i) A manager believes that the proportion of late trains, last year, has gone down. (ii) A player believes that the probability of a six on a dice has changed from . (iii) A charity thinks that more than of people now recognise its logo.
Answer
- C1[2 marks]
A phone company claims that of its customers use its app. The manager of a shop believes that the proportion of the shop's customers who use the app is lower than this. She asks a random sample of of the shop's customers, and of them use the app. Write down two suitable hypotheses.
Answer
- C2[6 marks]
Each student below has written hypotheses for a test. Say what is wrong with each, and write correct hypotheses. (i) A dice is rolled times to test whether it gives too many sixes. Sam writes , . (ii) In a sample of , people own a dog; it is claimed that of people own a dog, and Tia thinks it is more. Tia writes , . (iii) Uma tests whether a coin is biased and writes ": the coin is fair, : the coin lands heads more often".
The p-value and the decision
A survey company says that of adults in a city cycle to work at least once a week. A researcher believes that the proportion is lower. She asks a random sample of adults and say they do. She will test at the level. (a) Explain the condition under which the null hypothesis would be rejected. (b) Find the p-value and say whether is rejected.
- B3[5 marks]
A website says that of its visitors buy something. After the site is redesigned, the manager believes the proportion is higher. In a random sample of visitors, buy something. The test is at the level. Explain the condition under which the null hypothesis would be rejected, find the p-value, and say whether is rejected.
Answer
- C3[5 marks]
A delivery firm says of its parcels arrive before noon. Kai believes fewer than arrive before noon. In a random sample of parcels, arrive before noon. Kai writes: ", so reject ." Explain why Kai's method is wrong, and carry out the test correctly at the level.
Answer
- C4[6 marks]
Three students tested against , where is the proportion of voters in a town who support a new park. Their conclusions are below. Say what is wrong with each, and write a correct conclusion. (i) p-value : "Accept . Half the voters support the park." (ii) p-value : "This proves that more than half of the voters support the park." (iii) p-value : "Reject . There is not sufficient evidence that more than half support the park."
A full hypothesis test
A dentist finds that of the children she sees need a filling. After a campaign about sugar, she believes this proportion has decreased. In a random sample of children, need a filling. Test her belief at the level of significance.
- B4[6 marks]
A newsagent finds that of customers buy a newspaper. She believes that this proportion has decreased. In a random sample of customers, buy a newspaper. Test her belief at the level of significance.
Answer
A charity finds that of people stopped in the street give money. A volunteer believes a new script will increase this proportion. She uses it on a random sample of people. Test at the level (a) if people give money, (b) if people give money. You are given that, if , and .
- B5
A garden centre says that of its seeds grow into plants. A customer believes the proportion is lower. She sows a random sample of seeds and grow. She tests at the level. You are given that, if , .
(a)[1 mark]Step 1 Model: define and give its distribution if is true.
Answer(b)[2 marks]Step 2 Hypotheses: write down and .
Answer(c)[1 mark]Step 3 Level and tails.
Answer(d)[1 mark]Step 5 Compare (step 4 is given above).
Answer(e)[2 marks]Step 6 Conclude, in context.
Total for B5: 7 marks
- C5[8 marks]
A seed company states that of its tulip bulbs give red flowers. A gardener believes that a new mix of bulbs gives a higher proportion of red flowers. She plants a random sample of bulbs from the new mix and give red flowers. Test, at the level of significance, whether there is evidence to support the gardener's belief. State your hypotheses clearly.
Answer
- C6
A college says that of its students pass their driving test first time. A driving instructor claims that her students do better. Of a random sample of of her students, pass first time. Ben says, " is more than , so her students are better." Explain why Ben's reasoning is not enough, then test the instructor's claim at the level in the steps below.
(a)[1 mark]Explain why Ben's reasoning is not enough.
(b)[3 marks]Step 1 Model and Step 2 Hypotheses.
Answer(c)[3 marks]Step 3 Level and tails, and Step 4 Calculate assuming .
Answer(d)[2 marks]Step 5 Compare and Step 6 Conclude.
Total for C6: 9 marks
Exam-style questions
Edexcel exam style- D1
A shop says that of its customers use a loyalty card. The owner believes the proportion is higher. In a random sample of customers, use a loyalty card. Leah writes: ", . . , which is less than , so I accept . This proves that more customers use a loyalty card."
Leah's test is wrong.
(a)[3 marks]Identify three errors in Leah's test.
(b)[7 marks]Carry out the test correctly at the level of significance.
AnswerTotal for D1: 10 marks
- D2
A farmer claims that of the eggs from her hens hatch. A vet believes the proportion is lower. Of a random sample of eggs, hatch.
(a)[2 marks]State suitable hypotheses, defining the parameter you use.
Answer(b)[2 marks]Find the p-value, and explain in context what it measures.
Answer(c)[2 marks]Carry out the test at the level of significance.
(d)[2 marks]Carry out the test at the level of significance.
(e)[2 marks]The vet chooses the level after seeing the p-value. Explain why the level should be chosen before the data are collected.
Total for D2: 10 marks
Extension
StretchNo route is given. The hints are at the end of the sheet. Use one at a time.
- E1[9 marks]
A quality manager will take a random sample of items and test against at the level, where is the proportion of faulty items. Show that with a sample of items the test can never lead to being rejected. Find the smallest for which the test can reject , and the smallest for which exactly faulty item would lead to being rejected.
Hint 1 · What to try
The most extreme result in the direction of is faulty items. With , find and compare it with .
Hint 2 · The first line
The test can reject only if . Solve this, with logarithms or by trying values of .
Hint 3 · The full method
For faulty item the p-value is . Try values of on a calculator until it is less than .
Answer
How did it go?
Colour one circle on each line.| Not yet | Nearly | Yes | |
|---|---|---|---|
| I can describe the test statistic and write the null and alternative hypotheses in terms of the parameter p. | |||
| I can decide from the wording whether a test is one-tailed or two-tailed, and give the level in each tail. | |||
| I can say what a p-value is and compare it with the significance level. | |||
| I can write a conclusion in context that is not assertive. |
Answers and mark scheme
The worked answers and the full mark scheme are free with a Mathswariz account. Teachers and students can both sign up.
Get the answers