Relative
Frequencies
Learn to compute relative frequencies from two-way tables and interpret what the numbers mean in real-world context.
What Is a Two-Way Table?
A two-way table (also called a contingency table) organizes data by two categorical variables. Each cell shows how many observations fall into a specific combination of categories.
| Cats | Dogs | Total | |
|---|---|---|---|
| Girls | 30 | 20 | 50 |
| Boys | 15 | 35 | 50 |
| Total | 45 | 55 | 100 |
What Is Relative Frequency?
A relative frequency expresses a count as a proportion or percentage of some total. Instead of saying "30 students," we say "30 out of 100" or \( \frac{30}{100} = 0.30 \).
The key question is: which total do you divide by? That choice determines which type of relative frequency you get.
Why Do Relative Frequencies Matter?
Three Types of Relative Frequency
Joint Relative Frequency
A joint relative frequency answers: "What fraction of everyone is in this specific cell?"
| Cats | Dogs | Total | |
|---|---|---|---|
| Girls | 30 | 20 | 50 |
| Boys | 15 | 35 | 50 |
| Total | 45 | 55 | 100 |
Marginal Relative Frequency
A marginal relative frequency uses the totals in the margins (edges) of the table. It answers: "What fraction of everyone belongs to this row or column?"
| Cats | Dogs | Total | |
|---|---|---|---|
| Girls | 30 | 20 | 50 |
| Boys | 15 | 35 | 50 |
| Total | 45 | 55 | 100 |
Conditional Relative Frequency
A conditional relative frequency restricts the denominator to a specific row or column total. It answers: "Given that we are looking at this group, what proportion falls in this cell?"
| Cats | Dogs | Total | |
|---|---|---|---|
| Girls | 30 | 20 | 50 |
| Boys | 15 | 35 | 50 |
| Total | 45 | 55 | 100 |
Joint vs. Conditional
| Joint | Conditional | |
|---|---|---|
| Denominator | Grand Total | Row or Column Total |
| Question Answered | "What % of all data?" | "What % within a group?" |
| Example | \(\frac{30}{100} = 0.30\) | \(\frac{30}{50} = 0.60\) |
| Key Phrase | "of all students" | "given that" / "among" |
How to Compute Step by Step
Example 1: Sports Survey
A school surveyed 200 students about their favorite sport.
| Basketball | Soccer | Tennis | Total | |
|---|---|---|---|---|
| Freshmen | 40 | 30 | 10 | 80 |
| Sophomores | 25 | 50 | 45 | 120 |
| Total | 65 | 80 | 55 | 200 |
Example 2: Device Usage
A company surveyed 500 employees about their primary device.
| Laptop | Tablet | Phone | Total | |
|---|---|---|---|---|
| Marketing | 60 | 40 | 100 | 200 |
| Engineering | 180 | 70 | 50 | 300 |
| Total | 240 | 110 | 150 | 500 |
Example 3: Full Relative Frequency Table
Convert every cell to a joint relative frequency by dividing by the grand total (200).
| Basketball | Soccer | Tennis | Total | |
|---|---|---|---|---|
| Freshmen | 0.20 | 0.15 | 0.05 | 0.40 |
| Sophomores | 0.125 | 0.25 | 0.225 | 0.60 |
| Total | 0.325 | 0.40 | 0.275 | 1.00 |
Interpreting in Context
A number alone is not enough. You must explain what it means using the original variables.
Common Mistakes
Summary Table
| Type | Numerator | Denominator | Signal Words |
|---|---|---|---|
| Joint | Cell count | Grand total | "of all," "overall" |
| Marginal | Row or column total | Grand total | "total," "overall in category" |
| Conditional | Cell count | Row or column total | "given," "among," "of those" |
Question 1 of 5
A school surveyed 200 students. The results are shown below:
| Basketball | Soccer | Tennis | Total | |
|---|---|---|---|---|
| Freshmen | 40 | 30 | 10 | 80 |
| Sophomores | 25 | 50 | 45 | 120 |
| Total | 65 | 80 | 55 | 200 |
What is the joint relative frequency of sophomores who prefer tennis?
Question 2 of 5
Use the same sports survey data (200 students total):
| Basketball | Soccer | Tennis | Total | |
|---|---|---|---|---|
| Freshmen | 40 | 30 | 10 | 80 |
| Sophomores | 25 | 50 | 45 | 120 |
| Total | 65 | 80 | 55 | 200 |
Among freshmen, what is the relative frequency of preferring basketball?
Question 3 of 5
The marginal relative frequency of soccer in the sports survey is \(0.40\). Which interpretation is correct?
Question 4 of 5
A clinic tracked 400 patients by treatment type and recovery outcome:
| Recovered | Not Recovered | Total | |
|---|---|---|---|
| Treatment A | 150 | 50 | 200 |
| Treatment B | 120 | 80 | 200 |
| Total | 270 | 130 | 400 |
Given that a patient received Treatment A, what is the relative frequency of recovery?
Question 5 of 5
Using the clinic data, a student computes \(\dfrac{50}{200} = 0.25\) and writes: "25% of Treatment A patients did not recover." Is this interpretation correct?