Averages and spread

Averages and spread

IB MYP Maths Standard: 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 and measures spread.
  • From a frequency table, mean =∑fx∑f=\frac{\sum fx}{\sum f}.
  • For grouped data, use class midpoints to estimate the mean.
  • Compare data sets with an average comment and a spread comment.

Mean, median, mode and range

The mean, median and mode are averages, and the range measures how spread out the data are.

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, halfway between the two middle ones).

The mode is the most common value.

The range is the largest value minus the smallest, and it measures the spread.

1012141618202224262830323436384042mode 12median 13mean 16.9max 40

Mean

  • Total ÷ number of values

Median

  • Middle value, in order

Mode

  • Most common value

Range

  • Largest − smallest

Worked example

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

What is the median of 7,3,9,47, 3, 9, 4?

Frequency tables

Multiply each value by its frequency, add these up, and 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).

Mean=∑fx∑f\text{Mean}=\frac{\sum fx}{\sum f}

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

012345601234GoalsFrequency
Goals per match: frequency table (total frequency 20, Σfx = 33)

Frequency f

0 goals:
4
1 goal:
6
2 goals:
5
3 goals:
3
4 goals:
2

fx

0 goals:
0
1 goal:
6
2 goals:
10
3 goals:
9
4 goals:
8
  • Mean∑fx∑f\dfrac{\sum fx}{\sum f}

Worked example

Use the table to find the mean, mode and median.

In a frequency table the highest frequency is 8, for the value 3. What is the mode?

Grouped data

Use the midpoint of each class as its value, so the mean 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.

Estimated mean=∑f×midpoint∑f\text{Estimated mean}=\frac{\sum f\times\text{midpoint}}{\sum f}

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

02468101214160-<1010-<2020-<3030-<4040-<50ClassFrequency
Frequencies for each class

Worked example

Classes 00 to <10<10, 1010 to <20<20, 2020 to <30<30, 3030 to <40<40, 4040 to <50<50 have frequencies 4,10,15,8,34,10,15,8,3. Estimate the mean.

Why is the mean from grouped data only an estimate?

Choosing the best average

Use the mean when there are no extreme values, the median for skewed data and the mode for categories.

Each average has its uses.

  • Mean: uses all the values, but is pulled by outliers (extreme values).
  • Median: not affected by outliers, so it is best for skewed data, such as house prices or one very high value.
  • Mode: the only average for categorical data (such as the most popular colour), and best when the most common value matters, such as the most common shoe size.

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, so the median 1313 is a better typical value.

051015ModeMedianMeanAverageAge (years)
Ages 12, 12, 12, 13, 14, 15, 40: the outlier pulls the mean above the median and mode

Mean

Best when:
Data have no extreme values
Weakness:
Pulled by outliers

Median

Best when:
Data are skewed or have an outlier
Weakness:
Does not use every value

Mode

Best when:
Data are categorical, or the most common matters
Weakness:
May not exist or be unique

House prices in a town include one mansion. Which average is the best typical price?

Comparing two data sets

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 compare the numbers.

In real-life (criterion D) problems, link the comparison to the situation (for example, exam papers must arrive within 2525 minutes) and say how reliable the data are. Small samples may not be typical.

0510152025MeanRangeMeasureMinutes
  • Swift
  • Rapid
Swift is the more reliable service: similar means but a much smaller range

Swift

Mean:
20 minutes
Range:
4

Rapid

Mean:
18 minutes
Range:
24

Worked example

Swift times have mean 2020 minutes and range 44. Rapid times have mean 1818 minutes and range 2424. Compare them.

Which comment compares spread?

Try an exam question

The ages of seven club members are 12,12,12,13,14,15,4012, 12, 12, 13, 14, 15, 40. Work out the median and the mean, and say which is the better typical age.

[4 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