Level 4 · Mathematics M4.7

Statistics

Take fair samples, sum up data with numbers and charts, and compare groups.

Learn why some samples mislead and how to take a fair one. Find averages from frequency tables, draw cumulative frequency graphs, box plots and histograms, read scatter graphs and time series, and spot a graph or an average that does not tell the truth.

You are ready for this book if

You can find the mean, median and range of 8 numbers.

Written and drawn by attnom. Free to read, print and share.

M4.7.1 Chapter 1

Samples and bias

Ravi asks 20 people leaving the sports hall if they exercise every day. Do his answers tell us about the whole town?

Your guess

Pick one before you read on. It is fine to be wrong.

Your guess
  • You picked A. Read on. At the end, the chapter comes back to your guess.

  • You picked B. Read on. At the end, the chapter comes back to your guess.

  • You picked C. Read on. At the end, the chapter comes back to your guess.

By the end you can

The population is everything we want to know about: all the plants in a field, or all the people in a town. Asking every member takes too long, so we look at a few. Those few are the sample.

Ravi's town has a street with 60 people. 15 of them exercise most days. Ravi stands at the sports hall and asks 8 people leaving. 7 of them say yes.

The street has 60 people in a grid. The first 15 are the group Exercise most days, shown white. The other 45 are the group Not most days, shown dotted. Ravi's sample of 8 people is framed. 7 of the 8 are from the group Exercise most days.Exercise most daysNot most days
Framed: the 8 people Ravi asked. Almost all of them are from the small white group.

In the sample, 7 of 8 people exercise. In the street, only 15 of 60 do, which is 1 in 4. Ravi's sample gives the wrong picture. Here the cause is the place: people at a sports hall are more likely to exercise.

A sample is biased when some members of the population are more likely to be chosen than others. The results then lean one way. A bias comes from how members are chosen. A bigger sample taken the same way is just as biased.

A random sample gives every member of the population the same chance of being chosen. A fair way to make one is with random numbers. Number the members from 1 to the size of the population. Then let random numbers choose.

Draw it first

A random sample of 5 plants from a bed of 40

  1. Step 1: a bed of 40 plants numbered 1 to 40, in 4 rows of 10. Step 2: the plants chosen by random numbers are framed: 17, 36, 4, 29, 38. The label says sample of 5.12345678910111213141516171819202122232425262728293031323334353637383940

    1 Number every plant in the bed, from 1 to 40.

  2. Step 1: a bed of 40 plants numbered 1 to 40, in 4 rows of 10. Step 2: the plants chosen by random numbers are framed: 17, 36, 4, 29, 38. The label says sample of 5.12345678910111213141516171819202122232425262728293031323334353637383940sample of 5

    2 Read random numbers two digits at a time. Skip 00, any number above 40, and any repeat.

Suppose the random pairs are 82, 17, 36, 17, 04, 55, 29, 38. Plant 82 and plant 55 do not exist, so skip them. The second 17 is a repeat, so skip it. The sample is plants 17, 36, 4, 29 and 38.

Worked example

The pairs 52, 09, 17, 40, 09, 31 are random. A bed has 40 plants. Choose a sample of 4.

  1. Read the pairs in order. 52 is above 40, so skip it.
  2. 09 is plant 9. 17 is plant 17. 40 is plant 40.
  3. The second 09 is a repeat, so skip it.
  4. 31 is plant 31. The sample is plants 9, 17, 40 and 31.

Answer: Plants 9, 17, 40 and 31

A random sample can still be odd by luck. That is not bias. Bias is built into the way members are chosen. Luck changes from one sample to the next.

Sometimes a population has groups that differ. A stratified sample takes from each group in proportion to its size. A group that is half the population gives half the sample. The share from a group is group size ÷ whole population × sample size.

See it three ways

With things

A field has 60 plants: 36 in the sun, 15 in the shade and 9 by the pond. You want a sample of 20.

As a picture

A field of 60 plants in a grid, in three groups: Sun 36 plants, white. Shade 15 plants, dotted. Pond 9 plants, hatched. The 20 plants chosen are framed, in the same proportion: 12 from Sun, 5 from Shade and 3 from Pond.SunShadePond

In symbols

Sun: 36 ÷ 60 × 20 = 12. Shade: 15 ÷ 60 × 20 = 5. Pond: 9 ÷ 60 × 20 = 3. Together 12 + 5 + 3 = 20.

Inside each group, choose the members at random. Stratifying keeps the groups in proportion. Choosing at random keeps each member equally likely. If a share is not a whole number, round it and check that the total is still the sample size.

Worked example

A club has 60 members: 36 walkers and 24 cyclists. Choose a stratified sample of 10.

  1. Walkers: 36 ÷ 60 × 10 = 6.
  2. Cyclists: 24 ÷ 60 × 10 = 4.
  3. Check the total: 6 + 4 = 10, the size of the sample.
  4. Choose 6 walkers at random and 4 cyclists at random.

Answer: 6 walkers and 4 cyclists

The club has 60 members in a grid. Walkers 36 members, white. Cyclists 24 members, dotted. The 10 chosen are framed: 6 walkers and 4 cyclists.WalkersCyclists
Of the 10 chosen, 6 are walkers and 4 are cyclists, the same shares as the club.

Try it

Take a random sample with paper slips

You need: 20 small pieces of paper, a pencil, a bag or a bowl.

  1. Write the numbers 1 to 20 on the slips, one number on each. Fold them.
  2. Put the slips in the bag and shake well.
  3. Without looking, take out 5 slips one at a time and keep them out. Write the numbers.

What you will see: Every slip had the same chance. Nobody chose by looking. If you do it again you will get different numbers, and that is fine.

If you cannot try it, this is what happens.
Twenty numbered slips in 2 rows of 10, numbered 1 to 20. The slips 3, 7, 12, 16, 19 are framed: one possible sample of 5.1234567891011121314151617181920

A wrong idea many people have

A big sample cannot be biased.

Why it feels right: More people sounds like a better picture of the population.

The test that breaks it: Ravi asks 500 people at the sports hall. Most of them exercise, as before. More people from the same place repeat the same lean.

What is true: Bias comes from how members are chosen, not from how many. A smaller random sample can be fairer than a big biased one.

Key words

population
everything we want to know about.
sample
a part of the population that we look at.
biased
leaning one way, because some members are more likely to be chosen.
random sample
a sample where every member has the same chance of being chosen.
stratified sample
a sample that takes from each group in proportion to its size.

Back to your guess

The answer is B: No. People at a sports hall are more likely to exercise than other people.

People at a sports hall are more likely to exercise than the rest of the town, so his sample leans one way. Asking more people at the same place does not cure that. A fair sample gives every person in the town the same chance of being asked.

Check yourself

Try each one before you look. A wrong answer tells you where to go next.

  1. Amina wants to know how many hours people in a town sleep. Which way of choosing 50 people is the best?

    Tap your answer.
    1. Not this one. Friends are often alike, in how they live and when they sleep. Some people in the town have no chance of being asked. Go to M4.7.1. Try another.

    2. Not this one. People up before dawn are more likely to sleep fewer hours. This sample leans one way. Go to M4.7.1. Try another.

    3. Yes, that is right. Every person on the list has the same chance of being chosen, so the sample is not biased. The other two ways make some people more likely to be asked.

    See the answer

    Choose names at random from a list of everyone in the town.

    Every person on the list has the same chance of being chosen, so the sample is not biased. The other two ways make some people more likely to be asked.

    • If you chose A: Friends are often alike, in how they live and when they sleep. Some people in the town have no chance of being asked. Go to M4.7.1.
    • If you chose B: People up before dawn are more likely to sleep fewer hours. This sample leans one way. Go to M4.7.1.
  2. Ravi asks 500 people at the sports hall. He says his sample is too big to be biased. What do you say?

    Tap your answer.
    1. Yes, that is right. Bias comes from how members are chosen. Ravi chose from a place where active people are more likely to be, so more of them only repeats the lean.

    2. Not this one. Size does not remove bias. All 500 people came from a place where people who exercise are more likely to be. Go to M4.7.1. Try another.

    3. Not this one. A sample does not need to be half the population. A random sample of a few hundred can be fair for a very large population. What counts is how it is chosen. Go to M4.7.1. Try another.

    See the answer

    A big sample can still be biased if the way of choosing favours some people.

    Bias comes from how members are chosen. Ravi chose from a place where active people are more likely to be, so more of them only repeats the lean.

    • If you chose B: Size does not remove bias. All 500 people came from a place where people who exercise are more likely to be. Go to M4.7.1.
    • If you chose C: A sample does not need to be half the population. A random sample of a few hundred can be fair for a very large population. What counts is how it is chosen. Go to M4.7.1.
  3. What makes a sample random?

    Tap your answer.
    1. Not this one. Choosing by eye lets the picker's own ideas decide. Some members are then more likely to be chosen than others. Go to M4.7.1. Try another.

    2. Yes, that is right. That is what random means in statistics. It does not depend on size or on looks.

    3. Not this one. In everyday talk "random" can mean careless. Picking fast tends to favour members that are quick to reach. A random sample gives every member the same chance. Go to M4.7.1. Try another.

    4. Not this one. A large sample can be biased. What makes a sample random is the equal chance for every member. Go to M4.7.1. Try another.

    See the answer

    Every member of the population has the same chance of being chosen.

    That is what random means in statistics. It does not depend on size or on looks.

    • If you chose A: Choosing by eye lets the picker's own ideas decide. Some members are then more likely to be chosen than others. Go to M4.7.1.
    • If you chose C: In everyday talk "random" can mean careless. Picking fast tends to favour members that are quick to reach. A random sample gives every member the same chance. Go to M4.7.1.
    • If you chose D: A large sample can be biased. What makes a sample random is the equal chance for every member. Go to M4.7.1.
  4. Plants in a bed are numbered 1 to 40. Random pairs are 47, 12, 38, 12, 05, 26. Which plants are in a sample of 4?

    A bed of 40 plants numbered 1 to 40, in 4 rows of 10. None is framed yet.12345678910111213141516171819202122232425262728293031323334353637383940
    Tap your answer.
    1. Not this one. There is no plant 47, because the bed has 40 plants. A number that is too big is skipped. A plant also cannot be chosen twice. Go to M4.7.1. Try another.

    2. Not this one. A plant cannot be in the sample twice. The second 12 is a repeat, so skip it. Go to M4.7.1. Try another.

    3. Not this one. The plants have two digit numbers, so read the digits two at a time, not one at a time. Go to M4.7.1. Try another.

    4. Yes, that is right. 47 is above 40, so skip it. Then 12 and 38 are chosen. The second 12 is a repeat. The pair 05 is plant 5, and 26 is plant 26, which fills the sample.

    See the answer

    Plants 12, 38, 5 and 26

    47 is above 40, so skip it. Then 12 and 38 are chosen. The second 12 is a repeat. The pair 05 is plant 5, and 26 is plant 26, which fills the sample.

    • If you chose A: There is no plant 47, because the bed has 40 plants. A number that is too big is skipped. A plant also cannot be chosen twice. Go to M4.7.1.
    • If you chose B: A plant cannot be in the sample twice. The second 12 is a repeat, so skip it. Go to M4.7.1.
    • If you chose C: The plants have two digit numbers, so read the digits two at a time, not one at a time. Go to M4.7.1.
  5. A population of 80 has two groups, A with 48 members and B with 32. A stratified sample of 10 is wanted. How many come from group A?

    A population of 80 in a grid. Group A 48 members, white. Group B 32 members, dotted.Group AGroup B
    Tap your answer.
    1. Not this one. You took the same number from each group. Group A is bigger than group B, so it must give more. Go to M4.7.1. Try another.

    2. Yes, that is right. Group A is 48 ÷ 80 of the population, so it gives 48 ÷ 80 × 10 = 6 of the sample.

    3. Not this one. That is the share for group B, 32 ÷ 80 × 10. Group A is the bigger group. Go to M4.7.1. Try another.

    See the answer

    6

    Group A is 48 ÷ 80 of the population, so it gives 48 ÷ 80 × 10 = 6 of the sample.

    • If you chose A: You took the same number from each group. Group A is bigger than group B, so it must give more. Go to M4.7.1.
    • If you chose C: That is the share for group B, 32 ÷ 80 × 10. Group A is the bigger group. Go to M4.7.1.
  6. A radio show asks listeners to phone in a vote on a new bus route. Why is the result likely to be biased?

    Tap your answer.
    1. Yes, that is right. People choose themselves. Those who feel strongly are more likely to phone, and people who do not listen cannot. So some members are more likely than others to be in the sample.

    2. Not this one. A miscount is a mistake in counting. Bias is different. Even a perfect count would lean one way, because only some people choose to vote. Go to M4.7.1. Try another.

    3. Not this one. Listeners decide for themselves whether to vote. That is not random: people who care a lot are more likely to take part. Go to M4.7.1. Try another.

    See the answer

    Only people who listen and care enough to phone take part.

    People choose themselves. Those who feel strongly are more likely to phone, and people who do not listen cannot. So some members are more likely than others to be in the sample.

    • If you chose B: A miscount is a mistake in counting. Bias is different. Even a perfect count would lean one way, because only some people choose to vote. Go to M4.7.1.
    • If you chose C: Listeners decide for themselves whether to vote. That is not random: people who care a lot are more likely to take part. Go to M4.7.1.
  7. A garden has 90 plants: 60 bean plants and 30 pea plants. A stratified sample of 15 is wanted. How many bean plants are in it?

    See the answer

    10

    Bean plants are 60 ÷ 90 of the garden. 60 ÷ 90 × 15 = 10. Check: peas give 30 ÷ 90 × 15 = 5, and 10 + 5 = 15.

  8. A field has 100 plants: 40 beans, 35 peas and 25 maize. A stratified sample of 20 is wanted. How many maize plants are in it?

    See the answer

    5

    Maize is 25 ÷ 100 of the field. 25 ÷ 100 × 20 = 5. Check: beans 8 and peas 7, and 8 + 7 + 5 = 20.

Keep it

Copy this into your exercise book.

A sample is biased if some members are more likely to be chosen. A random sample gives every member the same chance. A stratified sample takes group ÷ whole × sample size from each group.

Draw: A grid of squares with two groups and a few squares framed, and the share sum under it.

M4.7.2 Chapter 2

Averages from frequency tables

Mei opens 25 pea pods and counts the peas in each. How can she find the mean number of peas without adding 25 numbers?

Your guess

Pick one before you read on. It is fine to be wrong.

Your guess
  • You picked A. Read on. At the end, the chapter comes back to your guess.

  • You picked B. Read on. At the end, the chapter comes back to your guess.

  • You picked C. Read on. At the end, the chapter comes back to your guess.

By the end you can

Mei opens 25 pods. Instead of writing 25 numbers, she writes a frequency table. It lists each number of peas, and the frequency, f, which is how many pods have that number.

The number of peas in 25 pods. The head is peas x, pods f. Row 1: 3, 2. Row 2: 4, 5. Row 3: 5, 9. Row 4: 6, 6. Row 5: 7, 3.peas xpods f3245596673
Two pods have 3 peas. Five pods have 4 peas. Nine pods have 5 peas.

To find the mean we need two totals: the number of peas, and the number of pods. A row of the table is a group of equal values. Nine pods with 5 peas each hold 9 × 5 = 45 peas. So multiply x by f for every row.

Draw it first

Build the mean from the table

  1. Step 1: the table of x and f for 25 pods. The head is peas x, pods f. Row 1: 3, 2. Row 2: 4, 5. Row 3: 5, 9. Row 4: 6, 6. Row 5: 7, 3. Step 2: a third column f × x and a total row. The head is peas x, pods f, f × x. Row 1: 3, 2, 6. Row 2: 4, 5, 20. Row 3: 5, 9, 45. Row 4: 6, 6, 36. Row 5: 7, 3, 21. Row 6: total, 25, 128.peas xpods f3245596673

    1 Write each number of peas, x, and its frequency, f.

  2. Step 1: the table of x and f for 25 pods. The head is peas x, pods f. Row 1: 3, 2. Row 2: 4, 5. Row 3: 5, 9. Row 4: 6, 6. Row 5: 7, 3. Step 2: a third column f × x and a total row. The head is peas x, pods f, f × x. Row 1: 3, 2, 6. Row 2: 4, 5, 20. Row 3: 5, 9, 45. Row 4: 6, 6, 36. Row 5: 7, 3, 21. Row 6: total, 25, 128.peas xpods ff × x3264520594566367321total25128

    2 Add a column f × x. Add up the f column and the f × x column. The totals are 25 pods and 128 peas.

