Two-way tables: 7 exam questions solved step by step
What this lesson covers
- A conditional probability restricts attention to one row or column of the table.
- P(A given B) and P(B given A) use different totals and are usually different.
7 questions, one rule
- Check the totals first.
- No condition: ÷ the grand total.
- "Given": ÷ that row or column total.
- Percentages: turn into counts.
Question 1 · Achieved, in context
- A Cook Strait ferry survey of 200 passengers.
- Find P(seasick), and
- P(sat outside and was not seasick).
| Seasick | Not seasick | Total | |
|---|---|---|---|
| Inside | 18 | 102 | 120 |
| Outside | 8 | 72 | 80 |
| Total | 26 | 174 | 200 |
Q1: out of everyone
- No condition: ÷ 200.
- "And" is one cell.
- 120 + 80 = 26 + 174 = 200totals agree
- P(seasick) = 26 ÷ 200column total
- = 0.13
- P(outside and not seasick)
- = 72 ÷ 200one cell
- = 0.36
Question 2 · Achieved, in context
- The same ferry survey.
- A passenger who sat inside is chosen.
- Find P(seasick | inside).
| Seasick | Not seasick | Total | |
|---|---|---|---|
| Inside | 18 | 102 | 120 |
| Outside | 8 | 72 | 80 |
| Total | 26 | 174 | 200 |
Q2: given inside
- "Given inside": that row.
- The total becomes 120.
- inside row: 18 + 102 = 120reduced total
- P(seasick | inside) = 18 ÷ 120
- = 0.15
- 18 ÷ 200 = 0.09wrong total
- of those inside, 15% seasick
Question 3 · Merit, in context
- The same survey. A seasick passenger
- is chosen. Find P(inside | seasick).
- Is it the same as P(seasick | inside)?
| Seasick | Not seasick | Total | |
|---|---|---|---|
| Inside | 18 | 102 | 120 |
| Outside | 8 | 72 | 80 |
| Total | 26 | 174 | 200 |
Q3: the other way round
- "Given seasick": a column.
- Order matters.
- seasick column: 18 + 8 = 26reduced total
- P(inside | seasick) = 18 ÷ 26
- = 0.69230…calculator
- = 0.69234 d.p.
- P(seasick | inside) = 0.15
- 0.6923 ≠ 0.15different totals
- of the seasick, 69% sat inside
Question 4 · Merit, in context
- A packhouse sorts 400 trays of avocados.
- 60% come from Orchard A.
- 5% of Orchard A's trays are rejected.
- 30 trays are rejected altogether.
- Complete the table. Pause and try it.
| Rejected | Passed | Total | |
|---|---|---|---|
| Orchard A | ? | ? | ? |
| Orchard B | ? | ? | ? |
| Total | 30 | ? | 400 |
Q4: complete the table
- Percentages to counts.
- Then subtract to fill gaps.
- A: 60% of 400 = 240
- B: 400 − 240 = 160
- A rejected: 5% of 240 = 12
- 5% of 400 = 205% of A only
- A passed: 240 − 12 = 228
- B rejected: 30 − 12 = 18
- B passed: 160 − 18 = 142
- passed: 400 − 30 = 370
- check: 228 + 142 = 370
Question 5 · Merit, in context
- The completed packhouse table.
- Find P(rejected | Orchard B).
- Compare with Orchard A in a sentence.
| Rejected | Passed | Total | |
|---|---|---|---|
| Orchard A | 12 | 228 | 240 |
| Orchard B | 18 | 142 | 160 |
| Total | 30 | 370 | 400 |
Q5: compare the orchards
- Each orchard, its own row.
- Answer in a sentence.
- P(rej | B) = 18 ÷ 160B row: 160
- = 0.1125
- P(rej | A) = 12 ÷ 240A row: 240
- = 0.05
- 0.1125 ÷ 0.05 = 2.25
- B: 2.25 times as likely
- P(B | rej) = 18 ÷ 30 = 0.6a different question
Question 6 · Excellence, in context
- A survey of 600 workers.
- 40% had the flu jab; 10% of those got flu.
- 22% of all the workers got flu.
- Find P(had the jab | got flu).
| Flu | No flu | Total | |
|---|---|---|---|
| Jab | ? | ? | ? |
| No jab | ? | ? | ? |
| Total | ? | ? | 600 |
Q6: build the table
- Every % to a count.
- Subtract to fill the rest.
- jab: 40% of 600 = 240
- jab and flu: 10% of 240 = 24
- flu: 22% of 600 = 132
- no jab: 600 − 240 = 360
- no jab and flu: 132 − 24 = 108
- jab, no flu: 240 − 24 = 216
- no jab, no flu: 360 − 108 = 252
- check: 216 + 252 = 468 = 600 − 132
Q6: given flu
- "Given flu": the flu column.
- Not the 10%.
- flu column total = 132reduced total
- P(jab | flu) = 24 ÷ 132
- = 0.181818…calculator
- = 0.18184 d.p.
- P(jab | flu) = 0.1that is P(flu | jab)
- P(flu | no jab) = 108 ÷ 360 = 0.3
- about 18% of flu cases had a jab
Question 7 · Excellence, in context
- A survey of 300 Year 12 students.
- Claim: "80% of late students had a phone
- in their room, so a phone in your room
- makes you 80% likely to be late."
- Evaluate the claim. Pause and try it.
| Late | Not late | Total | |
|---|---|---|---|
| Phone in room | 60 | 140 | 200 |
| No phone | 15 | 85 | 100 |
| Total | 75 | 225 | 300 |
Q7: test the claim
- Work out both directions.
- Then compare the rows.
- P(phone | late) = 60 ÷ 75late column
- = 0.8the 80% is right
- P(late | phone) = 60 ÷ 200phone row
- = 0.3
- claim: P(late | phone) = 0.8swaps the order
- P(late | no phone) = 15 ÷ 100
- = 0.15
- 0.3 ÷ 0.15 = 2twice as likely
- linked, but not shown to cause
The method that solved all seven
- "Given" picks the total; then say it in words.
| Step | How |
|---|---|
| No condition | divide by the grand total |
| "and" | one cell ÷ grand total |
| "given" | that row or column total |
| Order | P(A | B) ≠ P(B | A) |
| Percentages | turn them into counts first |
| In words | name the group, then compare |
Is your child on track?
Take the free placement test