A Level Further Maths Further Statistics Essentials includes Further Statistics: Discrete Random Variables and Expectation (Further Statistics); Further Statistics: Poisson and Geometric Distributions (Further Statistics); Further Statistics: Chi-Squared Tests (Goodness of Fit and Contingency Tables) (Further Statistics); Further Statistics: Hypothesis Testing, Type I and Type II Errors (Further Statistics); Further Statistics: Discrete Distributions Depth (Further Statistics); Further Statistics: Hypothesis Testing and Chi-Squared Depth (Further Statistics).
Method recap - Further Statistics: Chi-Squared Tests (Goodness of Fit and Contingency Tables)
- State H0 and H1 clearly: for goodness of fit, H0 is that the data follows the given distribution or ratio and H1 is that it does not; for a contingency table, H0 is that the two variables are independent and H1 is that they are associated.
- Calculate the expected frequency E for every category or cell: (hypothesised probability) x (total frequency) for goodness of fit, or (row total x column total)/grand total for each cell of a contingency table.
- Check the validity condition before testing: if any expected frequency is below 5, pool (combine) that category or cell with a neighbouring one, adding the corresponding observed frequencies, and reduce the number of categories used accordingly.
- Calculate the test statistic X^2 = sum (O-E)^2/E over every category or cell remaining after any pooling.
Worked example - Further Statistics: Chi-Squared Tests (Goodness of Fit and Contingency Tables)
A gaming die is suspected of being biased. It is rolled 120 times and the observed frequencies of each score are: score 1: 15, score 2: 25, score 3: 18, score 4: 22, score 5: 14, score 6: 26. Test, at the 5% significance level, whether the die is fair. You may use the critical value chi^2 with 5 degrees of freedom at the 5% level = 11.070.
- State the hypotheses: H0: the die is fair (each score has probability 1/6); H1: the die is not fair.
- Under H0, the expected frequency for every score is E = 120 x 1/6 = 20, and no expected frequency is below 5, so no pooling is needed.
- Calculate (O-E)^2/E for each score: (15-20)^2/20 = 1.25; (25-20)^2/20 = 1.25; (18-20)^2/20 = 0.2; (22-20)^2/20 = 0.2; (14-20)^2/20 = 1.8; (26-20)^2/20 = 1.8.
- Sum these six contributions: X^2 = 1.25 + 1.25 + 0.2 + 0.2 + 1.8 + 1.8 = 6.5.
- The degrees of freedom are v = 6 categories - 1 = 5, so compare X^2 with the given critical value 11.070.
- Final answer: since X^2 = 6.5 is less than 11.070, there is insufficient evidence at the 5% level to reject H0 - the die can be considered fair.
Question 8 - Further Statistics: Chi-Squared Tests (Goodness of Fit and Contingency Tables)
5 marks
A spinner is designed so that the probability of landing on red, blue and green is in the ratio 2:3:5. The spinner is spun 200 times, giving observed frequencies: red 36, blue 66, green 98. Test, at the 5% significance level, whether the spinner performs as designed. You may use the critical value 5.991 for 2 degrees of freedom at the 5% level.
Answer and mark scheme
Mark scheme for Question 8 [5 marks]| Question 8[5 marks] |
|---|
| Answer or working | Marks |
|---|
| expected frequencies E = 40, 60, 100 (from the 2:3:5 ratio applied to a total of 200) | 1 |
| correct unsimplified expression for X2 = (36-40)2/40 + (66-60)2/60 + (98-100)2/100correct unsimplified expression for X^2 = (36-40)^2/40 + (66-60)^2/60 + (98-100)^2/100 | 1 |
| X2 = 0.4 + 0.6 + 0.04 = 1.04X^2 = 0.4 + 0.6 + 0.04 = 1.04 | 1 |
| degrees of freedom v = 3 - 1 = 2, compares X2 with the critical value 5.991degrees of freedom v = 3 - 1 = 2, compares X^2 with the critical value 5.991 | 1 |
| since 1.04 < 5.991, do not reject H0; Final answer: X2 = 1.04, insufficient evidence at the 5% level that the spinner does not perform as designedsince 1.04 < 5.991, do not reject H0; Final answer: X^2 = 1.04, insufficient evidence at the 5% level that the spinner does not perform as designed | 1 |
Question 9 - Further Statistics: Chi-Squared Tests (Goodness of Fit and Contingency Tables)
6 marks
A survey of 100 students records their gender and whether they study Further Maths: of 50 male students, 18 study Further Maths and 32 do not; of 50 female students, 10 study Further Maths and 40 do not. Test, at the 5% significance level, whether there is an association between gender and studying Further Maths, applying Yates' continuity correction X^2 = sum (|O-E|-0.5)^2/E to this 2 by 2 table. You may use the critical value 3.841 for 1 degree of freedom at the 5% level.
Answer and mark scheme
Mark scheme for Question 9 [6 marks]| Question 9[6 marks] |
|---|
| Answer or working | Marks |
|---|
| correct row totals (50, 50), column totals (28, 72) and grand total (100) identified | 1 |
| expected frequencies E = 14, 36, 14, 36 (using (row total x column total)/grand total for each cell) | 1 |
| applies Yates' correction, using |O-E| = 4 in every cell so each numerator is (4-0.5)2 = 3.52 = 12.25applies Yates' correction, using |O-E| = 4 in every cell so each numerator is (4-0.5)^2 = 3.5^2 = 12.25 | 1 |
| correct unsimplified expression, X2 = 12.25/14 + 12.25/36 + 12.25/14 + 12.25/36correct unsimplified expression, X^2 = 12.25/14 + 12.25/36 + 12.25/14 + 12.25/36 | 1 |
| X2 = 175/72 = 2.43 (3 s.f.)X^2 = 175/72 = 2.43 (3 s.f.) | 1 |
| degrees of freedom v = (2-1)(2-1) = 1; since 2.43 < 3.841, do not reject H0; Final answer: X2 = 2.43 (3 s.f.), insufficient evidence of association between gender and studying Further Mathsdegrees of freedom v = (2-1)(2-1) = 1; since 2.43 < 3.841, do not reject H0; Final answer: X^2 = 2.43 (3 s.f.), insufficient evidence of association between gender and studying Further Maths | 1 |
Method recap - Further Statistics: Hypothesis Testing, Type I and Type II Errors
- Write down H0 and H1 in terms of the parameter (e.g. H0: lambda=5, H1: lambda<5 for a one-tailed test), and identify the significance level given.
- Find the critical region by working outwards from the extreme values of the test statistic's distribution under H0, adding one value at a time and checking the cumulative probability, stopping just before it would exceed the significance level.
- State the actual significance level of the test: the exact probability, under H0, of the test statistic falling in the critical region chosen - usually slightly less than the nominal level because the distribution is discrete.
- To find P(Type I error), use the actual significance level found above (the probability of rejecting H0 when H0 is true).
Question 9 - Further Statistics: Hypothesis Testing, Type I and Type II Errors
6 marks
A website receives spam messages at a mean rate of 8 per day. The administrator believes a new filter has increased the rate at which spam is caught and logged, and tests H0: lambda=8 against H1: lambda>8 at the 5% significance level, using X, the number of spam messages logged on a randomly chosen day. (a) Find the critical region for the test, in the form X>=c. (b) State the actual significance level of the test.
Answer and mark scheme
Mark scheme for Question 9 [6 marks]| Question 9[6 marks] |
|---|
| Answer or working | Marks |
|---|
| recognises the critical region has the form X≥c, needing the smallest c with P(X≥c) ≤ 0.05recognises the critical region has the form X>=c, needing the smallest c with P(X>=c) <= 0.05 | 1 |
| attempts cumulative Po(8) probabilities in the upper tail (e.g. finds P(X≤12) or P(X≤13))attempts cumulative Po(8) probabilities in the upper tail (e.g. finds P(X<=12) or P(X<=13)) | 1 |
| P(X≥13) = 0.0638 (3 s.f.), which is greater than 0.05, so X≥13 is not an acceptable critical regionP(X>=13) = 0.0638 (3 s.f.), which is greater than 0.05, so X>=13 is not an acceptable critical region | 1 |
| P(X≥14) = 0.0342 (3 s.f.), which is less than 0.05P(X>=14) = 0.0342 (3 s.f.), which is less than 0.05 | 1 |
| critical region is X≥14critical region is X>=14 | 1 |
| actual significance level = P(X≥14) = 0.0342 (3 s.f.); Final answer: critical region X≥14; actual significance level = 0.0342 (3 s.f.)actual significance level = P(X>=14) = 0.0342 (3 s.f.); Final answer: critical region X>=14; actual significance level = 0.0342 (3 s.f.) | 1 |
Question 10 - Further Statistics: Hypothesis Testing, Type I and Type II Errors
7 marks
A rare genetic condition is diagnosed in newborns at a mean rate of 3.5 per month at a large hospital. A new screening programme is introduced, and the hospital believes the true rate has fallen. Let X be the number of diagnoses in a randomly chosen month after the programme starts. A test of H0: lambda=3.5 against H1: lambda<3.5 is carried out at the 5% significance level. (a) Find the critical region for the test. (b) State the actual significance level of the test. (c) Given that the true mean rate after the programme is actually 1 diagnosis per month, find the probability of a Type II error.
Answer and mark scheme
Mark scheme for Question 10 [7 marks]| Question 10[7 marks] |
|---|
| Answer or working | Marks |
|---|
| recognises X ~ Po(3.5) under H0 and that the critical region has the form X≤crecognises X ~ Po(3.5) under H0 and that the critical region has the form X<=c | 1 |
| P(X≤0) = e-3.5 = 0.0302 (3 s.f.)P(X<=0) = e^-3.5 = 0.0302 (3 s.f.) | 1 |
| P(X≤1) = e-3.5(1+3.5) = 0.136 (3 s.f.), which exceeds 0.05P(X<=1) = e^-3.5(1+3.5) = 0.136 (3 s.f.), which exceeds 0.05 | 1 |
| since P(X≤0) ≤ 0.05 but P(X≤1) > 0.05, the critical region is X≤0, i.e. {0}since P(X<=0) <= 0.05 but P(X<=1) > 0.05, the critical region is X<=0, i.e. {0} | 1 |
| actual significance level = P(X≤0) = 0.0302 (3 s.f.)actual significance level = P(X<=0) = 0.0302 (3 s.f.) | 1 |
| P(Type II error) = P(X not in {0} | λ=1) = P(X≥1 | λ=1) = 1 - e-1P(Type II error) = P(X not in {0} | lambda=1) = P(X>=1 | lambda=1) = 1 - e^-1 | 1 |
| P(Type II error) = 1 - 0.368 = 0.632 (3 s.f.); Final answer: critical region {0}; actual significance level = 0.0302 (3 s.f.); P(Type II error) = 0.632 (3 s.f.) | 1 |