The mean is the total of all the values divided by how many values there are. In symbols, mean = ∑fx ÷ ∑f. The sign ∑ means "add up". So ∑fx = 128 is the total number of peas, and ∑f = 25 is the number of pods.

Worked example

Find the mean number of peas in a pod, from the table of 25 pods.

  1. Multiply each x by f: 3 × 2 = 6, 4 × 5 = 20, 5 × 9 = 45, 6 × 6 = 36 and 7 × 3 = 21.
  2. Add the f × x column: 6 + 20 + 45 + 36 + 21 = 128. That is the number of peas.
  3. Add the frequencies: 2 + 5 + 9 + 6 + 3 = 25. That is the number of pods.
  4. Mean = 128 ÷ 25 = 5.12 peas in a pod.

Answer: 5.12 peas in a pod

A wrong idea many people have

The mean of a frequency table is the mean of the x column.

Why it feels right: The x column lists the values, so it looks like the data.

The test that breaks it: The x values 3, 4, 5, 6 and 7 have mean 5. But 9 pods have more than 5 peas and only 7 have fewer, so the real mean is a little above 5. It is 5.12.

What is true: Each x counts f times. Multiply x by f first, then divide by the total frequency, not by the number of rows.

See it three ways

With things

A bowl holds 10 pods. Four pods have 2 peas each and six pods have 5 peas each.

As a picture

Ten pods in a grid in two groups: 2 peas, white, 4 pods; 5 peas, dotted, 6 pods.2 peas5 peas

In symbols

f × x: 4 × 2 = 8 and 6 × 5 = 30. ∑fx = 38 peas. ∑f = 10 pods. Mean = 38 ÷ 10 = 3.8.

Now measured data. Times and heights are often grouped in classes. The table of 40 journey times below says 4 journeys took 0 or more minutes but under 10. We no longer know each time, only its class.

The times of 40 journeys, in classes. The midpoint of a class is the number halfway between its ends. The head is t (min), f, midpoint. Row 1: 0 ≤ t < 10, 4, 5. Row 2: 10 ≤ t < 20, 11, 15. Row 3: 20 ≤ t < 30, 15, 25. Row 4: 30 ≤ t < 40, 7, 35. Row 5: 40 ≤ t < 50, 3, 45.t (min)fmidpoint0 ≤ t < 104510 ≤ t < 20111520 ≤ t < 30152530 ≤ t < 4073540 ≤ t < 50345
0 ≤ t < 10 means 0 or more, but under 10 minutes.
A bar chart of 40 journey times. The x axis is time t (min) with class edges 0, 10, 20, 30, 40 and 50. The y axis is journeys. The bars have heights 4, 11, 15, 7 and 3.0481216411157301020304050time t (min)journeys
The classes have equal widths, so the height of a bar is the frequency.

To find a mean we need one value for each class. We use the midpoint, the number halfway between the two ends of the class. For 10 ≤ t < 20 the midpoint is (10 + 20) ÷ 2 = 15. We pretend every journey in the class took 15 minutes.

This is a guess, so the answer is only an estimate. Some journeys took less than 15 minutes and some more. We hope the errors cancel.

Worked example

Estimate the mean journey time from the table of 40 journeys.

  1. The midpoints are 5, 15, 25, 35 and 45.
  2. Multiply each midpoint by f: 5 × 4 = 20, 15 × 11 = 165, 25 × 15 = 375, 35 × 7 = 245 and 45 × 3 = 135.
  3. Add them: 20 + 165 + 375 + 245 + 135 = 940.
  4. Estimate of the mean = 940 ÷ 40 = 23.5 minutes.

Answer: 23.5 minutes

The midpoint x, the frequency f and f × x for each class of the journey times. The head is x, f, f × x. Row 1: 5, 4, 20. Row 2: 15, 11, 165. Row 3: 25, 15, 375. Row 4: 35, 7, 245. Row 5: 45, 3, 135.xff × x542015111652515375357245453135
The f × x column adds up to 940. The f column adds up to 40.

How far can the estimate be wrong? If every journey took the least its class allows, the mean would be 740 ÷ 40 = 18.5. If every journey took almost the most, it would be about 1 140 ÷ 40 = 28.5. The true mean lies between 18.5 and 28.5, and 23.5 sits in the middle.

A number line of times in minutes, from 18 to 29. Three dots are labelled 18.5, 23.5 and 28.5. They mark the least the mean could be, the estimate, and the most it could be.18192021222324252627282918.523.528.5
Times in minutes. The dots are the least the mean could be, the estimate, and the most it could be.

Now the median. With n values in order, the median is the (n + 1) ÷ 2 th value. For 25 pods it is the 13th pod. From a table we cannot see the 13th value, but we can see which row holds it. Add up the frequencies until the running total reaches 13.

The 25 pods in order of size, numbered 1 to 25 in 3 rows. Pods 1 to 7 have 3 or 4 peas, white. Pods 8 to 16 have 5 peas, dotted. Pods 17 to 25 have 6 or 7 peas, hatched. Pod 13 is framed: it is the median pod.123456789101112131415161718192021222324253 or 4 peas5 peas6 or 7 peas
Pod 13 is the middle one of 25. It lies in the group with 5 peas.

Worked example

Find the class that holds the median of the 40 journey times.

  1. There are 40 values. The median is the (40 + 1) ÷ 2 = 20.5th value.
  2. The 20.5th value is not in the first two classes, which hold 4 + 11 = 15 values.
  3. It is in the third class, because the first three classes hold 15 + 15 = 30 values.
  4. So the median is in the class 20 ≤ t < 30.

Answer: The class 20 ≤ t < 30

We can name the class that holds the median, but not the median itself. The most common class is the modal class, the one with the greatest frequency. Here that is also 20 ≤ t < 30.

Try it

Throw a die 20 times

You need: a die from a game, paper and a pencil.

  1. Throw the die 20 times. After each throw, put a tally mark by that number.
  2. Write the frequency table: x is the face, f is the number of tallies.
  3. Work out f × x for each row, add them up, and divide by 20.

What you will see: The mean is close to 3.5, the mean of the six faces. Your 20 throws may not give exactly 3.5, and that is fine.

If you cannot try it, this is what happens.
One set of 20 throws of a die. The totals are 20 throws and 72 in f × x, so the mean is 3.6. The head is face x, throws f, f × x. Row 1: 1, 2, 2. Row 2: 2, 4, 8. Row 3: 3, 3, 9. Row 4: 4, 5, 20. Row 5: 5, 3, 15. Row 6: 6, 3, 18. Row 7: total, 20, 72.face xthrows ff × x122248339452053156318total2072

Key words

frequency table
a table that lists each value and how many times it happens.
midpoint
the number halfway between the two ends of a class.
estimate
an answer that is close, not exact, because some information is missing.
modal class
the class with the greatest frequency.

Back to your guess

The answer is C: Multiply each number of peas by how many pods have it, add these up, then divide by the number of pods.

The table says 2 pods have 3 peas, 5 pods have 4 peas, and so on. Multiply each number of peas by its number of pods, and add: 128 peas in all. Then divide by the 25 pods. The mean is 128 ÷ 25 = 5.12 peas in a pod.

Check yourself

Try each one before you look. A wrong answer tells you where to go next.

  1. The table shows the seeds in 20 pods. What is the mean number of seeds in a pod?

    The seeds in 20 pods. The head is seeds x, pods f. Row 1: 1, 5. Row 2: 2, 8. Row 3: 3, 4. Row 4: 4, 3.seeds xpods f15283443
    Tap your answer.
    1. Not this one. You found the mean of the numbers 1, 2, 3 and 4, and ignored how many pods have each. Multiply each x by its f first. Go to M4.7.2. Try another.

    2. Not this one. 45 is the total number of seeds, ∑fx. The mean is the total divided by the number of pods. Go to M4.7.2. Try another.

    3. Not this one. You found the mean of the frequencies 5, 8, 4 and 3. The mean wanted is of the seeds in a pod, not of the numbers of pods. Go to M4.7.2. Try another.

    4. Yes, that is right. 1 × 5 + 2 × 8 + 3 × 4 + 4 × 3 = 5 + 16 + 12 + 12 = 45 seeds. There are 5 + 8 + 4 + 3 = 20 pods. 45 ÷ 20 = 2.25.

    See the answer

    2.25

    1 × 5 + 2 × 8 + 3 × 4 + 4 × 3 = 5 + 16 + 12 + 12 = 45 seeds. There are 5 + 8 + 4 + 3 = 20 pods. 45 ÷ 20 = 2.25.

    • If you chose A: You found the mean of the numbers 1, 2, 3 and 4, and ignored how many pods have each. Multiply each x by its f first. Go to M4.7.2.
    • If you chose B: 45 is the total number of seeds, ∑fx. The mean is the total divided by the number of pods. Go to M4.7.2.
    • If you chose C: You found the mean of the frequencies 5, 8, 4 and 3. The mean wanted is of the seeds in a pod, not of the numbers of pods. Go to M4.7.2.
  2. The table shows the heights of 30 plants in classes. Which is the best estimate of the mean height?

    The heights of 30 plants in classes. The head is height h (cm), f. Row 1: 0 ≤ h < 10, 3. Row 2: 10 ≤ h < 20, 9. Row 3: 20 ≤ h < 30, 12. Row 4: 30 ≤ h < 40, 6.height h (cm)f0 ≤ h < 10310 ≤ h < 20920 ≤ h < 301230 ≤ h < 406
    Tap your answer.
    1. Not this one. You found the mean of the midpoints 5, 15, 25 and 35, and ignored the frequencies. More plants are in the middle classes, so the mean is higher. Go to M4.7.2. Try another.

    2. Yes, that is right. The midpoints are 5, 15, 25 and 35. 5 × 3 + 15 × 9 + 25 × 12 + 35 × 6 = 15 + 135 + 300 + 210 = 660. Then 660 ÷ 30 = 22.

    3. Not this one. 660 is the total ∑fx. The mean is the total divided by the number of plants. Go to M4.7.2. Try another.

    4. Not this one. You used the lowest value of each class, not the midpoint. The midpoint stands for the whole class. Go to M4.7.2. Try another.

    See the answer

    22 cm

    The midpoints are 5, 15, 25 and 35. 5 × 3 + 15 × 9 + 25 × 12 + 35 × 6 = 15 + 135 + 300 + 210 = 660. Then 660 ÷ 30 = 22.

    • If you chose A: You found the mean of the midpoints 5, 15, 25 and 35, and ignored the frequencies. More plants are in the middle classes, so the mean is higher. Go to M4.7.2.
    • If you chose C: 660 is the total ∑fx. The mean is the total divided by the number of plants. Go to M4.7.2.
    • If you chose D: You used the lowest value of each class, not the midpoint. The midpoint stands for the whole class. Go to M4.7.2.
  3. Waiting times of 45 visitors are in classes. Which class holds the median?

    The waiting times of 45 visitors in classes. The head is wait t (min), f. Row 1: 0 ≤ t < 10, 12. Row 2: 10 ≤ t < 20, 20. Row 3: 20 ≤ t < 30, 6. Row 4: 30 ≤ t < 40, 4. Row 5: 40 ≤ t < 50, 3.wait t (min)f0 ≤ t < 101210 ≤ t < 202020 ≤ t < 30630 ≤ t < 40440 ≤ t < 503
    Tap your answer.
    1. Yes, that is right. There are 45 values, so the median is the (45 + 1) ÷ 2 = 23rd. The first class holds 12 values. Adding the second gives 12 + 20 = 32, so the 23rd is in the second class.

    2. Not this one. That is the middle class by position, the third of five. The median is the middle value, and 12 + 20 = 32 values already lie below 20. Go to M4.7.2. Try another.

    3. Not this one. This class holds only the first 12 values. The median is the 23rd, so we must go further up. Go to M4.7.2. Try another.

    See the answer

    10 ≤ t < 20

    There are 45 values, so the median is the (45 + 1) ÷ 2 = 23rd. The first class holds 12 values. Adding the second gives 12 + 20 = 32, so the 23rd is in the second class.

    • If you chose B: That is the middle class by position, the third of five. The median is the middle value, and 12 + 20 = 32 values already lie below 20. Go to M4.7.2.
    • If you chose C: This class holds only the first 12 values. The median is the 23rd, so we must go further up. Go to M4.7.2.
  4. What is the midpoint of the class 40 ≤ h < 60?

    Tap your answer.
    1. Not this one. That is the lower end of the class. The midpoint is halfway between the two ends. Go to M4.7.2. Try another.

    2. Not this one. That is the width of the class, 60 − 40. The midpoint is a place on the scale, halfway along it. Go to M4.7.2. Try another.

    3. Yes, that is right. The midpoint is (40 + 60) ÷ 2 = 50.

    4. Not this one. That is the upper end of the class. The midpoint is halfway between 40 and 60. Go to M4.7.2. Try another.

    See the answer

    50

    The midpoint is (40 + 60) ÷ 2 = 50.

    • If you chose A: That is the lower end of the class. The midpoint is halfway between the two ends. Go to M4.7.2.
    • If you chose B: That is the width of the class, 60 − 40. The midpoint is a place on the scale, halfway along it. Go to M4.7.2.
    • If you chose D: That is the upper end of the class. The midpoint is halfway between 40 and 60. Go to M4.7.2.
  5. Why is a mean worked out from grouped data only an estimate?

    Tap your answer.
    1. Not this one. Grouping still counts every value. It hides where each value lies inside its class. Go to M4.7.2. Try another.

    2. Yes, that is right. The exact values are hidden by the classes. The midpoint is our best single guess for each class.

    3. Not this one. Some values are below the midpoint and some above. The errors can go either way and often cancel. Go to M4.7.2. Try another.

    See the answer

    We know only which class each value is in, so we use the midpoint as its value.

    The exact values are hidden by the classes. The midpoint is our best single guess for each class.

    • If you chose A: Grouping still counts every value. It hides where each value lies inside its class. Go to M4.7.2.
    • If you chose C: Some values are below the midpoint and some above. The errors can go either way and often cancel. Go to M4.7.2.
  6. In a frequency table, what does f × x give for one row?

    Tap your answer.
    1. Not this one. The number of values in the row is f, the frequency. Multiplying by x gives their total. Go to M4.7.2. Try another.

    2. Not this one. Every value in the row is x, so the mean of the row is just x. f × x is their total. Go to M4.7.2. Try another.

    3. Yes, that is right. If f values are each equal to x, they add up to f × x. The mean is then the sum of these totals divided by ∑f.

    See the answer

    The total of all the values in that row.

    If f values are each equal to x, they add up to f × x. The mean is then the sum of these totals divided by ∑f.

    • If you chose A: The number of values in the row is f, the frequency. Multiplying by x gives their total. Go to M4.7.2.
    • If you chose B: Every value in the row is x, so the mean of the row is just x. f × x is their total. Go to M4.7.2.
  7. From an earlier chapter

    A garden has 80 plants and 30 of them are herbs. A stratified sample of 16 is wanted. How many herbs are in it?

    See the answer

    6

    Herbs are 30 ÷ 80 of the garden. 30 ÷ 80 × 16 = 6.

  8. Pods hold 1, 2, 3, 4 or 5 peas. The numbers of pods are 3, 5, 6, 4 and 2. What is the mean number of peas in a pod?

    See the answer

    2.85

    1 × 3 + 2 × 5 + 3 × 6 + 4 × 4 + 5 × 2 = 3 + 10 + 18 + 16 + 10 = 57 peas. There are 3 + 5 + 6 + 4 + 2 = 20 pods. 57 ÷ 20 = 2.85.

  9. Plant heights, in four classes of width 10 cm from 0 to 40 cm, have frequencies 2, 6, 8 and 4. Estimate the mean height.

    See the answer

    22 cm

    The classes are 0 ≤ h < 10 and so on, so the midpoints are 5, 15, 25 and 35. 5 × 2 + 15 × 6 + 25 × 8 + 35 × 4 = 10 + 90 + 200 + 140 = 440. Then 440 ÷ 20 = 22.

