Averages and spread

Averages and spread

IB MYP Maths Extended: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • Mean = total ÷ number of values; median = middle value in order; mode = most common; range = largest − smallest.
  • From a frequency table: mean =∑fx∑f=\frac{\sum fx}{\sum f}. The mode is the value with the highest frequency.
  • For grouped data, use class midpoints to estimate the mean.
  • The mean is pulled by outliers; the median is not, so it suits skewed data.
  • To compare data sets, comment on an average and on the spread, in context.

Mean, median, mode and range

Mean, median and mode describe the centre of the data; the range describes how spread out it is.

The mean is the total divided by the number of values. The median is the middle value when the data are in order; with an even number of values, it is halfway between the two middle ones.

The mode is the most common value. The range is the largest value minus the smallest, and measures the spread.

1012141618202224262830323436384042mode 12median 13mean 16.9largest 40
12, 12, 12, 13, 14, 15, 40: the shaded range is 28

Worked example

Find the mean, median, mode and range of 12,15,13,12,40,14,1212, 15, 13, 12, 40, 14, 12.

Find the median of 3,9,4,83, 9, 4, 8.

Frequency tables

Multiply each value by its frequency to get the total, then divide by the total frequency.

In a frequency table, the total number of values is ∑f\sum f and the total of all the values is ∑fx\sum fx (multiply each value by its frequency, then add).

The mode is the value with the highest frequency, not the frequency itself. For the median, use cumulative frequency to find the middle position.

0246812345ValueFrequency
Illustrative frequency table: mode is 3 (highest frequency); mean = Σfx ÷ Σf = 58 ÷ 20 = 2.9.
  • Mean∑fx∑f\dfrac{\sum fx}{\sum f}
  • Modethe value with the highest frequency

Worked example

Goals scored: 0,1,2,3,40,1,2,3,4 with frequencies 4,6,5,3,24,6,5,3,2. Find the mean, mode and median.

In a frequency table, what is the mode?

Grouped data

Use the midpoint of each class, so the answer is only an estimate.

In a grouped table the individual values are not known, so we can only estimate the mean. Use the midpoint of each class as the value for that class.

The modal class is the class with the highest frequency. The median class is the class containing the middle value.

02468101214160 to <1010 to <2020 to <3030 to <4040 to <50ClassFrequency
Frequency of each class
  • Estimated mean∑f×midpoint∑f\dfrac{\sum f\times\text{midpoint}}{\sum f}

Worked example

Estimate the mean for the classes above, with frequencies 4,10,15,8,34,10,15,8,3.

Which is the modal class for the data above?

Choosing the best average

Use the median when outliers or skew pull the mean; use the mode for categories.

For ages 12,12,12,13,14,15,4012,12,12,13,14,15,40, the mean 16.916.9 is higher than the age of 6 of the 7 members. The median 1313 is a better typical value.

Say why the chosen average is suitable for these data.

0102030401234567MemberAge (years)
Ages of seven members: the one value of 40 pulls the mean up to 16.9, while the median stays at 13.

Mean

  • Uses all the values
  • Pulled by outliers

Median

  • Not affected by outliers
  • Best for skewed data, such as house prices

Mode

  • Only average for categories
  • Best when the most common value matters

Which average is best for a set of house prices with one very expensive mansion?

Comparing two sets of data

Make two comments: one about an average and one about the spread, in context.

To compare two data sets, make two comments: one about an average (mean or median) and one about the spread (range). Use the context and quote the numbers.

In real-life (criterion D) problems, link the comparison to the situation and say how reliable the data are. Small samples may not be typical.

0510152025MeanRangeMinutes
  • Swift
  • Rapid
Swift and Rapid delivery times (minutes)

Rapid is quicker on average, as its mean is 1818 compared with 2020. But Swift is more consistent because its range is smaller (44 compared with 2424).

Company A has mean 30 and range 5. Company B has mean 30 and range 20. Which is more consistent?

Try an exam question

Here are six numbers: 6,9,4,9,7,56, 9, 4, 9, 7, 5. Find the median and the range.

[3 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

What is the median age?

1 mark, marked against the mark scheme

Revision notes