By the end of this lesson you should be able to
- Calculate the mean, median, mode and range of a set of data
- Find averages from a frequency table
- Estimate the mean and identify the modal class for grouped data
- Choose the most suitable average for a situation
Three ways to describe the “middle”
An average is a single value that represents a set of data. There are three common averages, and each answers a slightly different question.
| Average | What it is | How to find it |
|---|---|---|
| Mean | The “fair share” value | |
| Median | The middle value | Put the data in order, then take the middle one (or the mean of the middle two) |
| Mode | The most common value | The value that appears most often |
The range measures spread: .
Worked examples with raw data
Example 1. Find the mean, median, mode and range of .
Mean:
Median: first put the values in order: . There are values, so the median is the mean of the 4th and 5th values: .
Mode: , which appears three times.
Range: .
Frequency tables
When a value is repeated many times, data is often shown in a frequency table. To find the mean, multiply each value by its frequency, add these products, and divide by the total frequency.
Example 2. The table shows the scores of 20 learners in a short test.
| Score | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|
| Frequency | 2 | 5 | 8 | 3 | 2 |
Mean: , and .
Median: with values, the median lies between the 10th and 11th values. The cumulative frequencies are , , , so both the 10th and 11th values are in the score group. The median is .
Mode: the highest frequency is , so the mode is a score of .
Grouped data
When data is grouped into class intervals, you do not know the exact values, so you can only estimate the mean. Use the midpoint of each class as its representative value.
Example 3. The marks of 30 learners are grouped in the table. Estimate the mean mark and state the modal class.
| Marks | Frequency | Midpoint | |
|---|---|---|---|
| 10 – 19 | 4 | 14.5 | 58 |
| 20 – 29 | 6 | 24.5 | 147 |
| 30 – 39 | 10 | 34.5 | 345 |
| 40 – 49 | 8 | 44.5 | 356 |
| 50 – 59 | 2 | 54.5 | 109 |
| Total | 30 | 1015 |
The modal class is the class with the highest frequency: .
The median falls in the class that contains the 15th and 16th values. The cumulative frequencies are , , , so the median class is also .
Extension: estimating the median. Some courses also estimate the median by interpolation. With the lower class boundary of the median class, the cumulative frequency before it, its frequency and its width:
For Example 3: .
Which average should you use?
- Use the mean when values are fairly even and you want to use all the data.
- Use the median when the data has extreme values (outliers) that would distort the mean.
- Use the mode for categories or when you want the most popular choice, such as the most common shoe size.
Example 4. Five workers earn K2 000, K2 200, K2 100, K2 300 and K15 000 a month. Which average is more suitable?
The total is K23 600, so the mean is K4 720. But four of the five earn about K2 000 to K2 300, so K4 720 is misleading. The median, K2 200, describes a typical worker much better. The one very large salary pulls the mean up but does not affect the median.
Common mistakes
Not ordering the data before finding the median. The median is the middle of the ordered list, not the middle of the list as it was written.
Dividing by the wrong number. For a frequency table, divide by , not by the number of columns or classes.
Using class limits instead of midpoints. For a class , use as the representative value.
Giving the frequency as the mode. The mode is the value (or class) that occurs most often, not the number of times it occurs.
Practice questions
-
Find the mean, median and mode of . Give the mean to 2 decimal places.
-
The mean of five numbers is . Four of them are . Find the fifth number.
-
A frequency table shows with frequencies . Find the mean (to 2 decimal places), the median and the mode.
-
Estimate the mean and state the modal class of this data.
Class 0 – 9 10 – 19 20 – 29 30 – 39 40 – 49 Frequency 5 12 18 10 5 -
The mean of six numbers is . When a seventh number is added, the mean becomes . Find the seventh number.
-
Find the range, mode and median of .
-
A shop records these daily sales: K180, K200, K190, K210, K1 500. Say which average is more suitable and give a reason.
Show answers
- Sum , so the mean is . In order: , so the median is and the mode is .
- The total must be . The four known numbers add to , so the fifth is .
- and , so the mean is . The cumulative frequencies are , so the 15th and 16th values are both , giving a median of . The mode is .
- Midpoints: . and , so the estimated mean is . The modal class is .
- The total of the seven numbers is . The first six total , so the seventh number is .
- In order: . Range , mode , median .
- The median (K200) is more suitable. The K1 500 day is an outlier that would raise the mean to K456, which does not represent a typical day.
Summary
- Mean: total divided by the number of values. Median: the middle of the ordered data. Mode: the most common value. Range: largest minus smallest.
- For frequency tables, the mean is .
- For grouped data, use class midpoints to estimate the mean, and name the modal class by its highest frequency.
- Choose the median when unusually large or small values would distort the mean.
Now practise this topic
Real questions show you what still needs work. Try a past paper under timed conditions, or take a short quiz.