---
title: "Tables, Venns and trees"
subtitle: "Year 10 Probability · Conditional chance · Lesson 2"
---

# Tables, Venns and trees

**Name:** {{field-24}} **Date:** {{field-15}} **Class:** {{field-15}}

> **Key question:** A screening test comes back positive. Does that mean the person has the condition?


:::teacher-note

**In one sentence:** Students fill in a two-way table for 1000 people from stated rates, read the chance of the condition given a positive test inside the Positive column, and see the same four counts as a Venn diagram and a tree. The context is a made-up screening test for a rare condition (AC9M10P01, node 2).

**Students should be able to say:** I can build a two-way table from rates by starting with a group of people. I can read a chance given a group off a table, a Venn diagram or a tree. I can say why a test that is usually right can be wrong most of the time it says positive.

**Width:** the unmarked parts are the floor every student does (predict, run, investigate and make). Typical adds the modify practice; wider adds the real-world contexts. They add contexts, not difficulty. Students work in the online tutorial alongside this sheet.

:::


## Predict

<figure class="situation" role="img" aria-label="1000 people split into two boxes. The first box holds 20 people who have the condition, and the test is positive for 9 in 10 of them. The second box holds 980 people who do not have it, and the test is positive for 1 in 20 of them. Both positive counts are question marks."><svg viewBox="0 0 480 170" width="480" style="max-width:100%;height:auto" fill="none" stroke="currentColor" font-family="inherit" font-size="13"><rect x="20" y="30" width="90" height="70" rx="6" stroke-width="2"/><rect x="190" y="30" width="270" height="70" rx="6" stroke-width="2"/><g fill="currentColor" stroke="none" text-anchor="middle"><text x="65" y="22">Have it: 20</text><text x="325" y="22">Don't have it: 980</text><text x="65" y="70" font-size="20" font-weight="700">?</text><text x="325" y="70" font-size="20" font-weight="700">?</text><text x="65" y="125">positive for 9 in 10</text><text x="325" y="125">positive for 1 in 20</text><text x="240" y="158" font-size="14">positive results: ? out of 1000</text></g></svg></figure>

Make a guess before you use the board.

:::keep-together

**1000 people take the test. Someone is told they tested positive. About how likely is it that this person really has the condition?**

☐ About 1 in 20

☐ About 1 in 2

☐ About 9 in 10

☐ About 1 in 4

My prediction, and why:

{{lines-3}}

:::


:::teacher-note

**What happens:** About 1 in 4. Of the 1000 people, 18 who have the condition test positive, and so do 49 of the 980 who don't. That is 67 positives, and 18 of them have the condition: 18/67 = 0.27.

:::


## Run

Try it on the board in the tutorial. Was your prediction right? What was different?

{{lines-2}}

## Reading the table


:::keep-together

### Fill in the table

**The test is positive for 18 people who have the condition and for 49 who don't. Out of the 1000 people, how many test positive?**

Answer: {{field-15}}

:::


:::teacher-note

**Answer:** 67

18 + 49 = 67 people test positive.

:::


:::keep-together

### Given a positive test

A table, a Venn diagram and a tree all show the same four counts. Here is how to read the chance off a table.

1. $\text{A scanner checks 1000 phone cases (made up). 40 are faulty.}$ — Start from a group and sort it by the two things: faulty or not, flagged or not.
2. $36 \text{ faulty cases are flagged; } 48 \text{ of the } 960 \text{ good cases are flagged too}$ — Fill in the table from the rates: the flagged column holds 36 and 48.
3. $36 + 48 = 84 \text{ cases are flagged}$ — "Given a flag" picks this group.
4. $P(\text{faulty} \mid \text{flagged}) = \tfrac{36}{84} = \tfrac{3}{7}$ — The faulty cases inside the group, over the group.

Now try one on paper first, with the example beside you. This test is also made up. Then type your answer.

**A different screening test (made up). Of 1000 people, 50 have the condition. The test is positive for 45 of those 50 and, wrongly, for 38 of the 950 others. Given a positive test, what is the chance the person has the condition? Give a decimal to 2 places.**

Answer: {{field-15}}

:::


:::teacher-note

**Answer:** All the positives: $45 + 38 = 83$ (the group the 'given' picks); Positives with the condition: $45$ (the count you want inside the group); $45 \div 83 = 0.54$ (the part over the group)

83 people test positive, 45 of them have the condition: 45 ÷ 83 = 0.54. About 1 in 2.

:::


:::keep-together

### Find the mistake

**Maya finds the chance a person has the condition, given a positive test. Click the line where she goes wrong.**

```
 1  The test says positive. I want the chance the person has the condition.
 2  Of the 20 people who have it, 18 test positive. That is 9 in 10.
 3  So the chance of having the condition, given a positive test, is 9 in 10 = 0.9.
 4  That means a positive result is right nine times out of ten.
```

Line: {{field-15}}

Why is it wrong?

{{lines-2}}

:::


:::teacher-note

**Answer:** line 3

Line 3: 9 in 10 is the chance of a positive test, given the condition. She needs the chance of the condition, given a positive test, and the positives include 49 people without it: 18 out of 67.

:::


:::typical

## Change the test


**The tree.** 

**A better test.** 

**No false alarms.** 

Work in the tutorial. Plan first: what will you change, and how will you test it?

{{box-4}}

:::


## Reading the table


:::keep-together

### Given a positive

**Of 1000 people (made up), 100 have a condition. The test is positive for 90 of them and wrongly for 90 of the 900 others. Given a positive test, what is the chance the person has the condition? Give a decimal.**

Answer: {{field-15}}

:::


:::teacher-note

**Answer:** 0.5

180 people test positive and 90 have the condition: 90 ÷ 180 = 0.5.

:::


:::keep-together

### Given the condition

**Using the lesson's counts (18 have the condition and test positive, 2 have it and test negative, 49 don't have it and test positive, 931 don't and test negative), what is the chance of a positive test, given the person has the condition? Give a decimal.**

Answer: {{field-15}}

:::


:::teacher-note

**Answer:** 0.9

The group is the 20 people with the condition and 18 test positive: 18 ÷ 20 = 0.9.

:::


:::keep-together

### A review

**Review: of 100 people, 55 play sport, 30 play music and 10 play both. How many play neither?**

Answer: {{field-15}}

:::


:::teacher-note

**Answer:** 25

55 + 30 − 10 = 75 play something, so 100 − 75 = 25 play neither.

:::


## Make: back to the positive test


**The table.** Work this out on paper first, then type your answer.

**What to tell a friend.** Sources: every rate and count in this lesson is made up (the condition, the test, the scanner and the sport counts). A real test's rates come from the people who make it, and a doctor looks them up.

**Also used in**

- **Quality control.** A scanner that flags faulty items has false alarms too, so a flag is a clue and not a verdict.
- **Security checks.** An alarm that goes off sometimes without a reason has the same table.
- **Next lesson.** Deciding whether one thing changes the chance of another.

Work in the tutorial. Plan first: what will you change, and how will you test it?

{{box-4}}

## Exit ticket

:::keep-together

**A test is positive for 8 of the 10 people who have a condition and for 5 of the 90 who don't. Given a positive test, what is the chance a person has it?**

{{lines-3}}

:::


:::teacher-note

**Answer:** 8 out of 13 positives, 8/13 = 0.62.

:::

