Year 10Mathematics 70 minAC9M10ST04: construct two-way tables and discuss possible relationship between categorical variables
We are learning to
- We are learning to construct two-way tables from raw data and from partial totals.
- We are learning to use the right percentages to discuss a possible relationship between two categorical variables.
Success criteria: I can…
- I can tally coded responses into a two-way table and check the totals.
- I can calculate row and column percentages.
- I can choose the percentages that match the question and explain why.
- I can describe a possible relationship cautiously, without claiming a cause.
Key competenciesNumeracyCritical and Creative ThinkingEthical Understanding
Lesson sequence
70 min total- 1
A question about two variables
Starter 0–8 minTeacher- Write the question: "Are students who play a team sport more likely to eat breakfast on most school days?"
- Ask: What are the two variables? (plays a team sport: yes or no; eats breakfast on most school days: usually or rarely)
- Ask: Are they numerical or categorical? (both categorical)
- Ask: What display could show both at once? (a two-way table, then a segmented bar chart)
- Say: “Today we construct two-way tables, work out the right percentages and decide what kind of relationship, if any, the data suggests. All the data today is invented, and we won't collect anyone's own breakfast data.”
Students- Name the two variables and their categories.
- Suggest how to show two categorical variables together.
Question written on the board - 2
Build a table from raw responses
Main 8–23 minTeacher- Give each pair the raw response card (resources): 40 invented survey responses, each a two-letter code.
- Pairs draw a blank two-way table: rows Team sport yes, Team sport no; columns Breakfast usually, Breakfast rarely, Total; and a Total row.
- Pairs tally the 40 codes into the four inner cells, then find every total.
- Check together: YU 14, YR 6, NU 9, NR 11. Row totals 20 and 20; column totals 23 and 17; grand total 40.
- Ask: How can you check you haven't missed a response? (the row totals and the column totals must both add to 40)
- Ask: Which cell is the most common response? (team sport and breakfast usually, 14)
Students- Tally raw responses into a two-way table.
- Find row, column and grand totals and check them.
Raw response card (in resources), one per pair - 3
Which percentage answers the question?
Main 23–40 minTeacher- Say: “Raw counts can mislead when the groups are different sizes. We compare percentages, but we must choose the right ones.”
- Row percentages (within each sport group): sport yes: 14 ÷ 20 = 70% usually eat breakfast; sport no: 9 ÷ 20 = 45%.
- Column percentages (within each breakfast group): breakfast usually: 14 ÷ 23 = 60.9% play a team sport; breakfast rarely: 6 ÷ 17 = 35.3%.
- Ask: Our question is 'Are students who play a team sport more likely to eat breakfast?' Which percentages answer it? (the row percentages, because the question compares the two sport groups: 70% compared with 45%)
- Ask: What question would the column percentages answer? ("Are students who usually eat breakfast more likely to play a team sport?")
- Students draw a segmented bar chart: two bars of equal height (100%), one for each sport group, split into usually and rarely using the row percentages (70% and 30%; 45% and 55%).
- Ask: What does the chart show? (the usually section is clearly bigger for the team sport group, so there may be a relationship between the variables in this sample)
Students- Calculate row and column percentages.
- Choose the percentages that match the question and explain why.
- Draw a segmented bar chart.
Grid paper, rulers, calculators - 4
Complete a larger table
Main 40–55 minTeacher- Display the partly filled school survey table (resources): 400 invented students, year group by whether they use the library at lunch at least once a week.
- Pairs fill in the missing cells and percentages.
- Answers: Years 7 to 8: 84 yes, 126 no, total 210. Years 9 to 10: 38 yes, 152 no, total 190. Totals: 122 yes, 278 no, 400.
- Row percentages: Years 7 to 8: 84 ÷ 210 = 40% use the library; Years 9 to 10: 38 ÷ 190 = 20%.
- Ask: Is there a possible relationship between year group and library use? (yes: in this sample, younger students are twice as likely to use the library at lunch, 40% compared with 20%)
- Ask: Does being in Years 7 to 8 cause students to use the library? (no: the table shows an association, not a cause; other things could explain it, such as lunchtime clubs for younger students, older students having study periods or sport training, or the library running Year 7 activities)
Students- Fill in the missing cells using totals.
- Calculate row percentages and describe the relationship.
- Explain why the table can't show a cause.
School survey table (in resources) - 5
Exit ticket
Plenary 55–70 minTeacher- Display the exit ticket table (resources) and students answer alone.
- Questions
- 1."Complete the table totals." (phone overnight yes: 21 rested + 39 not = 60; no: 24 + 16 = 40; rested 45, not rested 55; total 100)
- 2."Calculate the percentage of each phone group who feel rested most mornings." (yes: 21 ÷ 60 = 35%; no: 24 ÷ 40 = 60%)
- 3."Write a cautious statement about a possible relationship." (In this sample, students who don't keep a phone in their bedroom overnight were more likely to feel rested most mornings, 60% compared with 35%. This suggests a possible relationship, but it doesn't show the phone causes it: other factors such as bedtime or after-school activities could be involved, and the data is invented.)
StudentsComplete the exit ticket with working and a cautious statement.
Exit ticket (in resources)
Key vocabulary
categorical variable
a variable whose values are categories, such as yes or no
two-way table
a table that counts how often each pair of categories from two variables occurs
row percentage
a cell as a percentage of its row total
column percentage
a cell as a percentage of its column total
association
a pattern where one variable's categories tend to go with the other's; it does not show a cause
segmented bar chart
bars of equal height split into parts that show percentages
Differentiation
Support
- Give the blank two-way table already drawn with the row and column labels.
- Highlight each code pair in a different colour on the raw response card before tallying.
- Provide a percentage reminder: cell ÷ row total × 100.
Extension
- Ask: "If 10 more team sport players were surveyed and 4 usually eat breakfast, does the relationship still look the same?" (sport yes becomes 18 ÷ 30 = 60% compared with 45%: weaker, but still a difference)
- Ask: "Design a two-way table where the row percentages are equal. What does that tell you?" (for example 15 of 20 and 9 of 12, both 75%: no relationship in that sample)
- Ask: "Name a third variable that could explain the breakfast pattern and say how you would collect it."
Accessibility
- Enlarge the raw response card and split it into four blocks of 10.
- Let students use a spreadsheet COUNTIF to check their tallies.
- For EAL/D learners, pre-teach row, column, total, relationship and cause with the starter question.
Assessment
- Two-way table from raw data: cells 14, 6, 9 and 11 with totals 20, 20, 23, 17 and 40.
- Percentages: row percentages 70% and 45% chosen to answer the question, with a correct segmented bar chart.
- Larger table: missing cells 126, 190, 38, 122 and 278 and row percentages 40% and 20%.
- Exit ticket: totals 60, 40, 45, 55 and 100; 35% and 60%; a cautious statement that does not claim a cause.
Resources
- Raw response card (invented): 40 students answered two questions. Code: first letter, plays a team sport (Y = yes, N = no); second letter, eats breakfast on most school days (U = usually, R = rarely). Responses: 1 YU, 2 NR, 3 YU, 4 YR, 5 YR, 6 YU, 7 NR, 8 NU, 9 YU, 10 YU, 11 NR, 12 YU, 13 NU, 14 YR, 15 NR, 16 YR, 17 NU, 18 NR, 19 NU, 20 NU, 21 YR, 22 NR, 23 YU, 24 NU, 25 NR, 26 YU, 27 YU, 28 YU, 29 NR, 30 YR, 31 NR, 32 NR, 33 NU, 34 YU, 35 NR, 36 YU, 37 YU, 38 NU, 39 YU, 40 NU.
- Answer for the raw response card: team sport yes and breakfast usually 14; team sport yes and rarely 6; team sport no and usually 9; team sport no and rarely 11. Row totals: yes 20, no 20. Column totals: usually 23, rarely 17. Grand total 40. Row percentages: 70% and 45% usually eat breakfast. Column percentages: 60.9% and 35.3% play a team sport.
- School survey table (invented, 400 students), shown partly filled: rows Years 7 to 8, Years 9 to 10, Total; columns Uses library at lunch weekly: Yes, No, Total. Given: Years 7 to 8 Yes 84, Years 7 to 8 Total 210, Years 9 to 10 No 152, grand total 400. Missing cells for students to find: Years 7 to 8 No 126 (210 − 84); Years 9 to 10 Total 190 (400 − 210); Years 9 to 10 Yes 38 (190 − 152); Yes total 122 (84 + 38); No total 278 (126 + 152).
- Exit ticket table (invented, 100 students): rows Keeps phone in bedroom overnight: Yes, No, Total; columns Feels rested most mornings: Yes, No, Total. Given: phone yes and rested 21, phone yes and not rested 39, phone no and rested 24, phone no and not rested 16. Students complete the totals, the row percentages and a cautious statement.
- Grid paper, rulers, calculators