| Two-Way Table | A table that summarizes the relationship between two categorical variables. |
| Contingency Table | Another name for a two-way table. |
| Relative Frequency | A proportion or percent found by dividing a count by an appropriate total. |
| Conditional Relative Frequency | A relative frequency found within a single row or column category. |
| Joint Relative Frequency | A cell count divided by the total number of observations in the entire table. |
| Distribution | How the values of a categorical variable are divided among its categories. |
| Side-by-Side Bar Graph | A display with separate bars for each category within each group. |
| Segmented Bar Graph | A display made by stacking the bars for a group so the total height is 100%. |
| Mosaic Plot | A segmented bar graph whose bar widths represent group sizes. |
| Association | A relationship in which knowing one categorical variable helps predict another. |
| Age Group | Column Total Used for Percents |
|---|---|
| 25 to 34 | 45,212 |
| 35 to 54 | 93,506 |
| 55 years or older | Use that column's total |
| Display | How It Is Built | What It Adds |
|---|---|---|
| Side-by-side bar graph | Separate bars for each group | Lets you compare percents category by category |
| Segmented bar graph | Stacks each group's bars to 100% | Makes the overall distributions easy to compare |
| Mosaic plot | Uses a segmented bar graph with varying widths | Shows both distributions and group sizes |
A school surveyed students about grade level and whether they play a school sport. The results are shown below.
| Sport Participation | 9th Grade | 10th Grade | 11th Grade |
|---|---|---|---|
| Plays a school sport | 18 | 24 | 14 |
| Does not play a school sport | 12 | 16 | 36 |
| Total | 30 | 40 | 50 |
(a) Identify the two categorical variables and explain why this is a two-way table.
(b) Find the conditional distribution of sport participation within 9th grade and within 11th grade.
(c) If you made a segmented bar graph from these percents, would the bars look the same or different? What would that tell you about association?
(d) Explain one reason a mosaic plot could be more informative than a segmented bar graph for this data.
Click a "Class" button next to a question to see responses.