Six original Cambridge-style questions on chi-squared tests for independence: expected frequencies, degrees of freedom, combining rows or columns, 2 x 2 tables without Yates' correction and commenting on the contributions.
200 shoppers are classified by age and by how they paid.
| Cash | Card | Phone | Total | |
|---|---|---|---|---|
| Under 40 | 16 | 44 | 60 | 120 |
| 40 and over | 34 | 26 | 20 | 80 |
| Total | 50 | 70 | 80 | 200 |
(a) State suitable hypotheses for a test of independence. (b) Find the expected frequency for '40 and over, cash'. (c) State the number of degrees of freedom and the critical value for a test at the 5% level.
90 adults were asked whether they used a phone in bed in the hour before sleeping and whether they woke feeling rested.
| Rested | Not rested | Total | |
|---|---|---|---|
| Phone in bed | 14 | 31 | 45 |
| No phone | 28 | 17 | 45 |
| Total | 42 | 48 | 90 |
Test, at the 1% significance level, whether feeling rested is independent of phone use in bed.
The lunch choices of a sample of Year 10 and Year 11 students are shown.
| School meal | Packed lunch | Goes home | Total | |
|---|---|---|---|---|
| Year 10 | 22 | 18 | 10 | 50 |
| Year 11 | 18 | 32 | 20 | 70 |
| Total | 40 | 50 | 30 | 120 |
Test, at the 5% significance level, whether lunch choice is independent of year group.
160 cinema-goers were asked which genre of film they prefer.
| Age | Action | Comedy | Drama | Total |
|---|---|---|---|---|
| 16-25 | 28 | 12 | 10 | 50 |
| 26-40 | 18 | 16 | 16 | 50 |
| 41-60 | 10 | 14 | 24 | 48 |
| Over 60 | 2 | 6 | 4 | 12 |
| Total | 58 | 48 | 54 | 160 |
(a) Explain why the table must be modified before a chi-squared test, and modify it suitably. (b) Test, at the 5% level, whether preferred genre is independent of age. (c) Comment on the two largest contributions.
Residents of two areas of a town were asked their opinion of a new bus route.
| In favour | No opinion | Against | Total | |
|---|---|---|---|---|
| North | 30 | 25 | 15 | 70 |
| South | 20 | 35 | 35 | 90 |
| Total | 50 | 60 | 50 | 160 |
(a) Test, at the 1% significance level, whether opinion is independent of area. (b) Which column contributes least to \(X^{2}\)? What does this tell you?
Plants were grown with fertiliser A or fertiliser B and their condition after six weeks recorded.
| Healthy | Wilted | Died | Total | |
|---|---|---|---|---|
| A | 36 | 10 | 2 | 48 |
| B | 22 | 18 | 4 | 44 |
| Total | 58 | 28 | 6 | 92 |
(a) Show that two columns must be combined, and explain which two. (b) Test, at the 5% level, whether condition is independent of fertiliser.
Mark this once you have attempted all six and checked your working. It records a Practiced badge on the topic and adds a one-time bonus. Revealing the solutions alone does not count.