4.3 Measures of central tendency and dispersion

4.3 Measures of central tendency and dispersion

IB Maths: Applications and Interpretation HL: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • The mean is xˉ=∑xn\bar{x}=\frac{\sum x}{n}; for a frequency table xˉ=∑fx∑f\bar{x}=\frac{\sum fx}{\sum f}.
  • The median is the middle value and is not affected by extreme values.
  • For grouped data, estimate the mean with the mid-interval value of each class.
  • IQR =Q3−Q1=Q_3-Q_1 ignores outliers; standard deviation σ\sigma uses every value.
  • Adding kk shifts the mean but not the spread; multiplying by kk scales the spread by kk (variance by k2k^2).

Mean, median and mode

The mean is the sum divided by the count, the median is the middle value and the mode is the most frequent.

The mean is xˉ=∑xn\bar{x}=\frac{\sum x}{n}. For a frequency table, xˉ=∑fx∑f\bar{x}=\frac{\sum fx}{\sum f}, which your GDC does from lists.

The median is the middle of the ordered data, or the mean of the two middle values if nn is even. The mode is the most frequent value.

The median is not affected by extreme values, so it suits skewed data; the mean uses every value.

024612345ValueFrequency
Illustrative data, n = 18. The mode is the value with the tallest bar (3). The mean is 53 ÷ 18 ≈ 2.94.
  • Meanxˉ=∑xn\bar{x}=\dfrac{\sum x}{n}
  • Medianmiddle of the ordered data
  • Modemost frequent value

Worked example

Find the mean, median and mode of 2,0,3,1,4,1,2,5,1,12,0,3,1,4,1,2,5,1,1.

Which average is least affected by one very large value?

Grouped data

Use the mid-interval value of each class to estimate the mean, and divide by the total frequency.

For grouped data the individual values are unknown, so use the mid-interval value mm of each class (the mean of its end points) to estimate the mean:

xˉ≈∑f m∑f.\bar{x}\approx\frac{\sum f\,m}{\sum f}.

The modal class is the class with the greatest frequency, for equal class widths only.

0510150-1010-2020-3030-4040-50tFrequency
Frequencies for the worked example. The tallest bar is the modal class.

Worked example

Classes 0≤t<10,…,40≤t<500\le t<10,\dots,40\le t<50 have frequencies 6,14,18,9,36,14,18,9,3. Estimate the mean and give the modal class.

What is the mid-interval value of the class 20≤t<3020\le t<30?

Measures of dispersion

Range and IQR are quick measures of spread; standard deviation measures typical distance from the mean.

Range =max−min=\text{max}-\text{min}. The interquartile range IQR=Q3−Q1\text{IQR}=Q_3-Q_1 is the spread of the middle half.

The standard deviation σ\sigma measures typical distance from the mean; the variance is σ2\sigma^2. Use your GDC (one-variable statistics). At SL treat the data as the population unless stated, so use σx\sigma_x; the sample value sn−1s_{n-1} is slightly larger.

By hand, σ=∑(x−xˉ)2n\sigma=\sqrt{\frac{\sum(x-\bar{x})^2}{n}}.

0246810121416182022min 2Q₁ 5Q₃ 11max 20

Range

Affected by outliers:
Yes
Uses every value:
Yes

IQR

Affected by outliers:
No
Uses every value:
No

Standard deviation

Affected by outliers:
Yes
Uses every value:
Yes

Worked example

Find the variance and standard deviation of 0,1,1,1,1,2,2,3,4,50,1,1,1,1,2,2,3,4,5 (mean 22).

Which measure of spread ignores outliers?

Quartiles from technology

Quartiles split ordered data into four equal parts; use the GDC and accept small differences from hand methods.

Quartiles divide ordered data into four equal parts: Q1Q_1, the median Q2Q_2 and Q3Q_3. For discrete data, find them with your GDC.

Methods differ (for example whether the median is included in each half when nn is odd), so a GDC value may differ slightly from a hand calculation. Use the GDC value.

10.610.81111.211.411.611.81212.212.4Q1 = 11.1median 11.4Q3 = 11.7

Worked example

Find Q1Q_1, Q3Q_3 and the IQR of 10.8,11.0,11.0,11.2,11.2,11.4∣11.4,11.6,11.6,11.8,12.0,12.010.8,11.0,11.0,11.2,11.2,11.4\mid11.4,11.6,11.6,11.8,12.0,12.0.

Q1=11.1Q_1=11.1 and Q3=11.7Q_3=11.7. What is the IQR?

Effect of constant changes

Adding a constant shifts the centre only; multiplying scales both the centre and the spread.

If a constant kk is added to every item, the mean, median and quartiles change by kk, but the standard deviation, variance, IQR and range are unchanged.

If every item is multiplied by kk, the mean, median, quartiles, standard deviation, IQR and range are all multiplied by kk, and the variance by k2k^2.

05101520OriginalAdd 5Multiply by 2Data setValue
  • Mean
  • Standard deviation
Illustrative data with mean 10 and standard deviation 2. Adding 5 shifts the mean but not the spread; multiplying by 2 doubles both.

Add kk

Mean and median:
+k
Quartiles:
+k
Standard deviation, IQR, range:
Unchanged
Variance:
Unchanged

Multiply by kk

Mean and median:
×k
Quartiles:
×k
Standard deviation, IQR, range:
×k
Variance:
×k²

Worked example

Temperatures have mean 3030 and σ=4\sigma=4. They are converted by F=1.8C+32F=1.8C+32. Find the new mean, standard deviation and variance.

Every value is multiplied by 3. By what is the variance multiplied?

Try an exam question

Ten numbers have mean 1212 and standard deviation 33. Each number is multiplied by 22 and then 55 is subtracted. Find the new mean, standard deviation and variance.

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Write down the mode of the number of goals.

1 mark, marked against the mark scheme

Revision notes