Keep it

Copy this into your exercise book.

Mean = ∑fx ÷ ∑f. For classes, use midpoints and say estimate. Median place = (n + 1) ÷ 2: add the frequencies until the running total reaches it.

Draw: A table with columns x, f and f × x, and the two totals under it.

M4.7.3 Chapter 3

Cumulative frequency

A bus company times 80 journeys and sorts the times into classes. How can one graph show the middle time, and how many journeys took under 25 minutes?

Your guess

Pick one before you read on. It is fine to be wrong.

Your guess
  • You picked A. Read on. At the end, the chapter comes back to your guess.

  • You picked B. Read on. At the end, the chapter comes back to your guess.

  • You picked C. Read on. At the end, the chapter comes back to your guess.

By the end you can

The table shows the times of 80 bus journeys. A cumulative frequency is a running total. It tells how many values are below the top of a class.

The times of 80 bus journeys in classes, with the frequency f and the cumulative frequency cf of each class. The head is t (min), f, cf. Row 1: 0 ≤ t < 10, 4, 4. Row 2: 10 ≤ t < 20, 7, 11. Row 3: 20 ≤ t < 30, 18, 29. Row 4: 30 ≤ t < 40, 22, 51. Row 5: 40 ≤ t < 50, 18, 69. Row 6: 50 ≤ t < 60, 11, 80.t (min)fcf0 ≤ t < 104410 ≤ t < 2071120 ≤ t < 30182930 ≤ t < 40225140 ≤ t < 50186950 ≤ t < 601180
4 + 7 = 11, then 11 + 18 = 29, and so on. The last total is all 80 journeys.

Look at the class 10 ≤ t < 20. Every journey in it took under 20 minutes. So the running total of 11 is the number of journeys under 20 minutes. It belongs at 20, the upper boundary of the class, not at its middle.

Draw it first

Draw the cumulative frequency graph

  1. A graph with the x axis time t (min) and the y axis cumulative frequency. Step 1 plots dots at (0, 0), (10, 4), (20, 11), (30, 29), (40, 51), (50, 69) and (60, 80). Step 2 joins them with straight lines. Step 3 marks the median with a dashed line across from 40 and down to 35. The dot is named median.10203040506010203040506070800time t (min)cumulative frequency

    1 Plot (upper boundary, cumulative frequency) for each class. Start at (0, 0), because no journey took under 0 minutes.

  2. A graph with the x axis time t (min) and the y axis cumulative frequency. Step 1 plots dots at (0, 0), (10, 4), (20, 11), (30, 29), (40, 51), (50, 69) and (60, 80). Step 2 joins them with straight lines. Step 3 marks the median with a dashed line across from 40 and down to 35. The dot is named median.10203040506010203040506070800time t (min)cumulative frequency

    2 Join the points with straight lines. The graph never goes down, and ends at 80.

  3. A graph with the x axis time t (min) and the y axis cumulative frequency. Step 1 plots dots at (0, 0), (10, 4), (20, 11), (30, 29), (40, 51), (50, 69) and (60, 80). Step 2 joins them with straight lines. Step 3 marks the median with a dashed line across from 40 and down to 35. The dot is named median.median10203040506010203040506070800time t (min)cumulative frequency

    3 To find the median, go across from 40, half of 80, to the graph. Then go down to the time axis.

The graph lets us read other values. How many journeys took under 25 minutes? Go up from 25 on the time axis to the graph, then across to the cumulative frequency axis. The reading is 20.

Joining the points with straight lines treats the journeys in each class as spread evenly along it. So a reading between two plotted points is an estimate. Some books draw a smooth curve instead, and its readings differ a little.

The same graph, with the x axis time t (min) and the y axis cumulative frequency. A dot named A is at (25, 20). A dot named B is at (40, 51). Dashed lines run from each dot down to the time axis and across to the cumulative frequency axis.AB10203040506010203040506070800time t (min)cumulative frequency
A: about 20 journeys took under 25 minutes. B: 51 journeys took under 40 minutes.

Worked example

How many of the 80 journeys took 40 minutes or more?

  1. Read up from 40 minutes on the time axis. The graph shows 51 journeys.
  2. Check with the table of cumulative frequencies: 4 + 7 + 18 + 22 = 51.
  3. The others took 40 minutes or more. There are 80 journeys in all.
  4. 80 − 51 = 29 journeys.

Answer: 29 journeys

Now the median and the quartiles. The median is the middle value. The lower quartile, Q1, has a quarter of the values below it. The upper quartile, Q3, has three quarters of the values below it.

For 80 values we read the graph at 40 for the median, 20 for Q1 and 60 for Q3. Why 40, and not the 40.5th value of chapter 2? The graph does not show 80 separate journeys. Its height at a time is how many journeys took less than that time. The median is the time with half the journeys below it. Half of 80 is 40, so we read across from 40.

In the same way Q1 has a quarter below it, so we read at 80 ÷ 4 = 20. The graph is an estimate made from classes. Reading at 40.5 instead of 40 gives about 35.2 minutes, not 35, and that small gap does not matter here. For a short list of separate values we count instead, as the next chapter shows.

The same graph, with the x axis time t (min) and the y axis cumulative frequency. Three dots on it have dashed lines to both axes. Q1 is at (25, 20), the median at (35, 40) and Q3 at (45, 60).Q1medianQ310203040506010203040506070800time t (min)cumulative frequency
Q1 is read at 20, the median at 40 and Q3 at 60.

Worked example

Read the median and the two quartiles of the 80 journey times from the graph.

  1. The median is read at 80 ÷ 2 = 40. Across to the graph and down gives an estimate of 35 minutes.
  2. Q1 is read at 80 ÷ 4 = 20. Across to the graph and down gives an estimate of 25 minutes.
  3. Q3 is read at 3 × 80 ÷ 4 = 60. Across to the graph and down gives an estimate of 45 minutes.

Answer: The median is 35 minutes. The lower quartile is 25 minutes and the upper quartile is 45 minutes.

The interquartile range, IQR, is Q3 − Q1. It is the length of the middle half of the data. The range, highest minus lowest, depends on two extreme values. A single odd value can change it a lot. The IQR leaves out the lowest quarter and the highest quarter, so one odd value cannot move it much.

Worked example

Find the interquartile range of the journey times.

  1. From the graph, the upper quartile is 45 minutes.
  2. The lower quartile is 25 minutes.
  3. IQR = Q3 − Q1 = 45 − 25 = 20 minutes.
  4. The middle half of the journeys fit within a spread of 20 minutes.

Answer: 20 minutes

See it three ways

With things

Line up 80 journeys from the shortest to the longest. Split the line into four equal groups. Walk to the end of the first group, the second group, and the third group.

As a picture

Eighty journeys in a grid of four rows, in four groups of 20: lowest quarter, second quarter, third quarter and highest quarter. The 20th, 40th and 60th journeys are framed. They mark Q1, the median and Q3.lowest quartersecond quarterthird quarterhighest quarter

In symbols

80 ÷ 4 = 20. 80 ÷ 2 = 40. 3 × 80 ÷ 4 = 60. Read the graph at 20, 40 and 60.

Try it

Graph the lengths of 20 sticks

You need: 20 sticks between 10 cm and 60 cm long, a ruler, squared paper.

  1. Measure each stick. Sort them into classes: 10 ≤ L < 20, 20 ≤ L < 30 and so on up to 60.
  2. Write the frequencies, then the running totals.
  3. Plot (upper boundary, running total), starting at (10, 0). Join the points with straight lines. Read the median at 10.

What you will see: The line never goes down, because a running total never goes down. It ends at 20, the number of sticks. Here, the median is about 35 cm.

If you cannot try it, this is what happens.
A cumulative frequency graph for 20 sticks. The x axis is length L (cm) from 0 to 60. The y axis is cumulative frequency from 0 to 20. Straight lines join dots at (10, 0), (20, 2), (30, 6), (40, 14), (50, 18) and (60, 20). The dot named median is at (35, 10), with dashed lines to both axes.median102030405060481216200length L (cm)cumulative frequency

A wrong idea many people have

Plot each cumulative frequency at the middle of its class.

Why it feels right: Bar charts and mean calculations use the middle of a class, so it seems natural here too.

The test that breaks it: The running total of 11 for 10 ≤ t < 20 counts journeys that took under 20 minutes. If it were plotted at 15, the graph would say that 11 journeys took under 15 minutes. That is not known.

What is true: A running total up to the end of a class belongs at the upper boundary of that class.

Key words

cumulative frequency
a running total of the frequencies.
upper boundary
the top end of a class, where its cumulative frequency is plotted.
quartile
a value that splits ordered data into quarters. Q1 has a quarter below it, Q3 a quarter above.
interquartile range
the upper quartile minus the lower quartile, the length of the middle half of the data.

Back to your guess

The answer is C: Plot the running total of the frequencies, then read across from half of 80, which is 40.

A running total of the frequencies is plotted, and the graph is read at 40, half of 80. Reading across from 40 to the graph and down to the time axis gives the median. The middle class by position can be the wrong class. The class with the highest frequency is the modal class, not the median.

Check yourself

Try each one before you look. A wrong answer tells you where to go next.

  1. Heights of 60 plants are in classes. Which point do you plot for the class 20 ≤ h < 30?

    The heights of 60 plants in classes. The head is h (cm), f. Row 1: 0 ≤ h < 10, 4. Row 2: 10 ≤ h < 20, 5. Row 3: 20 ≤ h < 30, 15. Row 4: 30 ≤ h < 40, 15. Row 5: 40 ≤ h < 50, 12. Row 6: 50 ≤ h < 60, 9.h (cm)f0 ≤ h < 10410 ≤ h < 20520 ≤ h < 301530 ≤ h < 401540 ≤ h < 501250 ≤ h < 609
    Tap your answer.
    1. Not this one. The running total belongs at the upper boundary of the class, not at its middle. All 24 plants are under 30 cm. Go to M4.7.3. Try another.

    2. Not this one. 15 is the frequency of this class. A cumulative frequency adds the classes before it: 4 + 5 + 15. Go to M4.7.3. Try another.

    3. Not this one. The running total of 24 counts plants under 30 cm, so it is plotted at 30, not at the lower boundary 20. Go to M4.7.3. Try another.

    4. Yes, that is right. The running total up to this class is 4 + 5 + 15 = 24 plants. They are all under 30 cm, so the point is at the upper boundary: (30, 24).

    See the answer

    (30, 24)

    The running total up to this class is 4 + 5 + 15 = 24 plants. They are all under 30 cm, so the point is at the upper boundary: (30, 24).

    • If you chose A: The running total belongs at the upper boundary of the class, not at its middle. All 24 plants are under 30 cm. Go to M4.7.3.
    • If you chose B: 15 is the frequency of this class. A cumulative frequency adds the classes before it: 4 + 5 + 15. Go to M4.7.3.
    • If you chose C: The running total of 24 counts plants under 30 cm, so it is plotted at 30, not at the lower boundary 20. Go to M4.7.3.
  2. This graph shows the heights of the 60 plants. What is the median height?

    A cumulative frequency graph of 60 plants. The x axis is height h (cm) from 0 to 60. The y axis is plants from 0 to 60. Straight lines join dots at (0, 0), (10, 4), (20, 9), (30, 24), (40, 39), (50, 51) and (60, 60).102030405060153045600height h (cm)plants
    Tap your answer.
    1. Yes, that is right. Half of 60 is 30. Read across from 30 to the graph, then down: the median is 34 cm.

    2. Not this one. 30 is the place to read at, half of 60. You must then go across to the graph and down to the height axis. Go to M4.7.3. Try another.

    3. Not this one. 24 is the cumulative frequency at a height of 30 cm. It is a number of plants, not a height. Read across from 30, then down. Go to M4.7.3. Try another.

    4. Not this one. 45 is the place where the upper quartile is read, 3 × 60 ÷ 4. The median is read at half of 60. Go to M4.7.3. Try another.

    See the answer

    34 cm

    Half of 60 is 30. Read across from 30 to the graph, then down: the median is 34 cm.

    • If you chose B: 30 is the place to read at, half of 60. You must then go across to the graph and down to the height axis. Go to M4.7.3.
    • If you chose C: 24 is the cumulative frequency at a height of 30 cm. It is a number of plants, not a height. Read across from 30, then down. Go to M4.7.3.
    • If you chose D: 45 is the place where the upper quartile is read, 3 × 60 ÷ 4. The median is read at half of 60. Go to M4.7.3.
  3. For some data, Q1 = 22 and Q3 = 41. What is the interquartile range?

    Tap your answer.
    1. Not this one. You added the two quartiles. The interquartile range is the difference, Q3 − Q1. Go to M4.7.3. Try another.

    2. Not this one. 41 is the upper quartile itself. The interquartile range is how far Q3 is above Q1. Go to M4.7.3. Try another.

    3. Yes, that is right. IQR = Q3 − Q1 = 41 − 22 = 19.

    See the answer

    19

    IQR = Q3 − Q1 = 41 − 22 = 19.

    • If you chose A: You added the two quartiles. The interquartile range is the difference, Q3 − Q1. Go to M4.7.3.
    • If you chose B: 41 is the upper quartile itself. The interquartile range is how far Q3 is above Q1. Go to M4.7.3.
  4. Why is the interquartile range often a better measure of spread than the range?

    Tap your answer.
    1. Not this one. The IQR uses only the middle half of the data. That is the reason one odd value cannot change it much. Go to M4.7.3. Try another.

    2. Yes, that is right. The range depends on the two most extreme values. The IQR looks at the middle half only.

    3. Not this one. The IQR is part of the range, so it is never bigger. The middle half cannot be wider than all of the data. Go to M4.7.3. Try another.

    See the answer

    It leaves out the lowest and highest quarters, so one odd value cannot change it much.

    The range depends on the two most extreme values. The IQR looks at the middle half only.

    • If you chose A: The IQR uses only the middle half of the data. That is the reason one odd value cannot change it much. Go to M4.7.3.
    • If you chose C: The IQR is part of the range, so it is never bigger. The middle half cannot be wider than all of the data. Go to M4.7.3.
  5. Use the graph of the 60 plants. How many plants are shorter than 40 cm?

    The cumulative frequency graph of 60 plants. The x axis is height h (cm) from 0 to 60. The y axis is plants from 0 to 60. Dots at (0, 0), (10, 4), (20, 9), (30, 24), (40, 39), (50, 51) and (60, 60) are joined by straight lines.102030405060153045600height h (cm)plants
    Tap your answer.
    1. Not this one. 15 is the frequency of the class 30 ≤ h < 40. Plants under 40 cm include the lower classes too. Go to M4.7.3. Try another.

    2. Not this one. 21 plants are 40 cm or more, since 60 − 39 = 21. The question asks how many are shorter. Go to M4.7.3. Try another.

    3. Yes, that is right. Read up from 40 on the height axis. The graph is at 39 plants.

    4. Not this one. 24 is the reading at 30 cm. The question asks about 40 cm. Go to M4.7.3. Try another.

    See the answer

    39

    Read up from 40 on the height axis. The graph is at 39 plants.

    • If you chose A: 15 is the frequency of the class 30 ≤ h < 40. Plants under 40 cm include the lower classes too. Go to M4.7.3.
    • If you chose B: 21 plants are 40 cm or more, since 60 − 39 = 21. The question asks how many are shorter. Go to M4.7.3.
    • If you chose D: 24 is the reading at 30 cm. The question asks about 40 cm. Go to M4.7.3.
  6. A graph shows 80 values. At which cumulative frequency do you read the upper quartile?

    Tap your answer.
    1. Not this one. You read the lower quartile, a quarter of 80. The upper quartile is three quarters of the way up. Go to M4.7.3. Try another.

    2. Not this one. You read the median, half of 80. The upper quartile is higher up. Go to M4.7.3. Try another.

    3. Not this one. You took 75% of 100. The quartile place depends on the number of values, so it is three quarters of 80. Go to M4.7.3. Try another.

    4. Yes, that is right. The upper quartile is three quarters of the way up: 3 × 80 ÷ 4 = 60.

    See the answer

    60

    The upper quartile is three quarters of the way up: 3 × 80 ÷ 4 = 60.

    • If you chose A: You read the lower quartile, a quarter of 80. The upper quartile is three quarters of the way up. Go to M4.7.3.
    • If you chose B: You read the median, half of 80. The upper quartile is higher up. Go to M4.7.3.
    • If you chose C: You took 75% of 100. The quartile place depends on the number of values, so it is three quarters of 80. Go to M4.7.3.
  7. From an earlier chapter

    Using the table of 80 bus journeys, estimate the mean journey time. Use the midpoints of the classes.

    See the answer

    34.5 minutes

    The midpoints are 5, 15, 25, 35, 45 and 55. 5 × 4 + 15 × 7 + 25 × 18 + 35 × 22 + 45 × 18 + 55 × 11 = 20 + 105 + 450 + 770 + 810 + 605 = 2 760. Then 2 760 ÷ 80 = 34.5.

  8. The lower quartile of some data is 31 and the upper quartile is 52. What is the interquartile range?

    See the answer

    21

    IQR = Q3 − Q1 = 52 − 31 = 21.

  9. A cumulative frequency graph of 60 values reads 42 at a height of 40 cm. How many values are 40 cm or more?

    See the answer

    18

    42 values are under 40 cm. The rest are 40 cm or more: 60 − 42 = 18.

