Every relative frequency from a two-way table is a count divided by a total. The only question is which total. A joint relative frequency divides by the grand total, a marginal one uses a row or column total over the grand total, and a conditional one divides by the total of the group you are looking within.
Click a count in the table. Switch the table view to see the same data as joint or conditional relative frequencies.
Questions are written from the current table. Read the wording carefully: "of the …" or "given …" names the group you divide by.
A joint relative frequency answers "what proportion of everyone is in this row and this column?" Divide one cell by the grand total. All the joint relative frequencies add up to 1.
A marginal relative frequency divides a row total or a column total by the grand total. It describes one variable and ignores the other.
A conditional relative frequency looks only inside one group. "Of the seniors, what proportion drive?" divides the senior-and-drive cell by the senior total.
"Proportion of seniors who drive" and "proportion of drivers who are seniors" use the same cell but different denominators, so they usually give different answers.
If the conditional relative frequencies are the same in every group, the variables are not associated. If they differ, they are associated. The difference between two conditional proportions is a simple summary statistic for the association.
Later in the unit, the conditional relative frequency of A within group B is written P(A | B), read "the probability of A given B."
A survey of 250 students: 90 juniors (54 have a pet, 36 do not) and 160 seniors (80 have a pet, 80 do not).
| Question | Type | Work | Answer |
|---|---|---|---|
| What proportion of the students are juniors with a pet? | Joint | 54 ÷ 250 | 0.216 |
| What proportion of the students have a pet? | Marginal | (54 + 80) ÷ 250 | 0.536 |
| Of the juniors, what proportion have a pet? | Conditional (within juniors) | 54 ÷ 90 | 0.60 |
| Of the pet owners, what proportion are juniors? | Conditional (within pet owners) | 54 ÷ 134 | about 0.403 |
| Is class associated with having a pet? | Compare conditionals | 0.60 for juniors vs. 80 ÷ 160 = 0.50 for seniors | Yes, a difference of 0.10 |
AP-style multiple choice. Pick an answer to see the explanation.
The vocabulary for topic 2.2. Read the list, flip through flashcards, or quiz yourself. For every term in the unit, see the Unit 2 terminology guide.