Two-Way Frequency Tables
Understanding Two-Way Frequency Tables
A two-way frequency table is a visual tool used to organize and display data that pertains to two different categorical variables. By reading the rows and columns, you can easily see relationships and patterns between two groups.
Parts of a Two-Way Table
Imagine we surveyed 70 students about their favorite sport (Basketball or Soccer) and recorded their gender (Male or Female). Here is how the data looks in a two-way table:
| Basketball | Soccer | Total | |
|---|---|---|---|
| Male | 20 | 10 | 30 |
| Female | 15 | 25 | 40 |
| Total | 35 | 35 | 70 |
- Joint Frequencies: These are the numbers in the body of the table. They show the intersection of two categories. For example, 20 is a joint frequency representing males who prefer basketball.
- Marginal Frequencies: These are the numbers in the Total row and Total column. They show the total for a single category. For example, 30 is the marginal frequency of all males surveyed.
Filling in Missing Cells
Because the rows and columns must add up to their respective totals, you can easily find missing data.
If you know there are 40 females in total and 15 prefer basketball, you can find the number of females who prefer soccer by subtracting: 40โ15=25
Conditional Relative Frequencies
A relative frequency compares a specific count to a total, usually expressed as a fraction, decimal, or percentage. A conditional relative frequency looks at the proportion within a specific row or column rather than the grand total.
Example: Find the conditional relative frequency of students who prefer basketball given they are male.
- Identify the condition (the denominator): We are only looking at males. The total number of males is 30.
- Identify the specific group (the numerator): Out of those males, how many prefer basketball? The table shows 20.
- Calculate: 3020โ=32โโ0.67
So, about 67% of the males surveyed prefer basketball. By comparing conditional relative frequencies across different groups (like comparing the 67% of males to the 4015โ=37.5% of females who prefer basketball), you can easily compare preferences between groups and spot meaningful trends in the data.