ViewWiki

Lesson 1 of 5

Mean, median and mode.

About 25 minutes · 6 practice questions

Three ways to give a long list of readings one number: the balance point, the value in the middle and the most common value, and what happens to each when a bad reading creeps in.

Step 1 of 6 · The balance point

Step 1 of 6

The balance point

The board holds 2020⁠ readings of the same quantity, say the time a ball takes to roll down a track. The xx⁠-axis is only the order in which they were taken; what matters is each bead’s height, its yy⁠ value. Every reading is a little different from the others, and still you want one number that says “about how much”.

The mean is the total of all the values divided by how many there are:

xˉ=x1+x2+⋯+xnn\bar{x} = \frac{x_1 + x_2 + \dots + x_n}{n}⁠

Think of it as a balance point: if each value is a weight on a ruler, the ruler balances exactly at the mean. That is why the distances from the mean, those above minus those below, always add to 00⁠. On the board the amber line is yˉ\bar{y}⁠, and it runs exactly at 55⁠.

Now a short list, without the board: work out the mean.

To the question

Step 2 of 6

The value in the middle

The median is the value in the middle once the data are in order of size. Half the values are smaller and half are larger. When the number of values nn⁠ is odd, the median is the value in place n+12\frac{n + 1}{2}⁠ of the sorted list.

The first step is always to sort. Try it.

To the question

Step 3 of 6

An even count

When the number of values is even, there is no single value in the middle. There are two, in places n2\frac{n}{2}⁠ and n2+1\frac{n}{2} + 1⁠, and the median is their mean. That is how the median of the 2020⁠ readings on the board works too: the mean of the tenth and the eleventh in order.

To the question

Step 4 of 6

The most common value

The mode is the value that appears most often. It is the only one of the three that also works for data that are not numbers, such as a class’s favourite colour, and it is always a value that really occurred. But when every value is different, as with the readings on the board, it means nothing: each value appears once.

For a shoe shop the mode is the number that matters: that is the size to order more of.

To the question

Step 5 of 6

A bad reading

The board shows Mean and spread: yˉ=5\bar{y} = 5⁠. The median of the twenty readings is close to it, 5.105.10⁠.

Now someone wrote one reading down wrong, 00⁠ instead of about 55⁠. Bad reading will add it to the board as a pink bead. Predict what happens to the mean and to the median, then look.

To the question

Step 6 of 6

The new mean

The bad reading is on the board, and the board hides the mean again. You do not need all 2121⁠ values to work it out: go back from the old mean to the total, xˉ⋅n\bar{x} \cdot n⁠, add the new value, and divide by the new count.

A value like this, far from all the rest, is called an outlier. Before you decide which average to report, ask whether it is a mistake. If it is, correct it or leave it out. If not, like one huge salary in a small company, the median describes the typical value better than the mean.

To the question

Interactive scene

Loading the interactive version…

Each step sets up the Scene for you, and a control marked “fixed” stays put for that step.

To the experiment

Practice · Calculate

Five friends counted the books they read in a year: 4,7,7,9,134, 7, 7, 9, 13⁠. What is the mean?

To the experiment

Practice · Calculate

The wait for a bus, in minutes, on five mornings: 12,3,9,5,812, 3, 9, 5, 8⁠. What is the median?

To the experiment

Practice · Calculate

Six children have 1,4,6,10,13,201, 4, 6, 10, 13, 20⁠ marbles. What is the median?

To the experiment

Practice · Calculate

One morning a shop sold shoes in sizes 36,38,38,38,40,41,43,4636, 38, 38, 38, 40, 41, 43, 46⁠. What is the mode?

To the experiment

Practice · Predict, then look

The twenty readings on the board have a mean of 55⁠. Switch on Bad reading: one more reading, of 00⁠. What happens to the mean and the median?

To the experiment

Practice · Calculate

Twenty readings with a mean of exactly 55⁠, and one bad reading of 00⁠. What is the mean of all 2121⁠ readings? Round to two decimal places.