Easier to read with cream paper, a tint, more contrast or larger text? Choose your colours and text, once, for every page.

Preview

AC 2.7: Mean, median, mode and weighted mean

This is the first page of the lesson. Read it and have a go at the activities. The rest is in the full lesson.

60 minutes

What is a typical score?

Seven pupils score 4, 5, 5, 6, 7, 8 and 20 in a quiz. A teacher asks for the typical score.

She could say 5, or 6, or 8. Each answer is right for its own kind of average. Choosing the right one is part of the job.

Key words

WordWhat it means
Central tendencya single value that stands for the middle or typical value of the data
Meanthe total divided by how many values there are
Medianthe middle value when the data is in order
Modethe value that appears most often
Weighted meana mean where some values count more than others
Weighthow much a value counts in a weighted mean

The cells students fill in are left blank in this preview.

By the end of this lesson

Note

I can work out the mean, median, mode and weighted mean, and say when each one is the best choice.

Starter

Have a go

Starter

3 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Your answers are marked here and are not kept. A college account keeps every student’s marks.

Worked example: the seven scores

MeasureWorkingResult
Mean4+5+5+6+7+8+20 is 55, divided by 7About 7.9
MedianIn order the middle (4th) value is 66
Mode5 appears twice, the rest once5

The cells students fill in are left blank in this preview.

Which one to use

The mean uses every value, so it is pulled by the 20. The median ignores how far out the 20 is. The mode is the most common, and is the only one that works for text such as the most popular colour.

For skewed data or outliers, the median is usually the fairest typical value.

Try it: three averages

Code: python
scores = [4, 5, 5, 6, 7, 8, 20]
total = 0
for s in scores:
    total = total + s
print("mean", total / len(scores))

ordered = sorted(scores)
print("median", ordered[len(ordered) // 2])

best = 0
best_value = 0
for s in scores:
    count = scores.count(s)
    if count > best:
        best = count
        best_value = s
print("mode", best_value)

# Change the 20 to 8. Which average moves most?

The weighted mean

Sometimes values do not count equally. A course mark may count the exam twice as much as each of two projects.

Multiply each mark by its weight, add the answers, and divide by the total of the weights. It is a mean where the exam counts double.

Worked example: a weighted course mark

PartMarkWeightMark times weight
Project 160160
Project 280180
Exam702140
Total4280
Weighted mean280 divided by 4 is 70

The cells students fill in are left blank in this preview.

The lesson goes on

5 more parts of this lesson are in the full curriculum, with the tasks, the final check and the labs. A college account gives your students all of it.