Study Blocks

World map › Bivariate data & probability › Lesson 4

Averages and outliers: what is typical?

⏱ about 50 min · MYP criteria A, B, C, D

By the end of this lesson you can…
🌍 The big question

A small bakery puts up a job advert: “Join our team! Average pay: $1200 a week.”

Here is what the nine people at the bakery really earn each week (illustrative numbers, invented for this lesson):

person12345678owner
pay ($ per week)5205405605806006006206806100

Add them up: the total is $10 800, and 10 800÷9=120010\,800 \div 9 = 1200. So the advert is not lying… is it? How many of the nine people earn anything close to $1200? If you got a job there, what would you expect to earn?

An “average” is meant to be one number that stands for the whole data set. But there is more than one kind of average, and in this bakery they tell very different stories. Today you will see exactly why, and learn to choose the honest one.

🧪 Explore — try it, no scoring

Try these first. Nothing is marked: just have a go.

no hints, nothing is marked

Seven friends time their journey to school one morning, in minutes:

12,  15,  14,  13,  16,  15,  6012, \; 15, \; 14, \; 13, \; 16, \; 15, \; 60

(One friend's bus broke down.) Which number best describes how long a typical journey takes?

no hints, nothing is marked

Six sunflower seedlings have these heights, in cm:

14,  9,  21,  11,  17,  1214, \; 9, \; 21, \; 11, \; 17, \; 12

What is the median height?

cm
no hints, nothing is marked

A cyclist's mean distance over her first 6 days of training is 24 km a day. On day 7 she rides 20 km.

What happens to her mean distance per day when day 7 is included?

Now explore with the dot plot below. Each dot is one value. The orange triangle ▲ is the balance point: imagine the number line is a plank and each dot is a coin of the same weight; the plank balances on the triangle. The blue diamond ◆ marks the median (the middle value).

  1. Select the largest dot (it starts selected) and press +5 again and again until it is near 60. Watch the triangle and the diamond. Which one moves? How far? Use the “Since the start” readout.
  2. Now drag the smallest dot down towards 0. What happens this time?
  3. Tick show distances to the balance point. Change any dot. What do you notice about the two totals?
  4. Press Ten values. Where is the median now that there is no single middle dot?
  5. Try Two values far away. Is the balance point near most of the dots?
🎯 Predict first

Before you start: if the largest value is dragged from 17 all the way to 55, the median (the middle value) will…

Each dot is one value: minutes each friend took to solve a puzzle (illustrative data).

0102030405060▲ balance point◆ median

Filled ▲ and ◆: now. Dashed outlines: where they were before you changed anything.

selected value: 17
In order: 81011121213141517 (9 values; the boxed value is in the middle)
▲ Mean (balance point): 112÷9=12.4112 \div 9 = 12.4 (to 1 d.p.)
◆ Median: 1212
Mode: 12 · Range: 17−8=917 - 8 = 9
Since the start: mean moved 0, median moved 0
🔎 What do you notice?
  • Dragging the largest value far to the right pulls the balance point (the mean) after it. The median does not move at all, because the middle dot is still the middle dot.
  • The two distance totals are always equal: the dots to the left of the balance point are, in total, exactly as far from it as the dots to the right. That is what “balancing” means.
  • With ten values there are two middle values, and the median is halfway between them.
  • With two values far away, the balance point sits in a gap where there are hardly any dots. It no longer looks like a “typical” value.
  • Try-first 1 (the journeys). In order the times are 12, 13, 14, 15, 15, 16, 60. Six of the seven journeys took 12 to 16 minutes, so 15 minutes (the middle value) describes a typical journey. The mean is 145÷7≈20.7145 \div 7 \approx 20.7 minutes, longer than six of the seven journeys, because the one 60-minute trip pulls it up.
  • Try-first 2 (the seedlings). Sort first: 9, 11, 12, 14, 17, 21. There is no single middle value; the middle two are 12 and 14, so the median is 13 cm, halfway between them.
  • Try-first 3 (the cyclist). The new ride, 20 km, is below the old mean of 24 km, so the mean goes down: the total becomes 6×24+20=1646 \times 24 + 20 = 164 km over 7 days, and 164÷7≈23.4164 \div 7 \approx 23.4 km. A new value below the balance point tips the balance to the left.
📐 Key idea

Four summaries of a data set

For a list of nn numbers (the values, or data):

  • Mean =total of all the valuesnumber of values= \dfrac{\text{total of all the values}}{\text{number of values}}. It is the balance point of the data.
  • Median = the middle value once the values are in order. If nn is odd, it is the value in position n+12\frac{n+1}{2}. If nn is even, it is the mean of the two middle values (positions n2\frac{n}{2} and n2+1\frac{n}{2} + 1).
  • Mode = the value that occurs most often. There can be more than one mode, or none.
  • Range = largest value −- smallest value. The range is not an average: it measures how spread out the data is.

The mean, median and mode are all called averages (also: measures of central tendency): each one tries to give a typical value.

An outlier is a value that is far away from the rest of the data, like the owner’s $6100 in the bakery.

🔍 Why it works

Why the mean shares out, and why it balances

Sharing out. Suppose the nine bakery workers put all their pay in one pot ($10 800) and share it out equally. Each person gets $1200, because 10 800÷9=120010\,800 \div 9 = 1200. That is all the mean is: the value everyone would have if the total were shared equally. So the mean depends on the total, and one huge value makes the total, and therefore every equal share, much bigger.

Balancing. Call the mean mm. A value xx is x−mx - m away from it (positive on the right, negative on the left). Add these up for all nn values:

(x1−m)+(x2−m)+⋯+(xn−m)=(total)−n×m=(total)−total=0(x_1 - m) + (x_2 - m) + \dots + (x_n - m) = (\text{total}) - n \times m = (\text{total}) - \text{total} = 0

because n×mn \times m is the total. The distances on the right exactly cancel the distances on the left, so the plank balances at mm. That is what the widget’s two equal totals showed.

🔍 Why it works

Why the median hardly moves

The median only depends on which value is in the middle once they are in order. If the largest value grows even larger, it stays the largest, nothing changes places, and the middle value is the same.

What if we change any one value, by any amount? Take 9 values in order. Before the change, 4 values sit below the middle one and 4 above it. Changing one value leaves at least 3 of the 4 lower values and at least 3 of the 4 upper values where they were. So the new middle value can never be below the old 4th value or above the old 6th value: the median stays between the neighbours of the old middle. (It can move: for example, if you drag the middle dot itself, the median goes with it, but only as far as the next dot.) However far a value is dragged, the median can only move as far as its neighbours, while the mean follows the dragged value all the way.

📐 Key idea

The mean from a frequency table

A frequency table says how many times each value occurs. Each value xx that occurs ff times contributes f×xf \times x to the total. So

mean=total of all the valuesnumber of values=∑fx∑f\text{mean} = \frac{\text{total of all the values}}{\text{number of values}} = \frac{\sum fx}{\sum f}

where ∑\sum (the Greek capital sigma) means “add up all of these”. ∑f\sum f is the total frequency: how many values there are altogether.

🔍 Why it works

ff copies of the value xx add up to x+x+⋯+x=f×xx + x + \dots + x = f \times x. Adding these for every row of the table gives the same total as adding the whole long list one value at a time. And the number of values is the number of copies altogether, ∑f\sum f, not the number of rows.

⚠️ Watch out

Five traps

  • Sort before you find the median. The middle of an unsorted list means nothing.
  • Even number of values: the median is the mean of the two middle values, and it does not have to be one of the data values.
  • Frequency table: divide by the total frequency ∑f\sum f, not by the number of rows. Check: the mean must lie between the smallest and the largest value.
  • Do not delete an outlier just because it is awkward. First ask why it is there. A typing mistake (a height of 1600 cm) should be corrected or removed. A real, important value (the owner’s pay, a once-a-century flood) belongs in the data: then choose an average that is not dragged by it, and mention it.
  • Categories with no natural order (favourite fruit, colour of car) have no total and no order, so they have no mean and no median. The mode is the only average that works for them.
🧱 Worked example

Back to the bakery

Pay ($ per week): 520, 540, 560, 580, 600, 600, 620, 680, 6100.

Step 1 — Mean

mean=10 8009=1200 dollars per week\text{mean} = \frac{10\,800}{9} = 1200 \text{ dollars per week}

Step 2 — Median and mode

The list is already in order. There are 9 values, so the median is the 5th: $600. The mode is also $600 (it appears twice).

Step 3 — Which is typical?

Eight of the nine people earn between $520 and $680. The median, $600, is right in the middle of them. The mean, $1200, is more than any of those eight people earn: only the owner earns more. The owner’s $6100 is an outlier that drags the mean up.

Step 4 — Is it sensible? Should we delete the owner?

No: the owner’s pay is real, not a mistake. But a person applying for a job will not be the owner. An honest advert says “typical (median) pay: $600 a week”. The mean is not wrong; it answers a different question: “if all the pay were shared equally, how much each?” Always ask which question an average is answering.

🧱 Worked example

Two ways to find a mean from a frequency table

A survey counts the number of people in each of 25 cars driving past a school gate:

people in the car, xx12345
number of cars, ff116422
Way 1 — Write out every value

The full list has 25 values: eleven 1s, six 2s, four 3s, two 4s and two 5s.

1+1+⋯+1⏟11+2+⋯+2⏟6+3+⋯+3⏟4+4+4+5+5=11+12+12+8+10=53\underbrace{1 + 1 + \dots + 1}_{11} + \underbrace{2 + \dots + 2}_{6} + \underbrace{3 + \dots + 3}_{4} + 4 + 4 + 5 + 5 = 11 + 12 + 12 + 8 + 10 = 53

mean=5325=2.12 people per car\text{mean} = \frac{53}{25} = 2.12 \text{ people per car}

Way 2 — Use the table directly

Add a row f×xf \times x: 11,12,12,8,1011, 12, 12, 8, 10. Then ∑fx=53\sum fx = 53 and ∑f=11+6+4+2+2=25\sum f = 11 + 6 + 4 + 2 + 2 = 25, so the mean is 5325=2.12\dfrac{53}{25} = 2.12.

Which way is neater?

Both give 2.12, because Way 2 is exactly Way 1 with the repeated adding replaced by multiplying. Way 1 shows why; Way 2 is much faster, and with 2500 cars instead of 25 it is the only sensible choice.

Is it sensible?

2.12 lies between 1 and 5 ✓, and it is close to 1 and 2, because most cars carry one or two people ✓. A mean of 2.12 people is not a possible car, and that is fine: the mean is a fair share, not a real value. (A common slip is 53÷5=10.653 \div 5 = 10.6, dividing by the number of columns. More people per car than a car can hold is the warning sign.) The median is the 13th value: the first 11 values are 1s and the 12th to 17th are 2s, so the median is 2. The mode is 1.

Foundation

The numbers of emails a teacher received on seven days were:

6,  2,  9,  11,  4,  3,  56, \; 2, \; 9, \; 11, \; 4, \; 3, \; 5

What is the median?

IB StandardCriterion C

Eleven students timed how long they took to solve a puzzle. Ten of them took between 40 and 70 seconds; one student got stuck and took 300 seconds.

Which average gives the best idea of a typical time, and why?

🤔 Pause and think

Which average would you put in the headline?

A town reports the mean price of a house sold last year; another reports the median. A new, very expensive housing estate is built in each town. Which town’s headline number jumps? Which one would you trust to tell you what an ordinary family pays? Is there a question for which the mean is the better answer (hint: think about a builder who wants to know the total value of all the houses)?

⛏ Practice — choose your level

The rainfall, in mm, on five days was:

4,  0,  7,  3,  64, \; 0, \; 7, \; 3, \; 6

Find the mean daily rainfall.

mm
🏗 Build project — real-life task

What does a typical house cost on Lakeview Road?

In its yearly Annual Survey of Hours and Earnings, the UK’s Office for National Statistics uses the median as its headline figure for earnings, because a relatively small number of very high earners pulls the mean up, and the median gives a better picture of typical pay.

Here is a smaller version of the same problem. Eight houses on Lakeview Road were sold last year (illustrative numbers). Prices are in thousands of dollars (so 180 means $180 000):

house12345678
price (thousand $)2051801450215195220200210

House 3 is a large lakeside villa with its own boathouse. A family wants to know what a typical house on the road costs. Answer the questions in order.

IB StandardCriterion D

Using the Lakeview Road prices (thousand $): 205, 180, 1450, 215, 195, 220, 200, 210.

Find the mean price, in thousands of dollars, to 1 decimal place.

thousand $
IB StandardCriterion D

Find the median price on Lakeview Road, in thousands of dollars.

thousand $
IB StandardCriterion D

An estate agent writes: "Average house price on Lakeview Road: about $359 000." A family with a budget of $230 000 reads this and decides the road is too expensive for them.

Which response is best?

ExtensionCriterion D

A local newspaper wants one sentence about house prices on Lakeview Road. One reporter says: "Just delete the villa from the data; then the mean is fine."

Write a short note (3–5 sentences) to the newspaper. Say whether the villa should be deleted, which average you would report and why, and what else readers should be told. Use numbers from your answers.

📓 Work it out in your notebook first — sketch, calculate, then write your answer here in full sentences. A model answer appears after you submit, so you can compare.

🔗 Connections

The mean, median and mode are everywhere: average speed, typical rent, the most common shoe size a shop should stock. Scientists and newspapers choose between them every day, and a good reader always asks “which average, and why?”. Outliers matter too: a doctor looks at an unusual blood test result instead of averaging it away, and a bank’s computer flags an unusual payment that might be fraud.

So far every data set in this lesson had one measurement per person or thing. Next lesson, each person gives two measurements (height and arm span, hours of practice and score), and we ask a new question: are the two related?

🪞 Reflect

In your own words: why does one very large value change the mean a lot but the median hardly at all? Use the picture of the balance point.

Describe a real situation where you would report the median, and one where you would report the mean. What question does each one answer?