Unit 2.2 – Representing Two Categorical Variables
Analyzing Two Categorical Variables:
To observe possible relationships, organize data into two-way tables for effective comparison and analysis.
To observe possible relationships, organize data into two-way tables for effective comparison and analysis.
📊 What is a Two-Way Table?
- Displays counts or percents for two categorical variables at once
- Rows = categories for one variable, columns = categories for another
- Each cell = count (or percent) for "row & column" combination
- Makes it easy to spot associations or differences
Sample Two-Way Table: Favorite Subject by Grade Level
| Grade | Math | History | Science | Total |
|---|---|---|---|---|
| 9 | 11 | 4 | 5 | 20 |
| 10 | 10 | 6 | 4 | 20 |
| 11 | 5 | 7 | 8 | 20 |
| Total | 26 | 17 | 17 | 60 |
🔑 Types of Percentages in Two-Way Tables
- Joint Proportion: Proportion for a specific combo (cell/total)
- Marginal Distribution: Sums for each row/column as a percent of total
- Conditional Distribution: Row or column percents (cell/row or cell/column total)
Formulas
\[
\text{Joint Proportion} = \frac{\text{Cell Count}}{\text{Table Total}}
\]
\[
\text{Row/Column Percent} = \frac{\text{Cell Count}}{\text{Row or Column Total}}
\]
\[
\text{Marginal Percent} = \frac{\text{Row or Column Total}}{\text{Table Total}}
\]
🖼️ Visualizing Two Categorical Variables
- Segmented Bar Chart: Bars for one variable, segments stacked by the other
- Clustered Bar Chart: Bars side-by-side for each group
- Visuals help spot associations or group differences quickly
💡 Study Tips & AP Tricks
- Always include totals (rows, columns, grand total)
- Calculate both rows and column percents to check association direction
- Don’t forget labels on tables/charts — state what each axis/cell means
- A lack of difference in conditional distributions suggests no association
- If percents differ a lot — possible association!
- Draw quick segmented bar charts for mock FRQ explanations
❌ Common Mistakes
- Forgetting to include totals (can’t interpret percents/connections)
- Mixing up row vs. column percentages
- Conflating joint, marginal, and conditional distributions
- Not labeling variables/axes in tables or graphs
- Claiming causation — remember, association ≠ causation!
Summary:
Unit 2.2 covers how to organize, summarize, and visualize two categorical variables using two-way tables, marginal/joint/conditional distributions, and bar chart variants. These tools are essential for detecting associations and clear AP Statistics explanations!
Unit 2.2 covers how to organize, summarize, and visualize two categorical variables using two-way tables, marginal/joint/conditional distributions, and bar chart variants. These tools are essential for detecting associations and clear AP Statistics explanations!