Two-way frequency tables
Keep the two categorical values from each case together, place each case in one cell, and add margins. For a conditional percentage, divide a cell by the total for its explanatory group and multiply by 100.
- Keep paired records together Place a case in the cell identified by both of its categorical values \(\displaystyle \left(\text{Group A},\text{Response 1}\right)\to\text{one cell}\)
- Add every margin A row or column total is the sum of all the cell frequencies in that margin \(\displaystyle 8+12=20\)
- Use the group total For a conditional percentage, divide the cell frequency by the total for its explanatory group \(\displaystyle \frac{8}{20}=40\%\)
- Check the grand total The grand total must equal the sum of all row totals and the sum of all column totals \(\displaystyle 20+25=45\text{ (grand total)}\)
Worked example
A survey records two response categories for two explanatory groups. Group A has counts 11 and 9, and Group B has counts 6 and 14. Find both group totals and the percentage in the first response category for each group
- \(\displaystyle 11+9=20\)Add the two cells in Group A to find its total
- \(\displaystyle 6+14=20\)Add the two cells in Group B to find its total
- \(\displaystyle \frac{11}{20}=55\%\)Use the Group A total as the denominator for the first response category
- \(\displaystyle \frac{6}{20}=30\%\)Use the Group B total as the denominator for the same response category
Common mistakes
Difficulty levels
Questions about this topic
What is a two-way frequency table?+
It records frequencies for two categorical variables at the same time. Each interior cell counts cases with one category from each variable
How is a conditional percentage calculated?+
Divide the cell frequency by the total for the relevant explanatory group and multiply by 100.
Why must the grand total agree with the margin totals?+
Every case is counted once in a cell, so adding all row totals or all column totals must give the same total number of cases
Can I use a calculator?+
A calculator is allowed unless a question is marked no calculator
Which year level and chapter is this?+
Year 12, VCE Units 3 & 4, General Mathematics, chapter 2: Association between variables