Succeed with maths – Part 2
◄Previous: 1.2 Is the mean the best average to use?

# 1.3 Calculating the median value of a data set

The median is defined as the middle value of a data set when all the data is arranged in numerical order. If there is an even number of values, and therefore no middle value, then the median is calculated as the mean value of the two middle values.

So, let’s now see how using the median, rather than the mean, affects the value for the average rainfall in Vermont. Here’s a reminder of the data:

## Table 3 Precipitation (rainfall) in Vermont for October 2007–2011

Year | 2007 | 2008 | 2009 | 2010 | 2011
--- | --- | --- | --- | --- | ---
Rainfall, in inches (to 1 d.p.) | 5.8 | 5.2 | 4.6 | 9.3 | 4.5

(Enloe, 2013)

To find the median rainfall, first arrange the data values in numerical order, to give:

4.5 4.65.25.8 9.3

There are five data values, an odd number, so the median is the middle value in this case. Therefore the median rainfall is 5.2 inches.

If you look at the number line again in Figure 2, with the median added this time, it appears that the median may be a better choice for an average or typical value in this case:

Figure 2 Rainfall number line with mean and median values indicated

Now try out the next activity.

## Activity 3 A computer game for Charlie

Allow approximately 7 minutes

Over the course of one week Charlie plays her computer game every day except Friday, and achieves the following scores:

## Table 4 Charlie's computer game scores over one week

Monday | Tuesday | Wednesday | Thursday | Saturday | Sunday
250 | 270 | 300 | 290 | 290 | 270

1. Find Charlie’s mean score over these seven days.

## Answer

1. To find the mean, find the sum of the scores and divide by the number of scores, six.

   Charlie’s mean score = 250 + 270 + 300 + 290 + 290 + 270 = 278 (to the nearest whole number).

2. Find Charlie’s median score over these six days. (Click on reveal comment if you would like a hint)

## Discussion

There is an even number of data values this time, so to find the median calculate the mean of the middle two values.

## Answer

2. To find the median score, arrange the data values in order:

   250 270270 290290 300

   There is an even number of values (six), so Charlie’s median score is the mean of the two middle values, 270 and 290.

3. How do the median score and the mean score compare in this case?

## Answer

3. This time, the mean and median scores are very close. This is because the data values are fairly evenly clustered around the mean value without any extremely high or low values.

Having covered the mean and median, this leaves just the mode to consider in the next section.

◄Contents►Next: 1.4 Finding the mode of a data set

OpenLearn - Succeed with maths – Part 2
Except for third party materials and otherwise, this content is made available under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 Licence, full copyright detail can be found in the acknowledgements section. Please see full copyright statement for details.