Language of hypothesis testing

Language of hypothesis testing Test

Spec 5.1 · Edexcel A-Level Maths: Subtopic test

Studying this course? Keep your progress in one place.

Two ways to do this test

Question by question

One question at a time. Each answer is marked the moment you hand it in, so you learn as you go. Drago helps if you get stuck. All 10 questions, or just 5.

Exam mode

The whole paper in one go, timed like the real exam. Nothing is marked until you hand it in, then you get every mark explained.

10 questions, 27 marks

Edexcel A-Level Maths

Language of hypothesis testing

Total 27 marks

Name

Class

Date

  1. 1
    A coin is suspected of being biased towards heads. Let pp be the probability that the coin lands heads. The coin is tossed 20 times and XX is the number of heads. A hypothesis test is carried out at the 5% significance level.
    (a)
    Which pair of hypotheses should be used?
    [1 mark]
    • AH0:p>0.5, H1:p=0.5H_0:p>0.5,\ H_1:p=0.5
    • BH0:p=0.5, H1:p≠0.5H_0:p=0.5,\ H_1:p\ne0.5
    • CH0:X=10, H1:X>10H_0:X=10,\ H_1:X>10
    • DH0:p=0.5, H1:p>0.5H_0:p=0.5,\ H_1:p>0.5
    Show the mark scheme

    Mark scheme

    Answer: D
    (b)
    Which of the following is the test statistic?
    [1 mark]
    • AThe probability pp that the coin lands heads
    • BThe significance level, 5%
    • CThe number of heads, XX, in the 20 tosses
    • DThe critical value of XX
    Show the mark scheme

    Mark scheme

    Answer: C
    (c)
    The critical region for this test is X≥15X\ge15. Find the actual probability of rejecting H0H_0 when it is true.
    [2 marks]
    Show the mark scheme

    Mark scheme

    M1: P(X≥15)=1−P(X≤14)P(X\ge15)=1-P(X\le14) with X∼B(20,0.5)X\sim B(20,0.5)
    A1:
    0.02070.0207 (awrt 0.02070.0207)
    Accept:
    2.07%2.07\%

    Total for question 1: 4 marks

  2. 2
    A die is thought to be biased with respect to sixes. Let pp be the probability that the die lands on six. The die is rolled 30 times and XX is the number of sixes. The test of H0:p=16H_0:p=\frac16 against H1:p≠16H_1:p\ne\frac16 is carried out at the 10% significance level.
    (a)
    Why is this a two-tailed test?
    [1 mark]
    • AThe die has six faces
    • BH1H_1 states that pp differs from 16\frac16, in either direction
    • CThe significance level is 10%
    • DThe sample size is 30
    Show the mark scheme

    Mark scheme

    Answer: B
    (b)
    If H0H_0 is true, what is the expected value of XX?
    [1 mark]
    • A55
    • B256\frac{25}{6}
    • C16\frac16
    • D3030
    Show the mark scheme

    Mark scheme

    Answer: A
    (c)
    Find the critical region for the lower tail of this test.
    [2 marks]
    Show the mark scheme

    Mark scheme

    M1: P(X≤1)=0.0295<0.05P(X\le1)=0.0295<0.05 and P(X≤2)=0.1028>0.05P(X\le2)=0.1028>0.05
    A1:
    X≤1X\le1
    Accept:
    {0,1}\{0,1\}
    Do not accept:
    X<1X<1

    Total for question 2: 4 marks

  3. 3
    A manufacturer claims that 20% of its chocolate eggs contain a toy. A child believes that the proportion is greater than 20%. In a random sample of 25 eggs, 9 contain a toy. Let pp be the proportion of all the manufacturer's eggs that contain a toy, and let XX be the number of eggs in a sample of 25 that contain a toy.
    (a)
    State the null and alternative hypotheses, and state the distribution of XX if the null hypothesis is true.
    [3 marks]
    Show the mark scheme

    Mark scheme

    B1: H0:p=0.2H_0:p=0.2
    B1:
    H1:p>0.2H_1:p>0.2
    B1:
    X∼B(25,0.2)X\sim B(25,0.2)
    Accept: hypotheses written in words if
    pp is defined
    Do not accept: hypotheses written in terms of
    XX or xˉ\bar x
    (b)
    Carry out the test at the 5% significance level, using the pp-value, and state your conclusion in context.
    [4 marks]
    Show the mark scheme

    Mark scheme

    M1: P(X≥9)=1−P(X≤8)P(X\ge9)=1-P(X\le8) with X∼B(25,0.2)X\sim B(25,0.2)
    A1:
    pp-value =0.0468=0.0468 (awrt 0.04680.0468)
    M1: comparing with the significance level,
    0.0468<0.050.0468<0.05
    A1: reject
    H0H_0; there is evidence at the 5% level that the proportion of eggs containing a toy is greater than 20%
    Do not accept: a conclusion that says the claim is proved false

    Total for question 3: 7 marks

  4. 4
    A spinner has four sectors, one of which is red. It is suspected that the spinner is biased with respect to red. Let pp be the probability that the spinner lands on red. It is spun 40 times and XX is the number of times it lands on red. The test of H0:p=0.25H_0:p=0.25 against H1:p≠0.25H_1:p\ne0.25 is carried out at the 5% significance level.
    (a)
    Find the critical region for the test, and find the actual significance level of the test.
    [6 marks]
    Show the mark scheme

    Mark scheme

    M1: lower tail: P(X≤4)=0.0160<0.025P(X\le4)=0.0160<0.025 and P(X≤5)=0.0433>0.025P(X\le5)=0.0433>0.025
    A1:
    X≤4X\le4
    M1: upper tail:
    P(X≥17)=0.0116<0.025P(X\ge17)=0.0116<0.025 and P(X≥16)=0.0262>0.025P(X\ge16)=0.0262>0.025
    A1:
    X≥17X\ge17
    M1: adding the probabilities of the two tails,
    0.0160+0.01160.0160+0.0116
    A1:
    0.02760.0276 (awrt 0.02760.0276)
    Accept:
    2.76%2.76\%
    Accept:
    P(X≤4)=0.01604P(X\le4)=0.01604, P(X≥17)=0.01156P(X\ge17)=0.01156
    (b)
    The spinner lands on red 3 times in the 40 spins, and the critical region found in (a) is X≤4X\le4 or X≥17X\ge17.
    (i) State, with a reason, whether
    H0H_0 is rejected.
    (ii) A student says, 'This proves that
    pp is not 0.25.' Comment on this statement.
    (iii) The test is repeated at the 1% significance level. Explain what happens to the critical region and to the probability of wrongly rejecting
    H0H_0.
    [6 marks]
    Show the mark scheme

    Mark scheme

    B1: (i) 3 lies in the critical region (3≤43\le4)
    B1: (i) reject
    H0H_0; there is evidence at the 5% level that the probability of red is not 0.25
    B1: (ii) the test gives evidence, not proof

    R1: (ii) if
    p=0.25p=0.25 a result as extreme as this can still occur by chance (probability about 0.0276 for the whole critical region)
    B1: (iii) the critical region becomes smaller (
    X≤3X\le3 or X≥18X\ge18)
    B1: (iii) the probability of incorrectly rejecting
    H0H_0 is at most 1%, so it is smaller
    Accept: fewer values of
    XX lead to rejection

    Total for question 4: 12 marks

End of questions

Subtopic tests