Keep it

Copy this into your exercise book.

Cumulative frequency is a running total, plotted at the upper boundary. Read the median at n ÷ 2, Q1 at n ÷ 4, Q3 at 3n ÷ 4. IQR = Q3 − Q1.

Draw: A rising line through points, with dashed lines from 20, 40 and 60 on the upright axis down to the other axis.

M4.7.4 Chapter 4

Box plots

Two groups of plants have the same median height. How can I show in one small picture that one group is much more spread out?

Your guess

Pick one before you read on. It is fine to be wrong.

Your guess
  • You picked A. Read on. At the end, the chapter comes back to your guess.

  • You picked B. Read on. At the end, the chapter comes back to your guess.

  • You picked C. Read on. At the end, the chapter comes back to your guess.

By the end you can

Amina grows 11 bean plants in the sun. After two weeks their heights in centimetres, in order, are 12, 15, 17, 18, 20, 22, 23, 25, 27, 30, 31.

Five values sum up the list: the smallest, the lower quartile Q1, the median, the upper quartile Q3 and the largest. A box plot draws these five values on one scale.

For a short list, we find them like this. This is not the n ÷ 4 reading of the last chapter. A graph reads a running total. A short list has separate values, so we count them. The median is the middle value. Split the ordered list into a lower half and an upper half. If the list has an odd number of values, leave the middle value out of both halves. Q1 is the median of the lower half. Q3 is the median of the upper half.

Worked example

Find the five key values of Amina's 11 heights: 12, 15, 17, 18, 20, 22, 23, 25, 27, 30, 31.

  1. There are 11 values, so the median is the (11 + 1) ÷ 2 = 6th value, which is 22.
  2. Leave 22 out. The lower half is 12, 15, 17, 18, 20. Its middle value is the 3rd, so Q1 = 17.
  3. The upper half is 23, 25, 27, 30, 31. Its middle value is the 3rd, so Q3 = 27.
  4. The smallest value is 12 and the largest is 31.

Answer: Smallest 12, lower quartile 17, median 22, upper quartile 27, largest 31

Draw it first

Draw the box plot

  1. Three steps on one scale, height (cm), from 10 to 35. The plot is named Sun. Step 1 marks five dots at 12, 17, 22, 27 and 31. Step 2 draws a line from 12 to 31. Step 3 draws a box from 17 to 27 with a thick line at 22.1222311727Sun101520253035height (cm)

    1 Draw a scale and mark the five key values: 12, 17, 22, 27 and 31.

  2. Three steps on one scale, height (cm), from 10 to 35. The plot is named Sun. Step 1 marks five dots at 12, 17, 22, 27 and 31. Step 2 draws a line from 12 to 31. Step 3 draws a box from 17 to 27 with a thick line at 22.1222311727Sun101520253035height (cm)

    2 Draw a line from the smallest value to the largest.

  3. Three steps on one scale, height (cm), from 10 to 35. The plot is named Sun. Step 1 marks five dots at 12, 17, 22, 27 and 31. Step 2 draws a line from 12 to 31. Step 3 draws a box from 17 to 27 with a thick line at 22.1222311727Sun101520253035height (cm)

    3 Draw a box from Q1 to Q3. Draw a thick line across the box at the median. The parts of the line outside the box are the whiskers.

The box plot named Sun on a scale height (cm) from 10 to 35. The numbers 12, 22 and 31 are under the line, and 17 and 27 are lower down. A bracket over the box is labelled IQR 10 cm.IQR 10 cm1222311727Sun101520253035height (cm)
The box is the interquartile range: 27 − 17 = 10 cm. The whole line is the range: 31 − 12 = 19 cm.

A box plot splits the data into four parts. These are the two whiskers and the two halves of the box. About a quarter of the values lie in each part. The box holds about half of them.

Worked example

Find the five key values of 12 journey times (min): 8, 9, 11, 12, 14, 15, 17, 18, 19, 21, 24, 30.

  1. There are 12 values, so the median is halfway between the 6th and 7th values, 15 and 17. (15 + 17) ÷ 2 = 16.
  2. The lower half is the first 6 values: 8, 9, 11, 12, 14, 15. Its median is halfway between 11 and 12, which is 11.5.
  3. The upper half is the last 6 values: 17, 18, 19, 21, 24, 30. Its median is halfway between 19 and 21, which is 20.
  4. The smallest is 8 and the largest is 30.

Answer: Smallest 8, lower quartile 11.5, median 16, upper quartile 20, largest 30

A box plot named Times on a scale time (min) from 5 to 35. The five values are written under it: 8, 16 and 30 on the first line, and 11.5 and 20 on the second line.8163011.520Times5101520253035time (min)
The median 16 is not in the middle of the box. The box runs from 11.5 to 20, so its middle is 15.75.

Worked example

Read the box plot of journey times below. Find the median, the interquartile range and the range.

  1. The whiskers run from 14 to 38. The thick line in the box is at 26, so the median is 26.
  2. The box runs from 20 to 30.
  3. IQR = 30 − 20 = 10 minutes.
  4. Range = 38 − 14 = 24 minutes.

Answer: The median is 26 minutes, the IQR is 10 minutes and the range is 24 minutes

A box plot named Journey on a scale time (min) from 10 to 40, with a mark every 2 minutes. The whiskers run from 14 to 38. The box runs from 20 to 30. The thick line in the box is at 26.Journey10203040time (min)
Read each end of the box and each whisker against the scale.

To compare two groups, put their box plots on the same scale. Compare the medians to compare the middle. Compare the IQRs to compare the spread. A bigger IQR means more spread. A group with a smaller spread is more consistent.

See it three ways

With things

Amina also grows 11 bean plants in the shade. Their heights in order are 8, 10, 12, 13, 15, 16, 17, 18, 19, 20, 22.

As a picture

Two box plots on one scale, height (cm), from 5 to 35. The plot named Sun has its box from 17 to 27 and its median at 22. The plot named Shade, drawn with hatching, has its box from 12 to 19 and its median at 16.SunShade5101520253035height (cm)

In symbols

Sun: median 22, IQR 27 − 17 = 10. Shade: median 16, IQR 19 − 12 = 7.

The five key values of the plants in the sun and in the shade. The head is value, Sun, Shade. Row 1: smallest, 12, 8. Row 2: lower quartile, 17, 12. Row 3: median, 22, 16. Row 4: upper quartile, 27, 19. Row 5: largest, 31, 22.valueSunShadesmallest128lower quartile1712median2216upper quartile2719largest3122
The same numbers as the box plots.

Worked example

Compare the heights of the plants in the sun and in the shade, using the median and the IQR.

  1. The medians are 22 cm in the sun and 16 cm in the shade.
  2. The IQRs are 10 cm in the sun and 7 cm in the shade.
  3. So the plants in the sun are taller in the middle, with a median 6 cm higher.
  4. The sun plants are also more spread out, because their IQR is 3 cm bigger.

Answer: The sun plants have the higher median, 22 cm against 16 cm, and the larger IQR, 10 cm against 7 cm

Try it

Draw a box plot of 11 hand spans

You need: 11 people to measure, a ruler, squared paper.

  1. Measure each hand span, from the tip of the thumb to the tip of the little finger, with the hand spread flat.
  2. Write the 11 spans in order. Find the smallest, Q1, the median, Q3 and the largest.
  3. Draw a scale on squared paper. Draw the line, the box and the thick median line.

What you will see: The box holds about the middle half of the spans. Compare your box plot with a friend's. Which is more spread out?

If you cannot try it, this is what happens.
A box plot named Spans on a scale hand span (cm) from 16 to 24. The five values are written under it: 17, 20 and 23 on the first line, and 19 and 22 on the second line.1720231922Spans1618202224hand span (cm)

A wrong idea many people have

The longer whisker holds more of the values.

Why it feels right: A longer line looks like more of something.

The test that breaks it: In Amina's sun list the lower whisker is 5 cm long and the upper whisker is 4 cm long. But each holds two values beyond the box: 12 and 15 below it, 30 and 31 above it.

What is true: Each of the four parts holds about a quarter of the values, however long it is. A long part means the values in it are more spread out.

A wrong idea many people have

The median is always in the middle of the box.

Why it feels right: The median is the middle value, and the box looks like the middle.

The test that breaks it: The shade plants have Q1 = 12 and Q3 = 19. The middle of the box is 15.5. But the median is 16.

What is true: The thick line is where the median is. It can lie anywhere inside the box. If it is nearer one end, the values are more bunched up on that side.

Key words

box plot
a picture of the smallest value, Q1, the median, Q3 and the largest value on one scale.
whisker
the line from the box to the smallest or the largest value.
consistent
not spread out: the values stay close together.

Back to your guess

The answer is A: Draw a box plot of each group, on the same scale.

A box plot shows the middle, the spread of the middle half, and the smallest and largest values. Two box plots on one scale can be compared at a glance. A bar chart of medians hides the spread, and a total depends on how many plants there are.

Check yourself

Try each one before you look. A wrong answer tells you where to go next.

  1. Find the lower quartile of this list: 3, 5, 8, 9, 12, 14, 15.

    Tap your answer.
    1. Not this one. You kept the middle value, 9, in the lower half, so the lower half was 3, 5, 8, 9. With 7 values the middle value is left out of both halves. Go to M4.7.4. Try another.

    2. Not this one. 3 is the smallest value. The lower quartile is the median of the lower half. Go to M4.7.4. Try another.

    3. Yes, that is right. The median is the 4th value, 9. Leave it out. The lower half is 3, 5, 8. Its middle value is 5.

    4. Not this one. You took the 8, the value just below the median. The lower quartile is the middle of the lower half: the lower half is 3, 5, 8, so it is 5. Go to M4.7.4. Try another.

    See the answer

    5

    The median is the 4th value, 9. Leave it out. The lower half is 3, 5, 8. Its middle value is 5.

    • If you chose A: You kept the middle value, 9, in the lower half, so the lower half was 3, 5, 8, 9. With 7 values the middle value is left out of both halves. Go to M4.7.4.
    • If you chose B: 3 is the smallest value. The lower quartile is the median of the lower half. Go to M4.7.4.
    • If you chose D: You took the 8, the value just below the median. The lower quartile is the middle of the lower half: the lower half is 3, 5, 8, so it is 5. Go to M4.7.4.
  2. What is the median shown by this box plot?

    A box plot named Times on a scale time (min) from 0 to 60, with a mark every 5 minutes. The whiskers run from 10 to 55. The box runs from 30 to 50. A thick line in the box is at 35.Times0102030405060time (min)
    Tap your answer.
    1. Not this one. 30 is where the box starts, the lower quartile. The median is the thick line. Go to M4.7.4. Try another.

    2. Yes, that is right. The thick line marks the median. It is at 35.

    3. Not this one. 40 is the middle of the box. The median is the thick line, and it need not be in the middle of the box. Go to M4.7.4. Try another.

    4. Not this one. 50 is where the box ends, the upper quartile. The median is the thick line. Go to M4.7.4. Try another.

    See the answer

    35 minutes

    The thick line marks the median. It is at 35.

    • If you chose A: 30 is where the box starts, the lower quartile. The median is the thick line. Go to M4.7.4.
    • If you chose C: 40 is the middle of the box. The median is the thick line, and it need not be in the middle of the box. Go to M4.7.4.
    • If you chose D: 50 is where the box ends, the upper quartile. The median is the thick line. Go to M4.7.4.
  3. What is the interquartile range of the same box plot?

    A box plot named Times on a scale time (min) from 0 to 60, with a mark every 5 minutes. The whiskers run from 10 to 55. The box runs from 30 to 50. A thick line in the box is at 35.Times0102030405060time (min)
    Tap your answer.
    1. Not this one. 45 is the range, from the end of one whisker to the other. The IQR is the length of the box. Go to M4.7.4. Try another.

    2. Not this one. 35 is the median, a place on the scale. The IQR is a length: Q3 − Q1. Go to M4.7.4. Try another.

    3. Not this one. 50 is Q3, a place on the scale. The IQR is how far Q3 is above Q1. Go to M4.7.4. Try another.

    4. Yes, that is right. The box runs from 30 to 50. IQR = Q3 − Q1 = 50 − 30 = 20.

    See the answer

    20 minutes

    The box runs from 30 to 50. IQR = Q3 − Q1 = 50 − 30 = 20.

    • If you chose A: 45 is the range, from the end of one whisker to the other. The IQR is the length of the box. Go to M4.7.4.
    • If you chose B: 35 is the median, a place on the scale. The IQR is a length: Q3 − Q1. Go to M4.7.4.
    • If you chose C: 50 is Q3, a place on the scale. The IQR is how far Q3 is above Q1. Go to M4.7.4.
  4. The box plots show the journey times on two bus routes. Which statement is true?

    Two box plots on one scale, time (min), from 0 to 50. Route A has whiskers from 10 to 45 and a box from 18 to 32. Route B, drawn with hatching, has whiskers from 15 to 40 and a box from 22 to 28. Both have the median at 25.Route ARoute B01020304050time (min)
    Tap your answer.
    1. Yes, that is right. The medians are both 25 minutes. Route B has the smaller IQR, so its journey times are closer together.

    2. Not this one. The medians are equal, but the boxes are different lengths. The two routes have different spreads. Go to M4.7.4. Try another.

    3. Not this one. A longer box means more spread, not quicker. Both routes have the same median time. Go to M4.7.4. Try another.

    See the answer

    Route B is more consistent, because its box is shorter.

    The medians are both 25 minutes. Route B has the smaller IQR, so its journey times are closer together.

    • If you chose B: The medians are equal, but the boxes are different lengths. The two routes have different spreads. Go to M4.7.4.
    • If you chose C: A longer box means more spread, not quicker. Both routes have the same median time. Go to M4.7.4.
  5. About what share of the values lies inside the box of a box plot?

    Tap your answer.
    1. Not this one. A quarter of the values lie in each whisker, and in each half of the box. The two halves of the box add up to more. Go to M4.7.4. Try another.

    2. Yes, that is right. A quarter of the values lie below Q1 and a quarter above Q3. That leaves about half between them, in the box.

    3. Not this one. The box is only from Q1 to Q3. A quarter of the values lie below Q1 and a quarter above Q3. Go to M4.7.4. Try another.

    See the answer

    About half

    A quarter of the values lie below Q1 and a quarter above Q3. That leaves about half between them, in the box.

    • If you chose A: A quarter of the values lie in each whisker, and in each half of the box. The two halves of the box add up to more. Go to M4.7.4.
    • If you chose C: The box is only from Q1 to Q3. A quarter of the values lie below Q1 and a quarter above Q3. Go to M4.7.4.
  6. The upper whisker of a box plot is much longer than the lower whisker. What does this tell us?

    Tap your answer.
    1. Not this one. Each whisker holds about a quarter of the values, whatever its length. Go to M4.7.4. Try another.

    2. Yes, that is right. The same quarter of the values lies along a longer stretch of the scale, so those values are further apart.

    3. Not this one. Half the values lie above the median and half below, whatever the whiskers look like. A long whisker shows spread, not more values. Go to M4.7.4. Try another.

    See the answer

    The top quarter of the values is more spread out than the bottom quarter.

    The same quarter of the values lies along a longer stretch of the scale, so those values are further apart.

    • If you chose A: Each whisker holds about a quarter of the values, whatever its length. Go to M4.7.4.
    • If you chose C: Half the values lie above the median and half below, whatever the whiskers look like. A long whisker shows spread, not more values. Go to M4.7.4.
  7. From an earlier chapter

    A cumulative frequency graph shows 120 values. At what cumulative frequency do you read the lower quartile?

    See the answer

    30

    The lower quartile is a quarter of the way up: 120 ÷ 4 = 30.

  8. Find the interquartile range of these 11 values: 4, 6, 7, 10, 12, 13, 15, 18, 19, 22, 25.

    See the answer

    12

    The median is the 6th value, 13. The lower half is 4, 6, 7, 10, 12, so Q1 = 7. The upper half is 15, 18, 19, 22, 25, so Q3 = 19. IQR = 19 − 7 = 12.

