AP Statistics Two Categorical Variables and Two-Way Tables Lesson: Notes and Examples (Free PDF)

Ap statistics two way tables lesson – Maths PDFCover of the book AP Statistics Math Lessons (PDF)Download as a PDFThe AP Statistics math lessons bookPrintable PDFSee the book ›


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

Key facts
  • 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.

Job \ YearJuniorSeniorTotalHas a job305585No job9045135Total120100220
Counts of 220 students by job status and year. Row and column totals are the marginal counts.

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?

TypeQuestion it answersExampleMarginalOne variable alone85/220 = 38.6% have a jobJointBoth traits together30/220 = 13.6% are juniors with a jobConditionalGiven one group30/120 = 25% of juniors have a job
Three kinds of relative frequency from the same two-way table.
  • 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?

Explanatoryyear in schoolResponsehas a job?Compareconditional %s
Condition on the explanatory variable, then compare the response percents.
  1. Identify the explanatory and response variables.
  2. Compute the conditional relative frequencies of the response within each explanatory group.
  3. Compare them. If they differ noticeably, there is an association.
  4. Describe it in context, with numbers.
0%20%40%60%80%100%Percent25%75%Junior55%45%SeniorJobNo jobYear in school
Segmented bar graph of the conditional distribution of job status within each year.

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.

Voter.. post

Free printable PDF

AP Statistics Two Categorical Variables and Two-Way Tables Lesson: Notes and Examples

US Letter61 KBPrints in black and white

Download PDF

More AP Statistics math

Lessons

See all

Worksheets

See all

Tests

See all

Quizzes

See all