Two-Way Tables Examples in Math
Start with the recap, study the fully worked examples, then use the practice problems to check your understanding of Two-Way Tables.
This page combines explanation, solved examples, and follow-up practice so you can move from recognition to confident problem-solving in Math.
Concept Recap
A table that displays frequencies for two categorical variables simultaneously, organized with one variable in rows and the other in columns. It shows joint frequencies (individual cells), marginal frequencies (row/column totals), and enables calculation of conditional frequencies.
Imagine surveying students about their favorite sport AND their grade level. A two-way table is like a grid: grades go down the side, sports go across the top, and each cell tells you how many students are in that specific combination. The totals on the edges (margins) tell you the overall counts for each category.
Read the full concept explanation โHow to Use These Examples
- Read the first worked example with the solution open so the structure is clear.
- Try the practice problems before revealing each solution.
- Use the related concepts and background knowledge badges if you feel stuck.
What to Focus On
Core idea: Two-way tables organize data by two categories to reveal relationships. Joint frequencies are the inner cells. Marginal frequencies are the totals. Conditional frequencies answer 'given one category, what proportion falls in another?'
Common stuck point: Distinguishing joint, marginal, and conditional frequencies. Joint = one specific cell. Marginal = row or column total. Conditional = cell divided by its row or column total (not the grand total).
Worked Examples
Example 1
mediumSolution
- 1 Total: 300 people; Smokers=100, Non-smokers=200
- 2 Joint: P(\text{Smoker} \cap \text{Cancer}) = 30/300 = 0.10
- 3 Marginal: P(\text{Cancer}) = 50/300 = 0.167; P(\text{Smoker}) = 100/300 = 0.333
- 4 P(\text{Cancer}|\text{Smoker}) = 30/100 = 0.30; P(\text{Cancer}|\text{Non-smoker}) = 20/200 = 0.10
Answer
Example 2
hardPractice Problems
Try these problems on your own first, then open the solution to compare your method.
Example 1
easyExample 2
hardBackground Knowledge
These ideas may be useful before you work through the harder examples.