Keep it

Copy this into your exercise book.

Box plot: smallest, Q1, median, Q3, largest on one scale. The box is about half the data. Compare the medians for the middle, the IQRs for the spread.

Draw: Two box plots on one scale, one above the other, with the five values marked under the first.

M4.7.5 Chapter 5

Histograms with unequal widths

The heights of plants are grouped in classes of different widths. How can one chart show them fairly?

Your guess

Pick one before you read on. It is fine to be wrong.

Your guess
  • You picked A. Read on. At the end, the chapter comes back to your guess.

  • You picked B. Read on. At the end, the chapter comes back to your guess.

  • You picked C. Read on. At the end, the chapter comes back to your guess.

By the end you can

A gardener measures 85 bean plants. The heights h are grouped in classes of different widths, such as 40 ≤ h < 50 and 50 ≤ h < 80. A bar chart with equal widths would not fit this table.

The heights of 85 plants in five classes. The head is h (cm), f. Row 1: 0 ≤ h < 10, 8. Row 2: 10 ≤ h < 20, 14. Row 3: 20 ≤ h < 40, 36. Row 4: 40 ≤ h < 50, 12. Row 5: 50 ≤ h < 80, 15.h (cm)f0 ≤ h < 10810 ≤ h < 201420 ≤ h < 403640 ≤ h < 501250 ≤ h < 8015
The classes are 10, 10, 20, 10 and 30 cm wide.

Suppose we draw each bar as tall as its frequency. The picture below does that. Look at the last two bars. The class 50 ≤ h < 80 is three times as wide as the class 40 ≤ h < 50. Its frequency is only a little bigger. Yet its bar looks about four times as big.

A chart with the x axis height h (cm), with class edges 0, 10, 20, 40, 50 and 80, and the y axis plants. The bar heights are the frequencies 8, 14, 36, 12 and 15. The last bar is very wide.01020304081436121501020405080height h (cm)plants
A misleading chart. The wide last bar holds 15 plants, but looks much bigger than the bar before it, which holds 12.

The fix is to let the area of a bar show the frequency. The area of a bar is width × height. So the height must be frequency ÷ width. This height is called the frequency density. A chart drawn this way is a histogram.

Worked example

Find the frequency density of the classes 40 ≤ h < 50 and 50 ≤ h < 80.

  1. The width of 40 ≤ h < 50 is 50 − 40 = 10 cm.
  2. Frequency density = frequency ÷ width = 12 ÷ 10 = 1.2 plants per cm.
  3. The width of 50 ≤ h < 80 is 80 − 50 = 30 cm. So the density is 15 ÷ 30 = 0.5 plants per cm.

Answer: 1.2 plants per cm and 0.5 plants per cm

Draw it first

Draw the histogram

  1. The x axis is height h (cm) with class edges 0, 10, 20, 40, 50 and 80. The y axis is plants per cm. Step 1 shows the axes only. Step 2 draws the first two bars, 10 cm wide, with heights 0.8 and 1.4. Step 3 draws all five bars, with heights 0.8, 1.4, 1.8, 1.2 and 0.5.00.20.40.60.811.21.41.61.8201020405080height h (cm)plants per cm

    1 Draw the height axis with the true class edges: 0, 10, 20, 40, 50 and 80. Draw the frequency density axis up the side.

  2. The x axis is height h (cm) with class edges 0, 10, 20, 40, 50 and 80. The y axis is plants per cm. Step 1 shows the axes only. Step 2 draws the first two bars, 10 cm wide, with heights 0.8 and 1.4. Step 3 draws all five bars, with heights 0.8, 1.4, 1.8, 1.2 and 0.5.00.20.40.60.811.21.41.61.8201020405080height h (cm)plants per cm

    2 For each class, work out the density. The first two classes give 8 ÷ 10 = 0.8 and 14 ÷ 10 = 1.4. Draw their bars.

  3. The x axis is height h (cm) with class edges 0, 10, 20, 40, 50 and 80. The y axis is plants per cm. Step 1 shows the axes only. Step 2 draws the first two bars, 10 cm wide, with heights 0.8 and 1.4. Step 3 draws all five bars, with heights 0.8, 1.4, 1.8, 1.2 and 0.5.00.20.40.60.811.21.41.61.8201020405080height h (cm)plants per cm

    3 Draw the other three bars. 36 ÷ 20 = 1.8, 12 ÷ 10 = 1.2 and 15 ÷ 30 = 0.5.

The class, the frequency f and the frequency density of each class of plant heights. The head is h (cm), f, density. Row 1: 0 ≤ h < 10, 8, 0.8. Row 2: 10 ≤ h < 20, 14, 1.4. Row 3: 20 ≤ h < 40, 36, 1.8. Row 4: 40 ≤ h < 50, 12, 1.2. Row 5: 50 ≤ h < 80, 15, 0.5.h (cm)fdensity0 ≤ h < 1080.810 ≤ h < 20141.420 ≤ h < 40361.840 ≤ h < 50121.250 ≤ h < 80150.5
Frequency density = frequency ÷ class width.

On the histogram, the wide last bar is now low. Its area is 30 × 0.5 = 15 plants, which matches the table. The area of a bar is the frequency. This is how to read a frequency from a histogram.

The x axis is height h (cm) with class edges 0, 10, 20, 40, 50 and 80. The y axis is plants per cm. The five bars have heights 0.8, 1.4, 1.8, 1.2 and 0.5. A dashed line runs from the top of the third bar across to the y axis at 1.8.00.20.40.60.811.21.41.61.8201020405080height h (cm)plants per cm
The third bar reaches 1.8. A dashed line carries that height across to the axis.

Worked example

The bar for 20 ≤ h < 40 reaches a height of 1.8 plants per cm. How many plants are in this class?

  1. The class is from 20 to 40, so its width is 40 − 20 = 20 cm.
  2. The frequency is the area of the bar: width × height = 20 × 1.8.
  3. 20 × 1.8 = 36 plants.

Answer: 36 plants

We can also find part of a class. Suppose the 36 plants in 20 ≤ h < 40 are spread evenly along the class. Then the bar has the same height all along it. A piece of the class that is half as wide holds half as many plants.

See it three ways

With things

Cut the class 20 ≤ h < 40 into two pieces at 30 cm. Each piece is half the width, so it holds half of the 36 plants.

As a picture

A histogram with the x axis height h (cm), with edges 20, 30 and 40, and the y axis plants per cm. The two bars are both 1.8 high, and each holds 18 plants.00.30.60.91.21.51.81818203040height h (cm)plants per cm

In symbols

36 ÷ 20 = 1.8 plants per cm. A piece 10 cm wide: 10 × 1.8 = 18 plants.

Worked example

Estimate how many plants are between 20 cm and 30 cm tall.

  1. The plants in 20 ≤ h < 40 are spread evenly, at 36 ÷ 20 = 1.8 plants per cm.
  2. The part from 20 to 30 is 30 − 20 = 10 cm wide.
  3. Number of plants = width × density = 10 × 1.8 = 18.
  4. So there are about 18 plants between 20 cm and 30 cm tall.

Answer: About 18 plants

This is an estimate, because the plants are probably not spread perfectly evenly. We use it when we know nothing better. It is exact only if the spread is even.

Try it

Draw a histogram on squared paper

You need: squared paper, a ruler, a pencil.

  1. Use 85 walks. The classes of time t, in minutes, are 0 ≤ t < 5, 5 ≤ t < 10, 10 ≤ t < 20 and 20 ≤ t < 40.
  2. The frequencies of the classes are 10, 25, 30 and 20.
  3. Work out each density: frequency ÷ width. They are 2, 5, 3 and 1 walks per minute.
  4. Draw the bars. Make the widths true to the scale of the time axis. Check each area: width × height should give 10, 25, 30 and 20.

What you will see: The tallest bar is for 5 ≤ t < 10, but the biggest class is 10 ≤ t < 20, which has the largest area, 30.

If you cannot try it, this is what happens.
A histogram with the x axis time t (min) with edges 0, 5, 10, 20 and 40, and the y axis walks per min. The bars are 2, 5, 3 and 1 high. The numbers 10, 25, 30 and 20 are written above the bars.0123451025302005102040time t (min)walks per min

A wrong idea many people have

The height of a bar in a histogram is the frequency.

Why it feels right: In a bar chart the height of a bar is the frequency, so the same seems true here.

The test that breaks it: In the plant chart the class 50 ≤ h < 80 has frequency 15, but its bar is only 0.5 high. It is wide, so its area is 30 × 0.5 = 15.

What is true: In a histogram with unequal widths the area of a bar is the frequency. The height is the frequency density.

A wrong idea many people have

The tallest bar is always the class with the most values.

Why it feels right: We are used to reading the tallest bar as the biggest.

The test that breaks it: In the walks histogram the tallest bar is 5 high, but it is only 5 minutes wide, so it holds 25 walks. The bar 3 high and 10 wide holds 30.

What is true: The class with the most values has the largest area, not necessarily the largest height.

Key words

histogram
a chart for measured data in which the area of each bar is the frequency.
frequency density
frequency divided by class width. It is the height of a bar in a histogram.

Back to your guess

The answer is B: Make the area of each bar match the frequency of its class.

If the classes have different widths, a bar as tall as its frequency makes wide classes look too big. Letting the area of each bar show the frequency is fair. The height of a bar is then the frequency divided by the class width, called the frequency density.

Check yourself

Try each one before you look. A wrong answer tells you where to go next.

  1. A class 20 ≤ h < 40 has 36 plants. What is its frequency density?

    Tap your answer.
    1. Not this one. You divided the width by the frequency, 20 ÷ 36. Frequency density is the frequency divided by the width. Go to M4.7.5. Try another.

    2. Not this one. You multiplied 36 by 20. The area is width × height, so to get the height we divide the frequency by the width. Go to M4.7.5. Try another.

    3. Yes, that is right. The width is 40 − 20 = 20 cm. Frequency density = 36 ÷ 20 = 1.8.

    4. Not this one. 36 is the frequency itself. The density is the frequency shared out over the 20 cm of the class. Go to M4.7.5. Try another.

    See the answer

    1.8 plants per cm

    The width is 40 − 20 = 20 cm. Frequency density = 36 ÷ 20 = 1.8.

    • If you chose A: You divided the width by the frequency, 20 ÷ 36. Frequency density is the frequency divided by the width. Go to M4.7.5.
    • If you chose B: You multiplied 36 by 20. The area is width × height, so to get the height we divide the frequency by the width. Go to M4.7.5.
    • If you chose D: 36 is the frequency itself. The density is the frequency shared out over the 20 cm of the class. Go to M4.7.5.
  2. A bar of a histogram is 6 cm wide and 2.5 plants per cm high. How many plants does it stand for?

    Tap your answer.
    1. Not this one. You added the width and the height. The frequency is the area of the bar, which is width × height. Go to M4.7.5. Try another.

    2. Not this one. You divided the width by the height. The frequency is the area, so multiply. Go to M4.7.5. Try another.

    3. Not this one. You divided the height by the width, 2.5 ÷ 6. The frequency is width × height. Go to M4.7.5. Try another.

    4. Yes, that is right. The area of the bar is its frequency: 6 × 2.5 = 15.

    See the answer

    15

    The area of the bar is its frequency: 6 × 2.5 = 15.

    • If you chose A: You added the width and the height. The frequency is the area of the bar, which is width × height. Go to M4.7.5.
    • If you chose B: You divided the width by the height. The frequency is the area, so multiply. Go to M4.7.5.
    • If you chose C: You divided the height by the width, 2.5 ÷ 6. The frequency is width × height. Go to M4.7.5.
  3. This histogram shows the heights of some plants. Which class has the most plants?

    A histogram with the x axis height h (cm) with edges 0, 10, 30 and 40, and the y axis plants per cm. The first bar, from 0 to 10, is 1.5 high. The second bar, from 10 to 30, is 1.2 high. The third bar, from 30 to 40, is 0.6 high.00.30.60.91.21.51.80103040height h (cm)plants per cm
    Tap your answer.
    1. Not this one. Its bar is the tallest but only 10 cm wide. Area counts: 10 × 1.5 = 15 plants. Another bar has a bigger area. Go to M4.7.5. Try another.

    2. Yes, that is right. The areas are 10 × 1.5 = 15, 20 × 1.2 = 24 and 10 × 0.6 = 6. The middle bar has the biggest area, 24 plants.

    3. Not this one. The area of each bar is its frequency, so the chart does tell us: 15, 24 and 6. Go to M4.7.5. Try another.

    See the answer

    10 ≤ h < 30

    The areas are 10 × 1.5 = 15, 20 × 1.2 = 24 and 10 × 0.6 = 6. The middle bar has the biggest area, 24 plants.

    • If you chose A: Its bar is the tallest but only 10 cm wide. Area counts: 10 × 1.5 = 15 plants. Another bar has a bigger area. Go to M4.7.5.
    • If you chose C: The area of each bar is its frequency, so the chart does tell us: 15, 24 and 6. Go to M4.7.5.
  4. What does the vertical axis of a histogram with unequal class widths show?

    Tap your answer.
    1. Not this one. That is a bar chart. In a histogram with unequal widths, the frequency is the area of the bar, not its height. Go to M4.7.5. Try another.

    2. Not this one. The width of a class is shown along the horizontal axis, by the width of its bar. Go to M4.7.5. Try another.

    3. Yes, that is right. The height of a bar is frequency ÷ width, so the area of the bar is the frequency.

    See the answer

    The frequency density: the frequency divided by the class width.

    The height of a bar is frequency ÷ width, so the area of the bar is the frequency.

    • If you chose A: That is a bar chart. In a histogram with unequal widths, the frequency is the area of the bar, not its height. Go to M4.7.5.
    • If you chose B: The width of a class is shown along the horizontal axis, by the width of its bar. Go to M4.7.5.
  5. Plants in the class 50 ≤ h < 80 are spread evenly. The bar is 0.5 high. Estimate how many plants are between 50 cm and 60 cm.

    The x axis is height h (cm) with class edges 0, 10, 20, 40, 50 and 80. The y axis is plants per cm. The five bars have heights 0.8, 1.4, 1.8, 1.2 and 0.5. A dashed line runs from the top of the fifth bar across to the y axis at 0.5.00.20.40.60.811.21.41.61.8201020405080height h (cm)plants per cm
    Tap your answer.
    1. Not this one. 15 plants are in the whole class from 50 to 80. The question asks for the part from 50 to 60. Go to M4.7.5. Try another.

    2. Not this one. 0.5 is the height of the bar, the density. The number of plants is the area of the part. Go to M4.7.5. Try another.

    3. Not this one. You took half of the class. From 50 to 60 is 10 cm out of 30 cm, which is a third of it. Go to M4.7.5. Try another.

    4. Yes, that is right. The piece from 50 to 60 is 10 cm wide. The area is 10 × 0.5 = 5 plants.

    See the answer

    5

    The piece from 50 to 60 is 10 cm wide. The area is 10 × 0.5 = 5 plants.

    • If you chose A: 15 plants are in the whole class from 50 to 80. The question asks for the part from 50 to 60. Go to M4.7.5.
    • If you chose B: 0.5 is the height of the bar, the density. The number of plants is the area of the part. Go to M4.7.5.
    • If you chose C: You took half of the class. From 50 to 60 is 10 cm out of 30 cm, which is a third of it. Go to M4.7.5.
  6. When must the height of a bar in a histogram be the frequency density?

    Tap your answer.
    1. Yes, that is right. With unequal widths, bars as tall as the frequency would make wide classes look too big. Using the density makes the area show the frequency.

    2. Not this one. The number of values does not matter. What matters is whether the widths of the classes are all equal. Go to M4.7.5. Try another.

    3. Not this one. With equal widths the height can be the frequency, and the picture is still fair, because every bar has the same width. Go to M4.7.5. Try another.

    See the answer

    When the classes have different widths.

    With unequal widths, bars as tall as the frequency would make wide classes look too big. Using the density makes the area show the frequency.

    • If you chose B: The number of values does not matter. What matters is whether the widths of the classes are all equal. Go to M4.7.5.
    • If you chose C: With equal widths the height can be the frequency, and the picture is still fair, because every bar has the same width. Go to M4.7.5.
  7. From an earlier chapter

    The upper quartile of a list is the median of its upper half. Find the upper quartile of 9, 14, 16, 20, 23, 25, 31.

    See the answer

    25

    There are 7 values, so the median is 20, the 4th. Leave it out. The upper half is 23, 25, 31. Its middle value is 25.

  8. A class 10 cm wide has frequency 14. What is the frequency density?

    See the answer

    1.4

    Frequency density = frequency ÷ width = 14 ÷ 10 = 1.4.

  9. A bar is 20 cm wide and 1.5 plants per cm high. How many plants does it stand for?

    See the answer

    30

    The frequency is the area: 20 × 1.5 = 30.

