Facebook Pixel
Mathos AI logo

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:

BasketballSoccerTotal
Male201030
Female152540
Total353570
  • Joint Frequencies: These are the numbers in the body of the table. They show the intersection of two categories. For example, 2020 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, 3030 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 4040 females in total and 1515 prefer basketball, you can find the number of females who prefer soccer by subtracting: 40โˆ’15=2540 - 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.

  1. Identify the condition (the denominator): We are only looking at males. The total number of males is 3030.
  2. Identify the specific group (the numerator): Out of those males, how many prefer basketball? The table shows 2020.
  3. Calculate: 2030=23โ‰ˆ0.67\frac{20}{30} = \frac{2}{3} \approx 0.67

So, about 67%67\% of the males surveyed prefer basketball. By comparing conditional relative frequencies across different groups (like comparing the 67%67\% of males to the 1540=37.5%\frac{15}{40} = 37.5\% of females who prefer basketball), you can easily compare preferences between groups and spot meaningful trends in the data.