← Data and scatterplots

📖 Two-way tables

The rule

  • A two-way table sorts people by two things at once, like year level and how they get to school.
  • Each cell counts the people with both features. The totals add across the rows and down the columns.
  • Counts mislead when the groups are different sizes. Compare percents instead.
  • A row percent is cell ÷ row total × 100. It answers: of this group, what share did that?
  • A column percent is cell ÷ column total × 100. It answers: of everyone who did that, what share are in this group?
  • Row and column percents are different questions. Check which total the question wants.
  • If the row percents are about the same in every row, the two things are not linked. If they differ, there may be an association.
  • An association is not a cause. Say “tends to”, not “makes”.

Examples

Year 7: 24 walk, 16 take the bus. What percent of Year 7 walk? → 60%

  1. Row total: 24 + 16 = 40.
  2. 24 ÷ 40 = 0.6
  3. 0.6 × 100 = 60%

Divide by the Year 7 row total.

WalkBusTotal
Year 7241640
Year 93070100
Total5486140

Year 9: 30 walk, 70 take the bus. What percent of Year 9 walk? → 30%

  1. Row total: 30 + 70 = 100.
  2. 30 ÷ 100 = 0.3
  3. 0.3 × 100 = 30%

Divide by the Year 9 row total.

WalkBusTotal
Year 7241640
Year 93070100
Total5486140

Which year level is more likely to walk? → Year 7, with 60% against 30%

  1. Year 7: 24 ÷ 40 = 60%
  2. Year 9: 30 ÷ 100 = 30%
  3. 60% is more than 30%, so Year 7 is more likely to walk.

Compare the row percents, not the counts.

WalkBusTotal
Year 7241640
Year 93070100
Total5486140

Of the 50 who chose pizza, what percent are in Class A? → 60%

  1. Pizza column total: 30 + 20 = 50.
  2. Class A chose pizza: 30.
  3. 30 ÷ 50 = 0.6
  4. 0.6 × 100 = 60%

Divide by the pizza column total, because the question starts from everyone who chose pizza.

PizzaSaladTotal
Class A301040
Class B204060
Total5050100

Watch out

  • “30 is more than 24, so more Year 9s walk.” No: that is a count, and Year 9 is the bigger group. Compare percents.
  • “Divide by the grand total.” No: for a row percent, divide by that row's total.
  • “Row percent and column percent are the same.” No: they use different totals and answer different questions.
Start the lesson ▶