In short
From a two-way table you can calculate three kinds of relative frequency. A joint relative frequency is a cell divided by the grand total. A marginal relative frequency is a row or column total divided by the grand total. A conditional relative frequency is a cell divided by its own row or column total: it describes one group only, and comparing conditional relative frequencies is how you judge association.
What you need to know
- Calculate joint, marginal and conditional relative frequencies.
- Choose the correct denominator for each kind of relative frequency.
- Compare groups using conditional relative frequencies.
- Describe the strength of an association in context.
Three kinds of relative frequency
Using the sport and breakfast table (300 students: sport/breakfast 90, sport/no breakfast 30, no sport/breakfast 96, no sport/no breakfast 84):
| Kind | Question it answers | Calculation |
|---|---|---|
| Joint | What fraction of all students play sport and eat breakfast? | 90/300 = 0.30 |
| Marginal | What fraction of all students play sport? | 120/300 = 0.40 |
| Marginal | What fraction of all students eat breakfast? | 186/300 = 0.62 |
| Conditional | Of the sport players, what fraction eat breakfast? | 90/120 = 0.75 |
| Conditional | Of the breakfast eaters, what fraction play sport? | 90/186 ≈ 0.48 |
Conditional distributions
A conditional distribution lists the relative frequencies of one variable within a single group of the other. For students who play sport, breakfast is yes 0.75, no 0.25. For students who don't, it is yes 96/180 ≈ 0.533, no 84/180 ≈ 0.467. These are the heights of the segments in the segmented bar chart from topic 2.1.
Notice that 90/120 (breakfast among sport players) and 90/186 (sport among breakfast eaters) use the same cell but answer different questions, so they are different numbers. Read questions carefully for which group comes after 'of' or 'among'.
Describing an association
If the conditional distributions are the same for every group, the variables are not associated. Here they differ by about 0.22 (0.75 versus 0.53), which is a fairly strong association. A good written answer: "Students who play sport are more likely to eat breakfast (75%) than students who don't play sport (53%), so in this sample sport and breakfast are associated."
On the exam
Free-response questions often give a two-way table and ask three things in a row: a joint or marginal proportion, a conditional proportion, and whether the data suggest an association. Treat each as a separate small task. For the first two, write the fraction with its denominator named in words. For the third, compare two conditional proportions that answer the question asked, and finish with a sentence in context that uses the word 'associated' and avoids any claim of cause.
Key terms
- Joint relative frequency
- A cell count divided by the grand total.
- Marginal relative frequency
- A row or column total divided by the grand total.
- Conditional relative frequency
- A cell count divided by its row or column total; a proportion within one group.
- Conditional distribution
- The relative frequencies of one variable within a single group of the other variable.
Common mistakes
Dividing by the grand total when the question says 'of those who…'.
Use the total of the group named after 'of'.
Assuming 90/120 and 90/186 are the same thing.
They condition on different groups and answer different questions.
Judging association from joint relative frequencies.
Compare conditional relative frequencies across groups.
How this topic is tested
- Write the fraction before the decimal, so the denominator you chose is visible.
- Name the group in words: 'of the 120 students who play sport'.
- For association, give two conditional proportions and say how they differ.
Practice questions
Original AP-style multiple-choice questions. Pick an answer to see the explanation.
Question 1 · SP 3 · Analyze Data
Of 500 employees, 200 work remotely; 120 of the remote workers report high job satisfaction. What is the conditional relative frequency of high satisfaction among remote workers?
Question 2 · SP 3 · Analyze Data
Using the same data, what is the joint relative frequency of 'remote and highly satisfied'?
Question 3 · SP 4 · Interpret Results
Which result would show NO association between gender and preferred sport?
Question 4 · SP 3 · Analyze Data
In the sport and breakfast data, which is the marginal relative frequency of eating breakfast?
Question 5 · SP 4 · Interpret Results
Among 80 smokers, 24 have a cough; among 220 non-smokers, 22 have a cough. Which statement is correct?
Free-response practice
Write your answer first, then mark it against the scoring guide.
Practices 3 and 4 · 4 points
A survey of 600 randomly chosen voters recorded age group and opinion on a new law. Under 40: 150 support, 100 oppose (250). 40 and over: 140 support, 210 oppose (350).
- (a) Calculate the proportion of all voters in the survey who are under 40 and support the law.
- (b) Calculate the conditional proportion who support the law in each age group.
- (c) Describe the association between age group and opinion.
Scoring guide: one point for each of the following
Part (a)
- 150/600 = 0.25.
Part (b)
- Under 40: 150/250 = 0.60.
- 40 and over: 140/350 = 0.40.
Part (c)
- Younger voters are more likely to support the law (60%) than older voters (40%), so in this sample age group and opinion are associated.
Connected topics
Frequently asked questions
Is a conditional relative frequency the same as a conditional probability?
For a randomly chosen individual from the table, yes; topic 2.6 builds conditional probability from exactly this idea.
Do I need percentages or decimals?
Either, consistently and clearly labelled.
What is Simpson's paradox?
When an association within each group reverses after combining groups, because of a lurking variable. It is a reminder to look at conditional distributions carefully.