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
| Word | What it means |
|---|---|
| Central tendency | a single value that stands for the middle or typical value of the data |
| Mean | the total divided by how many values there are |
| Median | the middle value when the data is in order |
| Mode | the value that appears most often |
| Weighted mean | a mean where some values count more than others |
| Weight | how 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 questionsYour answers are marked here and are not kept. A college account keeps every student’s marks.
Worked example: the seven scores
| Measure | Working | Result |
|---|---|---|
| Mean | 4+5+5+6+7+8+20 is 55, divided by 7 | About 7.9 |
| Median | In order the middle (4th) value is 6 | 6 |
| Mode | 5 appears twice, the rest once | 5 |
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
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
| Part | Mark | Weight | Mark times weight |
|---|---|---|---|
| Project 1 | 60 | 1 | 60 |
| Project 2 | 80 | 1 | 80 |
| Exam | 70 | 2 | 140 |
| Total | 4 | 280 | |
| Weighted mean | 280 divided by 4 is 70 |
The cells students fill in are left blank in this preview.