IB Analysis and Approaches HL · Descriptive statistics · Section 3 of 5

Measures of central tendency

3 worked examples · By Álvaro López

Key idea

Measures of central tendency summarise a set of data with one single "typical" number: the mean (the fair share), the median (the value in the middle) and the mode (the most frequent value). In the IB exam you have to calculate them by hand from raw data, from tables and from grouped data, and reason about which of the three best describes a particular set of data.

The mean

The mean is the sum of all the data divided by how many there are. If the value appears times in a table with different values, summing "all the data" means adding each value as many times as it is repeated.

When working with a table, add a column : the sum of that column is the numerator and the sum of the frequency column is .

The mean uses all the data, so one value far away pulls it towards itself. It is the natural measure when the data are symmetric or when the total (the sum) matters.

Mean of grouped data

When the data come in intervals, the exact value of each one is not known. An approximation is made: all the data in an interval are assumed to be worth the same as its midpoint, the class midpoint.

The result is an estimate, not the exact value, because the information about where each datum falls within its interval has been lost. Say so in the exam: "an estimate of the mean".

The median

The median is the value that leaves half of the data below it and the other half above, once they are ordered.

For grouped data the exact value of the median cannot be given with this recipe, but the median class can: the interval in which the cumulative frequency passes the position . A finer estimate is read from the cumulative frequency graph, as you saw in the previous section.

The median depends on the order, not on the size of the extreme data. Changing the value of the largest datum, as long as it remains the largest, does not move it.

The mode and the modal class

The mode is the only measure that also works for qualitative data (the most common colour, the best-selling brand). Be careful: the mode is the value of the datum, not its frequency. If the value appears times, the mode is , not .

Which to choose? Outliers

An outlier is a datum that is very different from the rest of the set. Each measure reacts differently.

Measure Uses Effect of an outlier When it is best
Mean All the data Shifts a lot towards the outlier Symmetric data, without unusual extremes; when the total matters
Median Only the order Almost unchanged Skewed data or data with outliers (salaries, house prices)
Mode Only the frequencies Unchanged Qualitative data, or when the most common value matters

A quick hint: if the mean is much greater than the median, there are probably very high data pulling it upwards.

Worked examples

Example 1 Basic

Three measures of waiting times

The waiting times, in minutes, of eight customers at a counter are

a) Find the mean.

b) Find the median.

c) Find the mode.

d) Because of a recording error, the was actually . Find the new mean and the new median.

Solution

a) The sum is , and there are data:

b) Ordering them: . As is even, the median is the mean of the data in positions and (the position is ):

c) The appears three times and no other value is repeated as often: the mode is .

d) The sum becomes :

When the data are ordered, is still the largest datum and the rest do not change, so positions and have the same values and the median is still . The mean has almost tripled, and the median has not moved.

Example 2 Medium

Trip durations with grouped data

Forty trips on an urban bus have been timed. The duration , in minutes, is recorded in the table.

Duration (min) Frequency

a) State the modal class.

b) Find an estimate of the mean duration.

c) Find the class that contains the median.

Solution

a) The highest frequency is , which corresponds to .

b) The class midpoint and the column are added:

Interval
Total

c) The median is in position , between the 20th and 21st data. The cumulative frequencies are . Up to the second class there are data, fewer than , and on reaching the third there are . The 20th and 21st data are therefore in .

Example 3 Hard

Missing frequency and an extreme value

In a group, the number of books each student read during the term has been recorded. It is known that the mean is .

Books
Frequency

a) Find .

b) Find the median and the mode.

c) A new student who has read books joins the group. Find the mean and the median of the new group.

Solution

a) The sum of the data is , and the number of students is . Setting the mean equal to :

b) With there are students and the median is in position , between the 15th and 16th data. The cumulative frequencies are : both data fall on the value . Median .

The highest frequency is , which corresponds to the value : the mode is .

c) The sum of the data was (this matches ). Now there are data and the sum is :

The median is in position . The new datum, , goes at the end of the ordered list, so the first data are the old ones and the 16th still has the value . Median .

The mean has gone up from to almost because of a single student, while the median and the mode have stayed at .

In the exam: when the mean is given and a value is missing, set up the equation with "sum " and write all the steps. If you are asked to compare measures, reason in one sentence: the mean changes because it uses all the data, and the median does not because it depends only on the central position.

Common mistakes

Summary

  • Mean: . Total sum : use it for data that are missing or added.
  • Grouped data: use the class midpoint of each interval; the mean is then an estimate.
  • Median: the datum in position of the ordered list (mean of the two central data if is even). With grouped data, identify the median class using the cumulative frequency.
  • Mode: the value with the highest frequency (there may be several); with grouped data, the modal class.
  • An outlier moves the mean a lot, barely affects the median and does not change the mode: with skewed data or outliers, the median describes what is typical better.
  • In Paper 2 the GDC gives the mean and the median; with grouped data, the mean of the class midpoints is an estimate. Always write down the set-up.
Maths classes in Aldaia and online

Want to work on it together?

Free first consultation: we look at your level and your exam, and build a plan. Álvaro replies on WhatsApp.

Message us on WhatsApp