Learn on PengiIllustrative Mathematics, Grade 8Chapter 6: Associations in Data

Lesson 3: Associations in Categorical Data

In this Grade 8 Illustrative Mathematics lesson, students explore associations in categorical data by interpreting two-way tables of frequencies and relative frequencies, and matching them to corresponding bar graphs and segmented bar graphs. Students practice calculating relative frequencies, labeling graphical representations, and using these tools to determine whether an association exists between two categorical variables, such as age and cell phone use. The lesson builds foundational data literacy skills aligned with Chapter 6: Associations in Data.

Section 1

Two-way frequency tables

Property

Patterns of association can also be seen in bivariate categorical data by displaying frequencies and relative frequencies in a two-way table.
A two-way frequency table is a convenient way of summarizing such data.
The table is 'two-way' because each bivariate datum is composed of an ordered pair of realizations from two categorical random variables.
The table is a 'frequency' table because the cell entries count the number of subjects that fall into each combination of categories.

Examples

  • A survey asks 100 students if they prefer pizza or burgers, and if they prefer soda or water. The results are organized in a 2×22 \times 2 table showing how many students fall into each of the four combinations (e.g., Pizza and Soda).
  • A clinic records the pet type (Dog, Cat, Bird) and reason for visit (Check-up, Sick). A 3×23 \times 2 two-way frequency table is used to count how many dogs came for a check-up, how many cats were sick, etc.
  • 8th graders are surveyed on their favorite school subject (Math, English, Science) and their after-school activity (Sports, Music, None). The data is tallied in a 3×33 \times 3 table to see if there are associations between subject preference and activities.

Explanation

When you have data in categories (like 'male'/'female' or 'cat'/'dog'), you can't make a scatter plot. A two-way table sorts this data into a grid, showing the counts for each combination, which helps you spot patterns.

Section 2

Constructing Segmented Bar Graphs

Property

To construct a segmented bar graph from a conditional relative frequency table:

  1. Choose one variable for the horizontal axis. Each category of this variable will become a bar.
  2. Draw a bar for each category, with the total height of each bar representing 100%100\%.
  3. Within each bar, create segments corresponding to the categories of the second variable. The height of each segment is equal to its conditional relative frequency.
  4. Include a legend to identify which segment corresponds to which category.

Examples

Book overview

Jump across lessons in the current chapter without opening the full course modal.

Continue this chapter

Chapter 6: Associations in Data

  1. Lesson 1

    Lesson 1: Does This Predict That?

  2. Lesson 2

    Lesson 2: Associations in Numerical Data

  3. Lesson 3Current

    Lesson 3: Associations in Categorical Data

Lesson overview

Expand to review the lesson summary and core properties.

Expand

Section 1

Two-way frequency tables

Property

Patterns of association can also be seen in bivariate categorical data by displaying frequencies and relative frequencies in a two-way table.
A two-way frequency table is a convenient way of summarizing such data.
The table is 'two-way' because each bivariate datum is composed of an ordered pair of realizations from two categorical random variables.
The table is a 'frequency' table because the cell entries count the number of subjects that fall into each combination of categories.

Examples

  • A survey asks 100 students if they prefer pizza or burgers, and if they prefer soda or water. The results are organized in a 2×22 \times 2 table showing how many students fall into each of the four combinations (e.g., Pizza and Soda).
  • A clinic records the pet type (Dog, Cat, Bird) and reason for visit (Check-up, Sick). A 3×23 \times 2 two-way frequency table is used to count how many dogs came for a check-up, how many cats were sick, etc.
  • 8th graders are surveyed on their favorite school subject (Math, English, Science) and their after-school activity (Sports, Music, None). The data is tallied in a 3×33 \times 3 table to see if there are associations between subject preference and activities.

Explanation

When you have data in categories (like 'male'/'female' or 'cat'/'dog'), you can't make a scatter plot. A two-way table sorts this data into a grid, showing the counts for each combination, which helps you spot patterns.

Section 2

Constructing Segmented Bar Graphs

Property

To construct a segmented bar graph from a conditional relative frequency table:

  1. Choose one variable for the horizontal axis. Each category of this variable will become a bar.
  2. Draw a bar for each category, with the total height of each bar representing 100%100\%.
  3. Within each bar, create segments corresponding to the categories of the second variable. The height of each segment is equal to its conditional relative frequency.
  4. Include a legend to identify which segment corresponds to which category.

Examples

Book overview

Jump across lessons in the current chapter without opening the full course modal.

Continue this chapter

Chapter 6: Associations in Data

  1. Lesson 1

    Lesson 1: Does This Predict That?

  2. Lesson 2

    Lesson 2: Associations in Numerical Data

  3. Lesson 3Current

    Lesson 3: Associations in Categorical Data