Keep it

Copy this into your exercise book.

Frequency density = frequency ÷ class width. The height of a bar is the density. The area of a bar is the frequency: width × height.

Draw: A histogram with three bars of different widths, and the area of the widest bar worked out beside it.

M4.7.6 Chapter 6

Scatter graphs and correlation

Mei measures the height and the arm span of 12 friends. Can a graph help her guess a friend's arm span from their height?

Your guess

Pick one before you read on. It is fine to be wrong.

Your guess
  • You picked A. Read on. At the end, the chapter comes back to your guess.

  • You picked B. Read on. At the end, the chapter comes back to your guess.

  • You picked C. Read on. At the end, the chapter comes back to your guess.

By the end you can

Mei measures 12 friends. For each friend she writes the height and the arm span, from fingertip to fingertip, in centimetres. Each friend gives a pair of numbers.

The height and the arm span of 12 friends. The head is height (cm), span (cm). Row 1: 142, 141. Row 2: 146, 150. Row 3: 150, 150. Row 4: 153, 156. Row 5: 158, 155. Row 6: 159, 163. Row 7: 163, 164. Row 8: 165, 163. Row 9: 166, 169. Row 10: 170, 170. Row 11: 172, 176. Row 12: 176, 175.height (cm)span (cm)142141146150150150153156158155159163163164165163166169170170172176176175
The first friend is 142 cm tall with an arm span of 141 cm.

A scatter graph plots each pair as one point. The height is the x value and the arm span is the y value. Neither axis starts at 0 here, so each axis shows a zigzag break near its corner.

Draw it first

Draw the scatter graph and the line of best fit

  1. The x axis is height (cm) from 130 to 180 and the y axis is arm span (cm) from 130 to 180. The 12 dots are (142, 141), (146, 150), (150, 150), (153, 156), (158, 155), (159, 163), (163, 164), (165, 163), (166, 169), (170, 170), (172, 176), (176, 175). Step 1 shows the dots. Step 2 adds a dot named mean at (160, 161). Step 3 draws a straight line through the dots and through the mean dot.130140150160170180130140150160170180height (cm)arm span (cm)

    1 Plot one dot for each friend: height across, arm span up.

  2. The x axis is height (cm) from 130 to 180 and the y axis is arm span (cm) from 130 to 180. The 12 dots are (142, 141), (146, 150), (150, 150), (153, 156), (158, 155), (159, 163), (163, 164), (165, 163), (166, 169), (170, 170), (172, 176), (176, 175). Step 1 shows the dots. Step 2 adds a dot named mean at (160, 161). Step 3 draws a straight line through the dots and through the mean dot.mean130140150160170180130140150160170180height (cm)arm span (cm)

    2 Find the mean height and the mean arm span. Plot that mean point.

  3. The x axis is height (cm) from 130 to 180 and the y axis is arm span (cm) from 130 to 180. The 12 dots are (142, 141), (146, 150), (150, 150), (153, 156), (158, 155), (159, 163), (163, 164), (165, 163), (166, 169), (170, 170), (172, 176), (176, 175). Step 1 shows the dots. Step 2 adds a dot named mean at (160, 161). Step 3 draws a straight line through the dots and through the mean dot.mean130140150160170180130140150160170180height (cm)arm span (cm)

    3 Draw one straight line through the middle of the dots and through the mean point. Aim for about as many dots on each side.

The straight line is the line of best fit. It is drawn by eye, so two people will draw slightly different lines. A good line follows the direction of the dots. It has about as many dots above it as below, and it goes through the mean point.

The line drawn here passes through (140, 141) and (170, 171). It goes up 1 for each 1 across, so its rule is y = x + 1.

Worked example

The 12 heights add up to 1 920 cm and the 12 arm spans to 1 932 cm. Find the mean point.

  1. Mean height = 1 920 ÷ 12 = 160 cm.
  2. Mean arm span = 1 932 ÷ 12 = 161 cm.
  3. The mean point is (160, 161). The line of best fit should pass through it.
  4. The line y = x + 1 passes through the mean point, because 160 + 1 = 161.

Answer: The mean point is (160, 161)

The pattern in the dots is called correlation. Here the dots rise from left to right. Taller friends tend to have longer arm spans. This is positive correlation: as one value rises, the other tends to rise.

A scatter graph with the x axis hours from 0 to 10 and the y axis length (cm) from 0 to 20. Six dots are at (0, 20), (1, 17), (2, 15), (3, 12), (4, 10) and (5, 7). They fall from left to right along a straight line.246810481216200hourslength (cm)
A candle burns. The dots fall from left to right: negative correlation.

When the dots fall from left to right, as one value rises the other tends to fall. This is negative correlation. A burning candle gets shorter as the hours go by.

A scatter graph with the x axis letters in first name from 0 to 10 and the y axis jump height (cm) from 30 to 60. Ten dots are spread over the graph with no pattern.024681030405060letters in first namejump height (cm)
The number of letters in a name has nothing to do with jumping. The dots show no pattern: no correlation.

The correlation is strong when the dots lie close to a straight line, and weak when they are more spread out. The steepness of the line does not matter. A gentle slope can still have dots tight around it, as long as the line is not level.

Worked example

Use the line y = x + 1 to estimate the arm spans of friends 168 cm and 150 cm tall.

  1. For a height of 168 cm, the line gives y = 168 + 1 = 169.
  2. For a height of 150 cm, the line gives y = 150 + 1 = 151.
  3. Both heights are inside the data, which runs from 142 cm to 176 cm. So the estimates are reasonable.

Answer: About 169 cm and about 151 cm

The x axis is height (cm) from 130 to 180 and the y axis is arm span (cm) from 130 to 180. The 12 dots are (142, 141), (146, 150), (150, 150), (153, 156), (158, 155), (159, 163), (163, 164), (165, 163), (166, 169), (170, 170), (172, 176), (176, 175). A straight line runs through the dots. A dot named A is on the line at (168, 169), with dashed lines down to 168 and across to 169.A130140150160170180130140150160170180height (cm)arm span (cm)
Go up from 168 cm to the line, then across to the arm span axis: about 169 cm.

A line of best fit is for estimates inside the range of the data. This is interpolation. Going beyond the data is extrapolation. It is unreliable, because the pattern may not carry on.

The candle graph with the x axis hours from 0 to 10 and the y axis length (cm) from 0 to 20. The six dots lie on a solid line from 0 to 5 hours. The line carries on as a dashed line past 5 hours. It reaches 0 cm at about 8 hours. A line that carries on past that point would give a negative length.246810481216200hourslength (cm)
Solid: inside the data. Dashed: extended too far. The dashed line reaches 0 cm at about 8 hours. Beyond that it would give a candle with a negative length.

Worked example

The candle line is y = 20 − 2.6x, with y the length in cm and x the hours. Find the length at 3.5 hours. Is the line fair to use at 10 hours?

  1. At 3.5 hours the line says 2.6 × 3.5 = 9.1 cm have burned.
  2. The length is 20 − 9.1 = 10.9 cm.
  3. At 10 hours the line says 2.6 × 10 = 26 cm have burned.
  4. That is more than the 20 cm of candle, so the length would be negative. Ten hours is outside the data, so the line cannot be used there.

Answer: About 10.9 cm. No: the line gives a negative length

Now a warning. Two things can be correlated without one causing the other. On a beach, the number of ice creams sold each day and the number of cases of sunburn rise together.

See it three ways

With things

On 8 days a beach counts the ice creams sold and the cases of sunburn.

As a picture

A scatter graph with the x axis ice creams sold from 0 to 100 and the y axis sunburn cases from 0 to 16. Eight dots rise from left to right: (20, 2), (35, 3), (40, 5), (55, 6), (60, 9), (75, 10), (80, 12) and (95, 14).204060801004812160ice creams soldsunburn cases

In words

Strong positive correlation. But ice cream does not burn skin, and sunburn does not make people buy ice cream. On hot sunny days both go up. The hot sunny weather is the hidden third factor.

In symbols

Correlation does not prove cause.

A wrong idea many people have

If two things are correlated, one must cause the other.

Why it feels right: When two things rise together it feels as if one must be pulling the other.

The test that breaks it: Ice creams sold and sunburn cases are strongly correlated. Neither causes the other. Hot sunny weather makes both rise.

What is true: Correlation shows that two things go together. To say one causes the other we need other evidence, and we should look for a hidden third factor.

Try it

Measure hand span and foot length

You need: 8 people to measure, a ruler, squared paper.

  1. For each person, measure the hand span and the foot length in centimetres.
  2. Plot a dot for each person: hand span across, foot length up.
  3. Find the mean point. Draw a line of best fit through it with about as many dots on each side.

What you will see: The dots rise from left to right. People with a bigger hand span tend to have a longer foot. Your own dots may be more or less spread out.

If you cannot try it, this is what happens.
A scatter graph with the x axis hand span (cm) from 16 to 25 and the y axis foot length (cm) from 20 to 30. Eight dots are (17, 22), (18, 24), (19, 24), (20, 26), (21, 25), (22, 28), (23, 27) and (24, 28). A straight line rises through them.1618202224202224262830hand span (cm)foot length (cm)

A wrong idea many people have

A steeper line means stronger correlation.

Why it feels right: A steep line looks more definite than a flat one.

The test that breaks it: Draw two scatter graphs. In one, the dots hug a flat line. In the other, the dots are spread loosely around a steep line. The first has stronger correlation.

What is true: Strength depends on how close the dots are to the line. The steepness depends on the scales chosen for the axes.

Key words

scatter graph
a graph with one dot for each pair of measurements.
correlation
the pattern between two measurements: positive, negative or none.
line of best fit
a straight line drawn through the middle of the dots on a scatter graph.
extrapolation
using a line beyond the range of the data, which is unreliable.

Back to your guess

The answer is B: Plot each friend as one point, height across and arm span up, and look for a pattern.

One point for each friend, with the height across and the arm span up, makes a scatter graph. If the points fall along a line, the pattern can be used to estimate. Totals and bars lose the link between a friend's two measurements.

Check yourself

Try each one before you look. A wrong answer tells you where to go next.

  1. A walker records the temperature at different heights climbed. What does the scatter graph show?

    A scatter graph with the x axis climb (100 m) from 0 to 10 and the y axis temperature (°C) from 10 to 20. Ten dots fall from left to right, from (0, 19) to (9, 11).0246810101214161820climb (100 m)temperature (°C)
    Tap your answer.
    1. Not this one. In positive correlation the dots rise from left to right. Here they fall: as the climb rises, the temperature falls. Go to M4.7.6. Try another.

    2. Not this one. The dots follow a clear pattern, falling from left to right. No correlation would be a scatter with no direction. Go to M4.7.6. Try another.

    3. Yes, that is right. The dots fall from left to right. As the climb gets bigger the temperature gets lower.

    See the answer

    Negative correlation

    The dots fall from left to right. As the climb gets bigger the temperature gets lower.

    • If you chose A: In positive correlation the dots rise from left to right. Here they fall: as the climb rises, the temperature falls. Go to M4.7.6.
    • If you chose B: The dots follow a clear pattern, falling from left to right. No correlation would be a scatter with no direction. Go to M4.7.6.
  2. Jump heights of 10 people are plotted against the day of the month on which each was born. What does this scatter graph show?

    A scatter graph with the x axis day of the month born from 0 to 35 and the y axis jump height (cm) from 30 to 60. Ten dots are spread over the graph with no pattern.0510152025303530405060day of the month bornjump height (cm)
    Tap your answer.
    1. Yes, that is right. The dots show no pattern. Knowing the day of the month a person was born tells us nothing about the jump height.

    2. Not this one. The dots do not rise from left to right. They are scattered with no direction. Go to M4.7.6. Try another.

    3. Not this one. The dots do not fall from left to right either. They are scattered with no direction. Go to M4.7.6. Try another.

    See the answer

    No correlation

    The dots show no pattern. Knowing the day of the month a person was born tells us nothing about the jump height.

    • If you chose B: The dots do not rise from left to right. They are scattered with no direction. Go to M4.7.6.
    • If you chose C: The dots do not fall from left to right either. They are scattered with no direction. Go to M4.7.6.
  3. The line of best fit for the arm spans is y = x + 1. Estimate the arm span of a new friend, not in the table, who is 165 cm tall.

    The x axis is height (cm) from 130 to 180 and the y axis is arm span (cm) from 130 to 180. The 12 dots are (142, 141), (146, 150), (150, 150), (153, 156), (158, 155), (159, 163), (163, 164), (165, 163), (166, 169), (170, 170), (172, 176), (176, 175). A straight line runs through the dots.130140150160170180130140150160170180height (cm)arm span (cm)
    Tap your answer.
    1. Not this one. You used the height as the arm span. The line is y = x + 1, so add 1. Go to M4.7.6. Try another.

    2. Not this one. You took 1 away. The rule is y = x + 1, so the arm span is 1 more than the height. Go to M4.7.6. Try another.

    3. Not this one. 163 cm is the arm span of the friend in the table who is 165 cm tall. This is a new friend, so use the line. Go to M4.7.6. Try another.

    4. Yes, that is right. y = x + 1 with x = 165 gives y = 165 + 1 = 166.

    See the answer

    166 cm

    y = x + 1 with x = 165 gives y = 165 + 1 = 166.

    • If you chose A: You used the height as the arm span. The line is y = x + 1, so add 1. Go to M4.7.6.
    • If you chose B: You took 1 away. The rule is y = x + 1, so the arm span is 1 more than the height. Go to M4.7.6.
    • If you chose C: 163 cm is the arm span of the friend in the table who is 165 cm tall. This is a new friend, so use the line. Go to M4.7.6.
  4. The number of umbrellas sold and the number of road accidents in a town rise together. What is the best conclusion?

    Tap your answer.
    1. Not this one. Umbrellas do not make crashes happen. Two things can rise together without one causing the other. Go to M4.7.6. Try another.

    2. Not this one. There is no evidence for that either. A hidden third factor is a better explanation. Go to M4.7.6. Try another.

    3. Yes, that is right. On rainy days more people buy umbrellas, and wet roads and poor sight bring more accidents. Rain is a hidden third factor. Correlation does not prove that one causes the other.

    See the answer

    Rainy weather probably makes both rise.

    On rainy days more people buy umbrellas, and wet roads and poor sight bring more accidents. Rain is a hidden third factor. Correlation does not prove that one causes the other.

    • If you chose A: Umbrellas do not make crashes happen. Two things can rise together without one causing the other. Go to M4.7.6.
    • If you chose B: There is no evidence for that either. A hidden third factor is a better explanation. Go to M4.7.6.
  5. A line of best fit was drawn from friends whose heights run from 142 cm to 176 cm. For which height is an estimate of the arm span the least reliable?

    Tap your answer.
    1. Not this one. 150 cm is inside the range of the data, so an estimate there uses the pattern the data show. Go to M4.7.6. Try another.

    2. Yes, that is right. 190 cm is beyond the tallest friend in the data, 176 cm. Extending the line there is extrapolation, and the pattern may not carry on.

    3. Not this one. 160 cm is in the middle of the data, where the line is most trustworthy. Go to M4.7.6. Try another.

    See the answer

    190 cm

    190 cm is beyond the tallest friend in the data, 176 cm. Extending the line there is extrapolation, and the pattern may not carry on.

    • If you chose A: 150 cm is inside the range of the data, so an estimate there uses the pattern the data show. Go to M4.7.6.
    • If you chose C: 160 cm is in the middle of the data, where the line is most trustworthy. Go to M4.7.6.
  6. What makes the correlation in a scatter graph strong?

    Tap your answer.
    1. Not this one. Steepness depends on the scales of the axes. Strength is about how close the dots are to the line. Go to M4.7.6. Try another.

    2. Yes, that is right. The closer the dots are to a line, the stronger the correlation.

    3. Not this one. Many dots can be widely spread. Strength depends on how close the dots are to the line, not on how many there are. Go to M4.7.6. Try another.

    See the answer

    The dots lie close to a straight line.

    The closer the dots are to a line, the stronger the correlation.

    • If you chose A: Steepness depends on the scales of the axes. Strength is about how close the dots are to the line. Go to M4.7.6.
    • If you chose C: Many dots can be widely spread. Strength depends on how close the dots are to the line, not on how many there are. Go to M4.7.6.
  7. From an earlier chapter

    A bar of a histogram is 5 cm wide and 2.4 plants per cm high. How many plants does it stand for?

    See the answer

    12

    The frequency is the area of the bar: 5 × 2.4 = 12.

  8. A line of best fit has the rule y = 2x + 3. Estimate y when x = 7.

    See the answer

    17

    y = 2 × 7 + 3 = 14 + 3 = 17.

