CMClearMathAcademy

Two-Way Frequency Tables

A free Statistics and Data Analysis lesson from the “Two-Variable Data” unit, with a worked example and practice problems including step-by-step solutions.

A two-way table organizes counts for two categorical variables at the same time. Interior cells show joint counts, row and column totals show marginal counts, and the grand total anchors all relative frequencies. This lesson builds the habit of reading the context first, choosing the right statistical tool, calculating carefully, and then writing what the result means. By the end, students should be able to do the computation and explain why that computation answers the question.

What you'll learn

Why it matters: Two-way tables summarize survey results such as grade by club membership, device type by preference, or treatment group by outcome.

Worked example

Problem. In a two-way table, 9 of 23 students in the first row chose yes. What is the row relative frequency for yes?

  1. Use the row total as the denominator.
  2. 9/23 simplifies to 9/23.

Answer: 9/23

Lesson preview: this page shows 5 practice items. The interactive activity contains 28 practice items and 15 quiz items (typed response and multiple choice). Counts include repeated prompts and variants.

Practice problems

1. Practice case A: In a two-way table, 9 of 23 students in the first row chose yes. What is the row relative frequency for yes?

Show solution
  1. Use the row total as the denominator.
  2. 9/23 simplifies to 9/23.

Answer: 9/23

2. Practice case B: A scatter plot with points rising left to right shows:

Choices: negative association · no association · a categorical variable only · positive association

Show solution
  1. When x increases and y tends to increase, the direction is positive.
  2. That is positive association.

Answer: positive association

3. Practice case C: Correlation by itself can prove:

Choices: that the sample was random · that there are no outliers · association, not causation · cause and effect every time

Show solution
  1. Correlation measures association.
  2. It does not prove causation without a stronger design.

Answer: association, not causation

4. Practice case D: A regression line is y = 2x + 9. Predict y when x = 7.

Show solution
  1. Substitute x = 7.
  2. 2(7) + 9 = 23.

Answer: 23

5. Practice case E: A model predicts 29, but the actual value is 27. Find the residual using actual - predicted.

Show solution
  1. Residual = actual - predicted.
  2. 27 - 29 = -2.

Answer: -2

Practice this interactively with instant feedback and an AI tutor.

Practice Two-Way Frequency Tables Take the free placement check

More Statistics and Data Analysis lessons