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 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 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 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.