Measures of location
Studying this course? Keep your progress in one place.
Key facts
- The mean is ; the median is the th value in order; the mode is the most frequent value.
- For a frequency table, , where .
- For grouped data use midpoints for the mean and linear interpolation for the median: both are estimates.
- With coding , decode with ; combine means using totals.
- The median is not affected by extreme values; the mean is.
Mean, median and mode
The mean uses every value, the median is the middle value in order, and the mode is the most frequent value.
A measure of location is a single value that describes the centre of a data set.
For values the mean is . The median is the middle value when the data are in order (the th value), or the mean of the two middle values when is even. The mode is the most frequent value.
Data can be discrete (counts, such as goals) or continuous (measurements, such as time and mass).
- Mean
- Medianth value
- Modemost frequent value
Worked example
Find the mean, median and mode of 0, 1, 1, 2, 2, 2, 3, 3, 4, 6.
- 1
Add the values: and , so .
- 2
The data are already in order. With the median is the mean of the 5th and 6th values, which are both 2.
- 3
The value 2 occurs three times, more than any other, so the mode is 2.
Find the median of 7, 3, 9, 4, 8.
Frequency tables
Use , dividing by the total frequency, not the number of rows.
When values are repeated, data are given in a frequency table. Then , where . Do not divide by the number of rows.
For the median, use cumulative frequency to locate the th value.
The mode is the value with the highest frequency, not the frequency itself.
- Mean from a table
Worked example
with . Find the mean, median and mode.
- 1
.
- 2
, so .
- 3
The highest frequency is 5, at , so the mode is 2.
- 4
The 5th and 6th values both lie in the group (cumulative frequencies 4, 9, 10), so the median is 2.
A table has with . What is ?
Grouped continuous data
With grouped data only estimates are possible: use midpoints for the mean and linear interpolation for the median.
For grouped data the individual values are lost, so only estimates are possible.
The modal class has the highest frequency; when widths differ, use the highest frequency density. The mean uses class midpoints.
The median uses linear interpolation, assuming data are evenly spread within each class. Find the class containing the th value, where is its lower boundary, the cumulative frequency before it, its frequency and its width.
- Median
- Mean, = midpoint
Worked example
Classes 0 to under 10, 10 to under 20, 20 to under 30, 30 to under 50 have . Estimate the mean and median.
- 1
Midpoints are 5, 15, 25 and 40, and .
- 2
, so .
- 3
. Cumulative frequencies are 4, 14, 30, 40, so the median is in the 20 to under 30 class, with .
- 4
.
Which class is the modal class when widths differ?
Coding
Coding transforms each value; the mean obeys the same transformation, so decode at the end. To combine samples, use totals.
Coding simplifies arithmetic by transforming each value, for example .
The mean and median obey the same transformation: if then , so . The mode transforms in the same way.
To combine two samples, use totals. Never average the two means directly unless the samples are equal in size.
- Decode the mean
- Combined mean
Worked example
Masses are coded as . For 20 values, . Find the mean mass.
- 1
.
- 2
Decode: .
Sample A has 10 values with mean 4. Sample B has 30 values with mean 8. What is the combined mean?
Interpreting measures of location
Choose the measure that suits the data: the median for skewed data or outliers, the mean otherwise, and the mode for the most popular choice.
Choose the measure that suits the data.
In a context question, name the measure, give a reason from the data, and state the conclusion in the context of the question.
When asked to compare two data sets, comment on a measure of location (a typical value) and a measure of spread (how consistent the values are).
Always refer to the context: write typical salary, not just average.
Mean
- Uses every value
- Distorted by extreme values
Median
- Not affected by extreme values
- Better for skewed data, such as salaries
Mode
- Works for non-numerical data
- May be none or several
Salaries in a firm include one very large director's salary. Which average best describes a typical salary?
Try an exam question
The times, minutes, taken by customers are grouped: – ( customers), – (), – () and – (). Estimate the mean time and the median time.
[5 marks]
- [1]Uses midpoints , , and .
- [1].
- [1]Mean minutes.
- [1]The median is the 20th value, in the – class: .
- [1]Median minutes.
That's the notes covered.
Carry on to the next subtopic.
Try a question
Find the mean number of goals scored per match.
1 mark, marked against the mark scheme
Find the mean number of goals scored per match.
1 mark, marked against the mark scheme