AP Statistics Two Categorical Variables and Two-Way Tables Lesson: Notes and Examples (Free PDF)
This ap statistics two way tables lesson covers two categorical variables and two-way tables (Common Core AP STAT 2.1, AP STAT 2.2, AP STAT 2.3, HSS-ID.B.5), with a free PDF to print.
Key takeaway: This lesson on two categorical variables and two-way tables helps AP Statistics students describe the relationship between two categories using percentages.
- Topic: Two Categorical Variables and Two-Way Tables (AP Statistics)
- Content: One-page lesson with a definition, a worked example and key facts
- Standards: AP STAT 2.1, AP STAT 2.2, AP STAT 2.3, HSS-ID.B.5
- Answers: Explanations included
- Format: Free printable PDF, US Letter, black and white
Key takeaway: A clear AP Statistics lesson on Two Categorical Variables and Two-Way Tables, with definitions, rules and worked examples: how do you organize two categorical variables, how do you decide whether two variables are associated and why can a table mislead. Read it before the practice worksheet; free to print or download as a PDF.
A two-way table summarizes two categorical variables. Marginal relative frequencies describe one variable alone, joint relative frequencies describe two traits together, and conditional relative frequencies describe one variable within a group. If the conditional distributions of the response differ across the explanatory groups, the variables are associated.
This lesson on two categorical variables and two-way tables helps AP Statistics students describe the relationship between two categories using percentages. First, you organize counts in a two-way table. Then you compare conditional percentages to see whether the variables are associated.
The lesson covers marginal, joint, and conditional relative frequencies, segmented bar graphs, association, and Simpson’s paradox. It also stresses that association is not causation. Plan about thirty-five minutes, and always say which group is the denominator when you compute a percent. Work through it in order and write every step you take.
AP Statistics · Common Core State Standards: AP STAT 2.1, AP STAT 2.2, AP STAT 2.3, HSS-ID.B.5
Key facts in this ap statistics two way tables lesson
- Two-way tables show counts for combinations of two categorical variables.
- Marginal = total / grand total; joint = cell / grand total; conditional = cell / group total.
- Compare conditional percentages of the response across explanatory groups to detect association.
- Segmented bar graphs display conditional distributions side by side.
- Association is not causation, and combined data can hide Simpson’s paradox.
How do you organize two categorical variables?
A two-way table shows how individuals fall into categories of two categorical variables at once. When one variable might explain the other, it is the explanatory variable and the other is the response variable.
Here year in school is the explanatory variable and having a job is the response variable. The totals on the edges are the marginal counts.
What are marginal, joint, and conditional relative frequencies?
- A marginal relative frequency divides a row or column total by the grand total.
- A joint relative frequency divides one cell by the grand total.
- A conditional relative frequency divides a cell by the total of the group you are given.
How do you decide whether two variables are associated?
- Identify the explanatory and response variables.
- Compute the conditional relative frequencies of the response within each explanatory group.
- Compare them. If they differ noticeably, there is an association.
- Describe it in context, with numbers.
Within juniors, \(\frac{30}{120}=25\%\) have a job. Within seniors, \(\frac{55}{100}=55\%\) do. The percents differ a lot, so seniors are more likely to have a job: year and job status are associated. A segmented bar graph makes the comparison visible.
Why can a table mislead?
Association is not causation. Being a senior does not cause a job; older students simply have more time and freedom. Also, a pattern in combined data can reverse when you split the data by a third variable, a reversal called Simpson’s paradox. Always ask whether a lurking variable could change the story.
Ap statistics two way tables lesson: questions and answers
What is the difference between joint and conditional relative frequency?
A joint relative frequency divides a single cell by the grand total, answering ‘what fraction of everyone has both traits?’ A conditional relative frequency divides by the total of a given group, answering ‘among this group, what fraction has the trait?’
How do I choose which conditional percentages to compute?
Condition on the explanatory variable. Divide each cell by its explanatory group total so each group’s response percents add to 100%.
What does it mean for two variables to be associated?
It means knowing the value of one variable helps predict the other. In a table, the conditional distributions of the response are different for different explanatory groups.
What is Simpson’s paradox?
It is a reversal in which a comparison favoring one group in the combined data flips when the data are split by a lurking variable. It happens when the groups have very different sizes across the subgroups.
Can a segmented bar graph show causation?
No. It shows association only. Causation requires a well-designed randomized experiment that controls for other variables.
Common mistakes with this ap statistics two way tables lesson
- Dividing by the grand total when a conditional percent is asked. Also, a conditional percent divides by the total of the given group, not by the whole table.
- Comparing counts instead of percents when the groups are different sizes. Convert to conditional percents so the comparison is fair.
- Concluding that a segmented bar graph proves cause. Also, it shows association only, and the data collection method decides whether cause can be claimed.
How to study this chapter
- Write the denominator in words before you divide, such as of all Grade 9 students. Then the right total is clear.
- Compare the conditional percents of the response variable across the explanatory groups. Equal percents mean no association. This habit takes about a minute and saves points later.
- Teachers can ask students to build a table with a Simpson’s paradox to see how combined data can mislead.
Download the ap statistics two way tables lesson as a PDF with the button below and keep it with your notes.
More questions about ap statistics two way tables lesson
How do you compute a conditional relative frequency?
Divide a cell count by the total of the row or column that defines the condition. If 24 of 40 sophomores own a bike, the conditional relative frequency of bike owners among sophomores is 60 percent.
How do you tell which variable is explanatory?
The explanatory variable is the one you use to explain or predict, and the response is the outcome. In a study of breakfast and grades, breakfast is explanatory and grades are the response. Write the steps in order, then check the result against the original question.
How do you complete a two-way table with missing counts?
Use the totals. Also, each cell in a row or column must add up to the row or column total, and the totals must add to the grand total. Subtract the known counts to find the missing ones.
All AP Statistics chapters: AP Statistics math.
Free printable PDF
AP Statistics Two Categorical Variables and Two-Way Tables Lesson: Notes and Examples
Download PDFMore AP Statistics math
Lessons
See allFive-Number Summary, Boxplots and Comparing Distributions Lesson: Notes and Examples
Inference for the Difference of Two Proportions Lesson: Notes and Examples
Variables and Categorical Data Displays Lesson: Notes and Examples
Conditional Probability and Independence Lesson: Notes and Examples
Significance Tests for a Proportion Lesson: Notes and Examples
Graphs of Quantitative Data and Shape Lesson: Notes and Examples
Worksheets
See allConditional Probability and Independence Worksheets with Answers
Graphs of Quantitative Data and Shape Worksheets with Answers
Inference for the Difference of Two Means Worksheets with Answers
Experimental Design and Random Assignment Worksheets with Answers
Chi-Square Tests Worksheets with Answers
Inference for the Difference of Two Proportions Worksheets with Answers
Tests
See allSampling Distributions and the Central Limit Theorem Test with Answer Key
Significance Tests for a Proportion Test with Answer Key
Binomial and Geometric Distributions Test with Answer Key
z-Scores and the Normal Distribution Test with Answer Key
t Intervals and t Tests for a Mean Test with Answer Key
Two Categorical Variables and Two-Way Tables Test with Answer Key
Quizzes
See allGraphs of Quantitative Data and Shape Quiz: 10 Questions with Answers
Confidence Intervals for a Proportion Quiz: 10 Questions with Answers
Sampling Distributions and the Central Limit Theorem Quiz: 10 Questions with Answers
Conditional Probability and Independence Quiz: 10 Questions with Answers
Experimental Design and Random Assignment Quiz: 10 Questions with Answers
Inference for the Difference of Two Proportions Quiz: 10 Questions with Answers

