Keep it

Copy this into your exercise book.

Scatter graph: one dot for each pair. Correlation: positive, negative or none. The line of best fit passes through the mean point. Use it inside the data. Correlation is not cause.

Draw: A scatter graph with a line of best fit, and under it the words positive, negative and none beside small sketches.

M4.7.7 Chapter 7

Data over time

The rain in a town rises and falls every year. How can I see a slow change over the years, and the ups and downs that repeat?

Your guess

Pick one before you read on. It is fine to be wrong.

Your guess
  • You picked A. Read on. At the end, the chapter comes back to your guess.

  • You picked B. Read on. At the end, the chapter comes back to your guess.

  • You picked C. Read on. At the end, the chapter comes back to your guess.

By the end you can

A time series is a set of readings taken at regular times, such as each day or each quarter of a year. The order matters. A town records its rain in millimetres for each of 12 quarters, three years in all.

The rain in a town in each of 12 quarters. The head is quarter, rain (mm). Row 1: 1, 80. Row 2: 2, 40. Row 3: 3, 20. Row 4: 4, 60. Row 5: 5, 86. Row 6: 6, 44. Row 7: 7, 24. Row 8: 8, 66. Row 9: 9, 94. Row 10: 10, 48. Row 11: 11, 26. Row 12: 12, 72.quarterrain (mm)180240320460586644724866994104811261272
Quarters 1 to 4 are year 1, 5 to 8 are year 2, and 9 to 12 are year 3.

Draw it first

Plot the time series

  1. The x axis is quarter from 0 to 12 and the y axis is rain (mm) from 0 to 100. The 12 dots are at heights 80, 40, 20, 60, 86, 44, 24, 66, 94, 48, 26 and 72 for quarters 1 to 12. Step 1 shows the dots. Step 2 joins them with straight lines. Step 3 adds a dashed straight line that rises slowly through the middle of the readings, and three dots on it named 50, 55, 60. They are the yearly means, at quarters 2.5, 6.5 and 10.5.24681012204060801000quarterrain (mm)

    1 Put time across and the reading up. Plot one dot for each quarter.

  2. The x axis is quarter from 0 to 12 and the y axis is rain (mm) from 0 to 100. The 12 dots are at heights 80, 40, 20, 60, 86, 44, 24, 66, 94, 48, 26 and 72 for quarters 1 to 12. Step 1 shows the dots. Step 2 joins them with straight lines. Step 3 adds a dashed straight line that rises slowly through the middle of the readings, and three dots on it named 50, 55, 60. They are the yearly means, at quarters 2.5, 6.5 and 10.5.24681012204060801000quarterrain (mm)

    2 Join the dots in order with straight lines. The joining lines show the order, not new readings.

  3. The x axis is quarter from 0 to 12 and the y axis is rain (mm) from 0 to 100. The 12 dots are at heights 80, 40, 20, 60, 86, 44, 24, 66, 94, 48, 26 and 72 for quarters 1 to 12. Step 1 shows the dots. Step 2 joins them with straight lines. Step 3 adds a dashed straight line that rises slowly through the middle of the readings, and three dots on it named 50, 55, 60. They are the yearly means, at quarters 2.5, 6.5 and 10.5.50556024681012204060801000quarterrain (mm)

    3 Draw a dashed line through the middle of the readings, to show the general direction.

Two things stand out. First, the readings go up and down every year: high at the start, low in the third quarter. Second, each year as a whole is a little wetter than the one before.

The trend is the general direction of the readings over a long time. Here it is a slow rise. A seasonal pattern is a rise and fall that repeats after the same number of readings. Here it repeats every 4 quarters.

Worked example

Find the mean rain in each of the three years.

  1. Year 1: 80 + 40 + 20 + 60 = 200 mm. The mean is 200 ÷ 4 = 50 mm.
  2. Year 2: 86 + 44 + 24 + 66 = 220 mm. The mean is 220 ÷ 4 = 55 mm.
  3. Year 3: 94 + 48 + 26 + 72 = 240 mm. The mean is 240 ÷ 4 = 60 mm.

Answer: The yearly means are 50 mm, 55 mm and 60 mm

A bar chart with the y axis rain (mm) and three bars: Year 1 with a height of 50, Year 2 with 55 and Year 3 with 60.0102030405060Year 1Year 2Year 3rain (mm)
The yearly means rise by 5 mm each year.

A mean over a whole year averages out the seasonal ups and downs. What is left is the trend. The yearly means are 50, 55 and 60 mm. They are the dots on the dashed line in the first graph, at the middle of each year.

The rain in each year, one row for each year, shown as yr, and one column for each quarter. The columns are quarters 1 to 4. The head is yr, 1, 2, 3, 4. Row 1: 1, 80, 40, 20, 60. Row 2: 2, 86, 44, 24, 66. Row 3: 3, 94, 48, 26, 72.yr1234180402060286442466394482672
Read down a column. Quarter 1 is always the wettest. Quarter 3 is always the driest.

Worked example

Which quarter has the lowest rain in every year? How big is the gap between the highest and the lowest quarter in year 1?

  1. Year 1 readings are 80, 40, 20 and 60. The lowest, 20, is in quarter 3.
  2. Year 2 readings are 86, 44, 24 and 66, and year 3 readings are 94, 48, 26 and 72. Again the lowest is in quarter 3.
  3. So the pattern repeats: quarter 1 is the wettest and quarter 3 is the driest each year.
  4. In year 1 the gap is 80 − 20 = 60 mm.

Answer: Quarter 3, and the gap is 60 mm

We can use the trend to look a little way ahead. The means rise by 5 mm each year. If that carries on, year 4 has a mean near 65 mm. This is a step beyond the data, so it is a cautious estimate. The further we go, the less we should trust it.

Worked example

Use the yearly means 50, 55 and 60 mm to estimate the mean of year 4.

  1. The first rise is 55 − 50 = 5 mm.
  2. The second rise is 60 − 55 = 5 mm too. The trend is a rise of 5 mm a year.
  3. If the trend carries on, year 4 has a mean of 60 + 5 = 65 mm.
  4. Year 4 is only one year beyond the data, so this is a cautious estimate, not a promise.

Answer: About 65 mm

See it three ways

With things

A seedling is measured every week for 8 weeks. Its heights in centimetres are 4, 9, 14, 18, 24, 29, 33 and 39.

As a picture

A time series with the x axis week from 0 to 8 and the y axis height (cm) from 0 to 40. Eight dots at weeks 1 to 8 rise steadily: (1, 4), (2, 9), (3, 14), (4, 18), (5, 24), (6, 29), (7, 33) and (8, 39). A dashed straight line runs through them.12345678102030400weekheight (cm)

In words

The trend is a steady rise of about 5 cm each week. There is no seasonal pattern: nothing goes up and down in a repeating way.

In symbols

The dashed line is y = 5x − 1. Each week adds about 5 cm.

Try it

Count something each day for 14 days

You need: paper and a pencil, something you can count each day, such as glasses of water.

  1. Each evening, write the day number and the count. Do this for 14 days.
  2. Draw a graph with the day across and the count up. Plot a dot for each day and join them.
  3. Look for a trend. Then look for a pattern that repeats, such as a high count at the end of each week.

What you will see: A pattern that repeats every 7 days is common, because many daily habits follow the week. Here, days 6 and 13 are the highest.

If you cannot try it, this is what happens.
A time series with the x axis day from 0 to 14 and the y axis glasses from 0 to 10. Fourteen dots are joined by lines: 6, 5, 6, 6, 7, 9, 8 for days 1 to 7 and 6, 6, 5, 7, 7, 10, 8 for days 8 to 14. The highest dots are on days 6 and 13.24681012142468100dayglasses

A wrong idea many people have

If the readings go up and down, there is no trend.

Why it feels right: A line that zigzags does not look like it is going anywhere.

The test that breaks it: The rain readings zigzag every year. But the yearly means are 50, 55 and 60. Each year is wetter than the last.

What is true: A trend is the general direction. Ups and downs that repeat sit on top of the trend. Averaging over a whole cycle shows the trend.

Key words

time series
readings taken at regular times, plotted in order.
trend
the general direction of a time series over a long time.
seasonal pattern
a rise and fall that repeats after the same number of readings.

Back to your guess

The answer is C: Plot each reading against time, join the points, and look for the general direction and for ups and downs that repeat.

A mean of all the readings hides the order in which they happened. Plotting each reading against time keeps the order. Then we can see the general direction, called the trend, and the ups and downs that repeat, called a seasonal pattern.

Check yourself

Try each one before you look. A wrong answer tells you where to go next.

  1. The graph shows the number of visitors to a park each week. Which describes the trend?

    A time series with the x axis week from 0 to 8 and the y axis visitors from 0 to 100. Eight dots fall steadily from 90 in week 1 to 55 in week 8: 90, 84, 80, 75, 70, 66, 60 and 55.12345678204060801000weekvisitors
    Tap your answer.
    1. Not this one. The dots start high and end lower. A rising trend would climb from left to right. Go to M4.7.7. Try another.

    2. Not this one. Numbers always change a little. The trend is the general direction, and here the dots fall steadily. Go to M4.7.7. Try another.

    3. Yes, that is right. The visitors drop from 90 in week 1 to 55 in week 8. The general direction is down.

    See the answer

    The trend is a fall.

    The visitors drop from 90 in week 1 to 55 in week 8. The general direction is down.

    • If you chose A: The dots start high and end lower. A rising trend would climb from left to right. Go to M4.7.7.
    • If you chose B: Numbers always change a little. The trend is the general direction, and here the dots fall steadily. Go to M4.7.7.
  2. This graph shows the visitors to a library on each of 14 days. After how many days does the pattern repeat?

    A time series with the x axis day from 0 to 14 and the y axis visitors from 0 to 100. Fourteen dots are joined by lines: 40, 45, 42, 48, 60, 90, 20 for days 1 to 7 and 42, 46, 44, 50, 62, 94, 22 for days 8 to 14. The highest dots are on days 6 and 13.2468101214204060801000dayvisitors
    Tap your answer.
    1. Not this one. 6 is the day of the first peak. The question asks how many days pass before the peak comes again. Go to M4.7.7. Try another.

    2. Yes, that is right. The peaks are on days 6 and 13, which are 7 days apart. The low points on days 7 and 14 are also 7 days apart.

    3. Not this one. 14 is the number of days in the whole series. The pattern shows twice in it, so it repeats after half of that. Go to M4.7.7. Try another.

    4. Not this one. The readings do change from day to day, but the repeating shape is the whole rise and fall, which takes longer. Go to M4.7.7. Try another.

    See the answer

    7 days

    The peaks are on days 6 and 13, which are 7 days apart. The low points on days 7 and 14 are also 7 days apart.

    • If you chose A: 6 is the day of the first peak. The question asks how many days pass before the peak comes again. Go to M4.7.7.
    • If you chose C: 14 is the number of days in the whole series. The pattern shows twice in it, so it repeats after half of that. Go to M4.7.7.
    • If you chose D: The readings do change from day to day, but the repeating shape is the whole rise and fall, which takes longer. Go to M4.7.7.
  3. Which time series is most likely to show a pattern that repeats?

    Tap your answer.
    1. Yes, that is right. Pool visits follow the seasons. The same months are busy each year, so the pattern repeats every 12 months.

    2. Not this one. A growing tree has an upward trend, but its height does not go up and down in a repeating way. Go to M4.7.7. Try another.

    3. Not this one. The ball keeps rolling further, then slows. It does not rise and fall in a repeating way. Go to M4.7.7. Try another.

    See the answer

    The number of visitors to an outdoor swimming pool each month for several years.

    Pool visits follow the seasons. The same months are busy each year, so the pattern repeats every 12 months.

    • If you chose B: A growing tree has an upward trend, but its height does not go up and down in a repeating way. Go to M4.7.7.
    • If you chose C: The ball keeps rolling further, then slows. It does not rise and fall in a repeating way. Go to M4.7.7.
  4. The rain in the four quarters of a year is 88, 52, 28, 72 mm. What is the mean rain for the year?

    Tap your answer.
    1. Not this one. 240 is the total of the four readings. The mean is the total shared out over the 4 quarters. Go to M4.7.7. Try another.

    2. Not this one. 62 is the median, halfway between the two middle readings. The mean uses all four readings added up. Go to M4.7.7. Try another.

    3. Yes, that is right. 88 + 52 + 28 + 72 = 240. Then 240 ÷ 4 = 60.

    See the answer

    60 mm

    88 + 52 + 28 + 72 = 240. Then 240 ÷ 4 = 60.

    • If you chose A: 240 is the total of the four readings. The mean is the total shared out over the 4 quarters. Go to M4.7.7.
    • If you chose B: 62 is the median, halfway between the two middle readings. The mean uses all four readings added up. Go to M4.7.7.
  5. The yearly means of a time series are 40, 44, 48. If the trend carries on, what is the estimate for the next year?

    Tap your answer.
    1. Not this one. 4 is how much the mean rises each year. The next mean is that rise added to the last mean. Go to M4.7.7. Try another.

    2. Not this one. You added the rise twice. The next year is only one step on: 48 + 4. Go to M4.7.7. Try another.

    3. Not this one. That is the last mean. The trend says the mean keeps rising, so the next one is higher. Go to M4.7.7. Try another.

    4. Yes, that is right. The means rise by 4 each year. The next is 48 + 4 = 52.

    See the answer

    52

    The means rise by 4 each year. The next is 48 + 4 = 52.

    • If you chose A: 4 is how much the mean rises each year. The next mean is that rise added to the last mean. Go to M4.7.7.
    • If you chose B: You added the rise twice. The next year is only one step on: 48 + 4. Go to M4.7.7.
    • If you chose C: That is the last mean. The trend says the mean keeps rising, so the next one is higher. Go to M4.7.7.
  6. What does the trend of a time series show?

    Tap your answer.
    1. Not this one. The highest reading is one value. The trend is about the whole series. Go to M4.7.7. Try another.

    2. Not this one. That is the seasonal pattern. The trend is the general direction under those ups and downs. Go to M4.7.7. Try another.

    3. Yes, that is right. The trend says whether the readings are mostly rising, falling or staying level.

    See the answer

    The general direction of the readings over a long time.

    The trend says whether the readings are mostly rising, falling or staying level.

    • If you chose A: The highest reading is one value. The trend is about the whole series. Go to M4.7.7.
    • If you chose B: That is the seasonal pattern. The trend is the general direction under those ups and downs. Go to M4.7.7.
  7. From an earlier chapter

    A line of best fit has the rule y = 3x + 2. Estimate y when x = 9.

    See the answer

    29

    y = 3 × 9 + 2 = 27 + 2 = 29.

  8. The four quarterly readings of one year are 12, 30, 22 and 8. What is the mean for the year?

    See the answer

    18

    12 + 30 + 22 + 8 = 72. Then 72 ÷ 4 = 18.

Keep it

Copy this into your exercise book.

Time series: readings in order, time across. Trend: the general direction. Seasonal pattern: a rise and fall that repeats. The mean over a whole cycle shows the trend.

Draw: A zigzag line that rises slowly, with a dashed line through the middle and two matching peaks marked.

M4.7.8 Chapter 8

Telling the truth with data

A chart shows one tall bar and one short bar, but the two numbers are almost the same. Is the chart telling the truth?

Your guess

Pick one before you read on. It is fine to be wrong.

Your guess
  • You picked A. Read on. At the end, the chapter comes back to your guess.

  • You picked B. Read on. At the end, the chapter comes back to your guess.

  • You picked C. Read on. At the end, the chapter comes back to your guess.

By the end you can

Numbers do not lie, but the way we show them can mislead. A reader who knows the common tricks is hard to fool. This chapter shows three: a cut axis, an average that is not typical, and a comparison that tells only half the story.

Amina measures the mean height of the bean plants in two beds. Bed A has a mean of 52 cm and Bed B has a mean of 56 cm. Here is one chart of these numbers.

A bar chart with the y axis mean height (cm) from 50 to 60. Two bars: Bed A reaches 52 and Bed B reaches 56. The bars stand on a floor at 50, not at 0.505254565860Bed ABed Bmean height (cm)
Bed B looks three times as tall as Bed A. The axis starts at 50.

The bar for Bed A is only 2 units tall above the floor. The bar for Bed B is 6 units tall. So Bed B looks three times as tall. But 56 is only a little more than 52. The difference is 4 cm, which is about 8% of 52.

A bar chart of the same numbers with the y axis mean height (cm) from 0 to 60. Bed A reaches 52 and Bed B reaches 56. The bars are nearly the same height.0102030405060Bed ABed Bmean height (cm)
The same numbers, with the axis from 0. The bars are nearly equal.

In a bar chart the length of a bar shows the size. A cut axis breaks that link. A fair bar chart starts at 0. If an axis has to be cut, a zigzag break mark on the axis warns the reader.

The bar chart with the y axis mean height (cm) cut: 0 at the foot, then a zigzag break mark, then 50 to 60. Bed A reaches 52 and Bed B reaches 56.5052545658600Bed ABed Bmean height (cm)
A cut axis with a zigzag break. The break says that this axis does not start at 0.

Other tricks are common. Two charts side by side may use different scales. A chart may show a short stretch of time, to hide a longer story. A bar chart with classes of different widths, drawn with height as the frequency, makes wide classes look big. Always ask: what is the scale, and what is left out?

Now a trick with an average. A bus company times 7 journeys in minutes: 12, 13, 13, 14, 15, 16 and 85. The 85 minute journey was held up by a flood. A leaflet says: "the average journey is 24 minutes".

A bar chart with the y axis minutes and seven bars labelled 1 to 7, one for each journey. The first six bars are low: 12, 13, 13, 14, 15 and 16. Bar 7 is far taller, at 85.0204060801001234567minutes
One journey took 85 minutes. The other six took 16 minutes or less. The mean is 24 minutes.

Worked example

Find the mean, the median and the mode of the journey times 12, 13, 13, 14, 15, 16 and 85.

  1. Mean: 12 + 13 + 13 + 14 + 15 + 16 + 85 = 168. Then 168 ÷ 7 = 24.
  2. Median: the values are in order. The 4th of the 7 values is 14.
  3. Mode: 13 is the only value that appears twice.

Answer: The mean is 24 minutes, the median is 14 minutes and the mode is 13 minutes

A value far from the rest of the data is an outlier. The 85 is an outlier. It pulls the mean up. The median does not care how far away the largest value is.

Worked example

Which average best describes a typical journey: the mean or the median?

  1. Count the journeys shorter than the mean of 24 minutes. There are 6.
  2. So the mean is higher than six of the seven journeys. It is not typical.
  3. The 85 minute journey is an outlier. The median, the 4th value, is 14 minutes.
  4. Here, with an outlier in the data, the median describes a typical journey better.

Answer: The median, 14 minutes

Now the second half of the story. To compare two groups, one average is not enough. We need a number for the middle, the median, and a number for the spread, the IQR or the range. The two bus routes from the box plots chapter show this.

Two box plots on one scale, time (min), from 0 to 50. Route A has whiskers from 10 to 45 and a box from 18 to 32. Route B, drawn with hatching, has whiskers from 15 to 40 and a box from 22 to 28. Both have the median at 25.Route ARoute B01020304050time (min)
The same median. A much smaller box for Route B.

A short report has three parts. First, compare the middles with the medians. Second, compare the spreads with the IQRs or the ranges. Third, say what it means in plain words, with the numbers and the units.

Worked example

Write a short report comparing the journey times on Route A and Route B.

  1. The medians: both routes have a median of 25 minutes.
  2. The IQRs: Route A has 32 − 18 = 14 minutes. Route B has 28 − 22 = 6 minutes.
  3. The ranges: Route A has 45 − 10 = 35 minutes. Route B has 40 − 15 = 25 minutes.
  4. Report: both routes have a median of 25 minutes. Route B is more consistent, with an IQR of 6 minutes against 14.

Answer: Both routes have a median of 25 minutes, but Route B is more consistent: its IQR is 6 minutes against 14

Try it

Make one chart tell two stories

You need: squared paper, a ruler, a pencil.

  1. Take the counts of visitors in 5 weeks: 50, 51, 53, 52 and 55. Draw a bar chart with the axis from 0 to 60.
  2. Draw the same bar chart again with the axis from 48 to 56. Make both charts the same height on the page.
  3. Compare the two charts. Which one would you use to say "visitors are soaring"? Which is the fair one?

What you will see: The cut chart makes week 5 look more than three times week 1. The fair chart shows a gentle rise of 5 visitors in 4 weeks.

If you cannot try it, this is what happens.
A bar chart with the bars labelled Wk 1, Wk 2, Wk 3, Wk 4 and Wk 5, and the y axis visitors from 48 to 56 with no break mark. The bars stand at 50, 51, 53, 52 and 55. The y axis does not start at 0.4850525456Wk 1Wk 2Wk 3Wk 4Wk 5visitors

A wrong idea many people have

The mean is always the best average.

Why it feels right: The mean uses every value, so it seems the fairest.

The test that breaks it: In the journey times, the mean is 24 minutes, though six of the seven journeys took 16 minutes or less.

What is true: With an outlier, the median usually describes a typical value better. Say which average you used, and why.

A wrong idea many people have

Any chart whose axis does not start at 0 is dishonest.

Why it feels right: A cut axis is a favourite trick, so it is tempting to blame it every time.

The test that breaks it: A line graph of the temperature of a room, from 18 °C to 24 °C, needs no 0. Readers look at the changes along the line, not at the size of a bar.

What is true: A cut axis misleads most in a bar chart, where length means size. A cut axis should be marked with a break, and the numbers on it read.

Key words

outlier
a value that is far from the rest of the data.
misleading
giving a wrong idea, even if the numbers are true.

Back to your guess

The answer is A: Not always. A chart can cut off its axis, which makes a small difference look big.

A chart can be drawn from correct numbers and still mislead. If the axis starts above zero, a small difference can look large. Always read the scale. Charts can be trusted when they are drawn fairly, and we can learn to check.

Check yourself

Try each one before you look. A wrong answer tells you where to go next.

  1. The chart shows the mean jump heights of two classes. What is wrong with it?

    A bar chart with the y axis mean jump height (cm) from 40 to 44. Two bars: Class A reaches 41 and Class B reaches 43. The bars stand on a floor at 40, not at 0.4041424344Class AClass Bmean jump height (cm)
    Tap your answer.
    1. Not this one. That is what the chart seems to say. Read the scale: 43 cm is only 2 cm more than 41 cm. Go to M4.7.8. Try another.

    2. Yes, that is right. The bars start at 40 and not at 0. Class B is only a little higher than Class A, but its bar looks three times as tall.

    3. Not this one. The mean is a fine average for jump heights. What misleads here is the scale on the vertical axis. Go to M4.7.8. Try another.

    See the answer

    The axis is cut, so a small difference looks big.

    The bars start at 40 and not at 0. Class B is only a little higher than Class A, but its bar looks three times as tall.

    • If you chose A: That is what the chart seems to say. Read the scale: 43 cm is only 2 cm more than 41 cm. Go to M4.7.8.
    • If you chose C: The mean is a fine average for jump heights. What misleads here is the scale on the vertical axis. Go to M4.7.8.
  2. Waiting times in minutes are 4, 5, 5, 6, 7, 9 and 48. Which average best describes a typical wait?

    Tap your answer.
    1. Yes, that is right. The median is the 4th of the 7 values, 6. It is not pulled up by the outlier, 48.

    2. Not this one. The one wait of 48 minutes pulls the mean up. Six of the seven waits are under 12 minutes. Go to M4.7.8. Try another.

    3. Not this one. The range measures spread, not the middle. It is the largest value minus the smallest, 48 − 4. Go to M4.7.8. Try another.

    See the answer

    The median, 6 minutes

    The median is the 4th of the 7 values, 6. It is not pulled up by the outlier, 48.

    • If you chose B: The one wait of 48 minutes pulls the mean up. Six of the seven waits are under 12 minutes. Go to M4.7.8.
    • If you chose C: The range measures spread, not the middle. It is the largest value minus the smallest, 48 − 4. Go to M4.7.8.
  3. A leaflet says: "Route A has the lower mean time, so it is more reliable." Why is this not enough?

    Tap your answer.
    1. Not this one. The mean can be used for times. The problem is that one number cannot show how much the times vary. Go to M4.7.8. Try another.

    2. Not this one. A mean is one number. Some journeys on Route A can still be slow if its times are spread out. Go to M4.7.8. Try another.

    3. Yes, that is right. A mean says nothing about spread. Two routes with the same mean can have very different spreads.

    See the answer

    Reliable means little spread, so the IQRs or ranges must be compared too.

    A mean says nothing about spread. Two routes with the same mean can have very different spreads.

    • If you chose A: The mean can be used for times. The problem is that one number cannot show how much the times vary. Go to M4.7.8.
    • If you chose B: A mean is one number. Some journeys on Route A can still be slow if its times are spread out. Go to M4.7.8.
  4. The box plots show the heights of plants in two beds. Which statement is true?

    Two box plots on one scale, height (cm), from 0 to 70. Bed X has whiskers from 20 to 50 and a box from 28 to 42, with the median at 35. Bed Y, drawn with hatching, has whiskers from 25 to 60 and a box from 33 to 52, with the median at 45.Bed XBed Y010203040506070height (cm)
    Tap your answer.
    1. Not this one. The thick line of Bed X is further left than that of Bed Y. A higher median is further right on the scale. Go to M4.7.8. Try another.

    2. Not this one. The box of Bed Y is longer than the box of Bed X, so its IQR is bigger. The spreads are not the same. Go to M4.7.8. Try another.

    3. Yes, that is right. Bed Y has the median further right, and its box is longer. Its IQR is 52 − 33 = 19 against 42 − 28 = 14.

    See the answer

    Bed Y has the higher median and the larger spread.

    Bed Y has the median further right, and its box is longer. Its IQR is 52 − 33 = 19 against 42 − 28 = 14.

    • If you chose A: The thick line of Bed X is further left than that of Bed Y. A higher median is further right on the scale. Go to M4.7.8.
    • If you chose B: The box of Bed Y is longer than the box of Bed X, so its IQR is bigger. The spreads are not the same. Go to M4.7.8.
  5. Which of these can make a bar chart misleading?

    Tap your answer.
    1. Not this one. Labels and units help the reader. They do not mislead. Go to M4.7.8. Try another.

    2. Yes, that is right. A cut axis makes small differences look large, because bar length no longer shows the size.

    3. Not this one. A common scale is what makes bars fair to compare. Go to M4.7.8. Try another.

    See the answer

    Starting the vertical axis above zero.

    A cut axis makes small differences look large, because bar length no longer shows the size.

    • If you chose A: Labels and units help the reader. They do not mislead. Go to M4.7.8.
    • If you chose C: A common scale is what makes bars fair to compare. Go to M4.7.8.
  6. What is an outlier?

    Tap your answer.
    1. Yes, that is right. An outlier stands apart from the other values. It can pull a mean away from the typical value.

    2. Not this one. That is the mode. An outlier is not common. It stands apart from the others. Go to M4.7.8. Try another.

    3. Not this one. That is the median. An outlier is far from the middle. Go to M4.7.8. Try another.

    See the answer

    A value that is far from the rest of the data.

    An outlier stands apart from the other values. It can pull a mean away from the typical value.

    • If you chose B: That is the mode. An outlier is not common. It stands apart from the others. Go to M4.7.8.
    • If you chose C: That is the median. An outlier is far from the middle. Go to M4.7.8.
  7. From an earlier chapter

    The four quarterly readings of a year are 14, 26, 18, 10. What is the mean for the year?

    See the answer

    17

    14 + 26 + 18 + 10 = 68. Then 68 ÷ 4 = 17.

  8. Find the median of these 7 journey times, in minutes: 9, 10, 11, 12, 14, 15, 60.

    See the answer

    12

    The values are in order. The 4th of the 7 values is 12. The outlier, 60, does not change the median.

Keep it

Copy this into your exercise book.

Check the scale: a cut axis misleads. An outlier pulls the mean, so use the median. To compare groups, give the median and the IQR, with the units.

Draw: Two bar charts of the same two numbers, one from 0 and one cut, with the words "same numbers" between.

Key words, A to Z

Every key word in this book, what it means, and the chapter that teaches it.

biased
leaning one way, because some members are more likely to be chosen. M4.7.1
box plot
a picture of the smallest value, Q1, the median, Q3 and the largest value on one scale. M4.7.4
consistent
not spread out: the values stay close together. M4.7.4
correlation
the pattern between two measurements: positive, negative or none. M4.7.6
cumulative frequency
a running total of the frequencies. M4.7.3
estimate
an answer that is close, not exact, because some information is missing. M4.7.2
extrapolation
using a line beyond the range of the data, which is unreliable. M4.7.6
frequency density
frequency divided by class width. It is the height of a bar in a histogram. M4.7.5
frequency table
a table that lists each value and how many times it happens. M4.7.2
histogram
a chart for measured data in which the area of each bar is the frequency. M4.7.5
interquartile range
the upper quartile minus the lower quartile, the length of the middle half of the data. M4.7.3
line of best fit
a straight line drawn through the middle of the dots on a scatter graph. M4.7.6
midpoint
the number halfway between the two ends of a class. M4.7.2
misleading
giving a wrong idea, even if the numbers are true. M4.7.8
modal class
the class with the greatest frequency. M4.7.2
outlier
a value that is far from the rest of the data. M4.7.8
population
everything we want to know about. M4.7.1
quartile
a value that splits ordered data into quarters. Q1 has a quarter below it, Q3 a quarter above. M4.7.3
random sample
a sample where every member has the same chance of being chosen. M4.7.1
sample
a part of the population that we look at. M4.7.1
scatter graph
a graph with one dot for each pair of measurements. M4.7.6
seasonal pattern
a rise and fall that repeats after the same number of readings. M4.7.7
stratified sample
a sample that takes from each group in proportion to its size. M4.7.1
time series
readings taken at regular times, plotted in order. M4.7.7
trend
the general direction of a time series over a long time. M4.7.7
upper boundary
the top end of a class, where its cumulative frequency is plotted. M4.7.3
whisker
the line from the box to the smallest or the largest value. M4.7.4