4.3 · SLPaper 1Paper 2

Central tendency and dispersion

In a minute

The , and mode describe the centre of a data set; the IQR and describe its spread. You find them with your GDC, estimate the mean of grouped data, and see what shifting or scaling the data does.

You'll be able to

  • Find the mean, median and mode of a list or frequency table, and the mean both by formula and with your GDC.
  • Estimate the mean of grouped data from mid-interval values, and find the .
  • Find and the IQR with your GDC, and explain why a by-hand quartile can differ.
  • Find the standard deviation and with your GDC, and interpret them in context.
  • Say how adding to or multiplying every value changes the mean and standard deviation.
Before you start3 quick questions on what this builds on
Check yourself
Find ∑i=14(2i+1)\sum_{i=1}^{4} (2i + 1).
Check yourself
A reservoir holds 2648.72648.7 megalitres. Round this to 3 .
Check yourself
Lap times, tt seconds, are grouped as 40≤t<4540 \le t < 45, 45≤t<5045 \le t < 50 and 50≤t<5550 \le t < 55. Which class holds a time of exactly 4545 seconds?

Revise first: 1.2 Arithmetic sequences and series, 1.6 Rounding, bounds and percentage error, 4.1 Sampling, data quality and outliers and 4.2 Data presentation

Mean, median and mode

A podcast's last 88 episodes lasted 42,37,51,37,45,40,37,4742, 37, 51, 37, 45, 40, 37, 47 minutes. How long is a typical episode? Three different averages answer that.

Worked exampleThe lengths, in minutes, of 88 podcast episodes are 42,37,51,37,45,40,37,4742, 37, 51, 37, 45, 40, 37, 47. Find the mean, median and mode, and comment on which best describes a typical episode.

Try it first, then reveal one step at a time.

  1. Mean: the total is 336336 and n=8n = 8, so xˉ=3368=42\bar{x} = \frac{336}{8} = 42 minutes.

In a frequency table, each value xix_{i} occurs fif_{i} times, so it adds fixif_{i}x_{i} to the total. This formula is in the booklet.

In the formula booklet
xˉ=∑i=1kfixin,where n=∑i=1kfi\bar{x} = \frac{\sum_{i=1}^{k} f_{i}x_{i}}{n}, \quad \text{where } n = \sum_{i=1}^{k} f_{i}

Here kk is the number of different values, and nn is the total frequency, not the number of columns.

Worked exampleA hotel records how many nights, xx, each of 6060 guests stayed. x12345f18151296\begin{array}{c|ccccc} x & 1 & 2 & 3 & 4 & 5 \\ \hline f & 18 & 15 & 12 & 9 & 6 \end{array} (a) Find the mean by the formula, and check it with your GDC. (b) Find the median and the mode.

Try it first, then reveal one step at a time.

  1. (a) ∑fixi=18+30+36+36+30=150\sum f_{i}x_{i} = 18 + 30 + 36 + 36 + 30 = 150, so xˉ=15060=2.5\bar{x} = \frac{150}{60} = 2.5 nights.
Check yourself
A tram was late by 3,11,6,8,14,53, 11, 6, 8, 14, 5 minutes on six days. Find the median delay.
Check yourself
Find the mean number of siblings, xx, of these 2525 students. x01234f68542\begin{array}{c|ccccc} x & 0 & 1 & 2 & 3 & 4 \\ \hline f & 6 & 8 & 5 & 4 & 2 \end{array}
Check yourself
Lena's first 66 runs this month have a mean of 5.55.5 km. After her 77th run, the mean of all seven is 66 km. How far was her 77th run, in km?

Grouped data: estimated mean and modal class

Sometimes you only know which each value lies in. Then you can only estimate the mean.

Treat every value in a class as if it sat at the class's mid-interval value: a+b2\frac{a + b}{2} for the class a≤x<ba \le x < b.

Use the booklet formula with these as the xix_{i}. The result is an estimate, because the actual values are unknown.

Worked exampleA bank timed how long, tt minutes, 4040 customers waited. tf0≤t<575≤t<101410≤t<151115≤t<20620≤t<252\begin{array}{c|c} t & f \\ \hline 0 \le t < 5 & 7 \\ 5 \le t < 10 & 14 \\ 10 \le t < 15 & 11 \\ 15 \le t < 20 & 6 \\ 20 \le t < 25 & 2 \end{array} (a) Write down the modal class. (b) Find an estimate of the mean waiting time. (c) Explain why your answer to (b) is an estimate.

Try it first, then reveal one step at a time.

  1. (a) The classes all have width 55, and the highest frequency is 1414. So the modal class is 5≤t<105 \le t < 10.
Worked exampleThe heights, hh cm, of 9090 sunflowers in a trial field are shown. hf100≤h<1206120≤h<14015140≤h<16028160≤h<18025180≤h<20016\begin{array}{c|c} h & f \\ \hline 100 \le h < 120 & 6 \\ 120 \le h < 140 & 15 \\ 140 \le h < 160 & 28 \\ 160 \le h < 180 & 25 \\ 180 \le h < 200 & 16 \end{array} Use your calculator to find an estimate of the mean height. Give your answer to 3 s.f.

Try it first, then reveal one step at a time.

  1. Write down the lists you enter: mid-interval values 110,130,150,170,190110, 130, 150, 170, 190 and frequencies 6,15,28,25,166, 15, 28, 25, 16. That line earns the method mark.
Check yourself
The distances, dd km, cycled by 2525 commuters are grouped as 0≤d<60 \le d < 6: 77; 6≤d<126 \le d < 12: 1010; 12≤d<1812 \le d < 18: 88. Find an estimate of the mean distance, to 3 s.f.
Check yourself
What is the modal class of these puzzle times, tt seconds? tf20≤t<30830≤t<401440≤t<501150≤t<607\begin{array}{c|c} t & f \\ \hline 20 \le t < 30 & 8 \\ 30 \le t < 40 & 14 \\ 40 \le t < 50 & 11 \\ 50 \le t < 60 & 7 \end{array}

Quartiles and the IQR

A measure of dispersion says how spread out the data are. The is the simplest, but one extreme value can change it a lot.

The cut the ordered data into four roughly equal parts: about a quarter of the values lie below the lower quartile Q1Q_{1}, and about three quarters below the upper quartile Q3Q_{3}.

1. To find the quartiles by hand, put the data in order and find the median.

2. Split the data into a lower half and an upper half. When nn is odd, leave the median out of both halves.

3. Q1Q_{1} is the median of the lower half, and Q3Q_{3} is the median of the upper half.

The (IQR) is the spread of the middle half of the data, so a few extreme values have little effect on it.

In the formula booklet
IQR=Q3−Q1\mathrm{IQR} = Q_{3} - Q_{1}
Worked exampleEleven students held a plank for as long as they could. Their times, in seconds, were 58,73,96,64,112,81,104,69,91,107,8658, 73, 96, 64, 112, 81, 104, 69, 91, 107, 86. (a) Find Q1Q_{1}, Q3Q_{3} and the IQR. (b) Another student keeps the median in both halves. What IQR does she get?

Try it first, then reveal one step at a time.

  1. (a) In order: 58,64,69,73,81,86,91,96,104,107,11258, 64, 69, 73, 81, 86, 91, 96, 104, 107, 112. The median is the 66th value, 8686; leave it out of both halves.

Several methods for quartiles are in use, so a by-hand quartile and a technology quartile can differ slightly. Each is right for its method.

In the exam, find quartiles of with your GDC. In their usual settings, the three models in these notes leave the median out when nn is odd, as in (a).

Worked exampleThe numbers of books, xx, that 4545 students read last month are shown. x0123456f59118642\begin{array}{c|ccccccc} x & 0 & 1 & 2 & 3 & 4 & 5 & 6 \\ \hline f & 5 & 9 & 11 & 8 & 6 & 4 & 2 \end{array} (a) Use your calculator to find Q1Q_{1}, Q3Q_{3} and the IQR. (b) Interpret the IQR.

Try it first, then reveal one step at a time.

  1. (a) Enter 00 to 66 in one list and the frequencies in another. Run one-variable statistics and check that n=45n = 45.
Check yourself
Eight friends took 11,19,23,26,28,33,38,4411, 19, 23, 26, 28, 33, 38, 44 minutes to walk to school. Work out the interquartile range of these times, in minutes.
Check yourself
Seven parcels weigh 3,6,8,10,15,21,243, 6, 8, 10, 15, 21, 24 kg. Omar works out Q1Q_{1} by hand, keeping the median in both halves, and gets 77 kg. His GDC gives Q1=6Q_{1} = 6 kg. Which statement is correct?

Standard deviation and variance

The IQR uses only the quartiles. The standard deviation uses every value: it measures how far the values typically lie from the mean.

mean 30 City A: standard deviation 2 City B: standard deviation about 6.84 20 25 30 35 40 °C
Both cities have mean 3030 °C. City B's temperatures lie further from the mean, so its standard deviation is larger.

In the exam you find σ\sigma with your GDC only. One small case by hand shows what it measures: the variance is the mean squared distance from the mean, σ2=∑(x−xˉ)2n\sigma^{2} = \frac{\sum (x - \bar{x})^{2}}{n}.

Worked exampleKai slept 6,8,7,9,56, 8, 7, 9, 5 hours on five nights. Find the variance and standard deviation by hand.

Try it first, then reveal one step at a time.

  1. Mean: xˉ=355=7\bar{x} = \frac{35}{5} = 7 hours.

Your GDC shows two standard deviations. For the standard deviation of a data set, use σx\sigma_{x}, which divides by nn as above. Ignore sxs_{x} (or SxS_{x}), which divides by n−1n - 1.

Worked exampleEight friends' times, in minutes, for a charity fun run were 36,44,28,40,47,33,38,4236, 44, 28, 40, 47, 33, 38, 42. Use your calculator to find (a) the mean, (b) the standard deviation and (c) the variance of the times. (d) Interpret the standard deviation.

Try it first, then reveal one step at a time.

  1. Enter the times in a list and run one-variable statistics. Check that n=8n = 8.
Check yourself
A gardener measures the 44 leaves on a seedling: 4,7,9,124, 7, 9, 12 cm. Find the standard deviation of the leaf lengths with your GDC.
Check yourself
Use your calculator to estimate the standard deviation of the 9090 sunflower heights from the grouped data section, to 3 s.f.
Check yourself
A data set has standard deviation 1.751.75. Find its variance, to 3 s.f.
Check yourself
Bakery P's loaves have mean mass 802802 g and standard deviation 4.14.1 g. Bakery Q's have mean 806806 g and standard deviation 9.69.6 g. Which statement is correct?

Adding to or scaling every value

Add 33 to every value. The moves up by 33, but the gaps between values don't change, so neither does the .

Double every value instead. Every value and every gap doubles, so the mean and standard deviation both double.

Original data: 2, 3, 5, 6 mean 4 Add 3: 5, 6, 8, 9 mean 7 Double: 4, 6, 10, 12 mean 8 0 2 4 6 8 10 12
Adding 33 slides the data, so only the mean changes. Doubling stretches it, so the mean and the spread both double.

So subtracting 33 from every value lowers the mean by 33 and leaves σ\sigma unchanged. The median changes like the mean, and so do the quartiles when a>0a > 0; the IQR and range change like σ\sigma.

Worked exampleIn a tournament, a golfer's round scores have mean 76.476.4 strokes and standard deviation 3.83.8 strokes. Each score is rewritten relative to par by subtracting 7272. Find the mean and the standard deviation of the new scores.

Try it first, then reveal one step at a time.

  1. Every score has 7272 subtracted: x→x−72x \to x - 72.
Worked exampleAn online shop's jackets have mean price €128.50128.50 and standard deviation €20.5020.50. For US buyers, each price is multiplied by 1.081.08 to convert it to dollars, then a $1515 delivery charge is added. Find the mean and the standard deviation of the US prices.

Try it first, then reveal one step at a time.

  1. Each price xx becomes 1.08x+151.08x + 15.
Check yourself
A data set has standard deviation 3.53.5. Every value is doubled. Find the new standard deviation.
Check yourself
A shop sells batteries in packs of 33. The number of packs it sells each day has variance 1.441.44. Find the variance of the number of batteries it sells each day.
Check yourself
A gym's scale read 0.40.4 kg too heavy for every member. The recorded masses have mean 71.371.3 kg and standard deviation 8.28.2 kg. What are the correct mean and standard deviation?

Common mistakes

  • Quoting sxs_{x} from the GDC as the standard deviation of a data set. Use σx\sigma_{x}, which divides by nn.
  • Dividing ∑fixi\sum f_{i}x_{i} by the number of columns or classes. Divide by the total frequency nn.
  • Leaving the frequency list off on the GDC. Check that it shows the total frequency as nn.
  • Adding the constant to the standard deviation. Under x→ax+bx \to ax + b, σ\sigma becomes ∣a∣σ\lvert a\rvert\sigma; the bb has no effect.
  • Squaring a rounded standard deviation to get the variance. Square the GDC's full value.
  • Interpreting a standard deviation without mentioning spread. Say how spread out or consistent the values are, in context.

Exam tips

  • Write down the mode or modal class: no working needed. For Find the mean, show ∑fixin\frac{\sum f_{i}x_{i}}{n} with numbers in, or your GDC lists, for the method mark.
  • Interpret a standard deviation by comparing spread in context, such as less variation in waiting times. Comparing averages alone earns no mark.
  • Explain why a grouped mean is an estimate: the actual values in each class are unknown, so mid-interval values stand in for them.

Key takeaways

In bookletxˉ=∑i=1kfixin,where n=∑i=1kfi\bar{x} = \frac{\sum_{i=1}^{k} f_{i}x_{i}}{n}, \quad \text{where } n = \sum_{i=1}^{k} f_{i}
Learn thisMedian: the n+12\frac{n+1}{2}th value in order; for even nn, the mean of the middle two. Mode: the most frequent value.
Learn thisGrouped data: estimate the mean with mid-interval values a+b2\frac{a+b}{2}. With equal class widths, the modal class is the class with the highest frequency.
In bookletIQR=Q3−Q1\mathrm{IQR} = Q_{3} - Q_{1}
Learn thisQuartiles of discrete data: use the GDC. Methods differ, so a by-hand value can differ from the GDC's.
Learn thisStandard deviation of a data set: GDC only, using σx\sigma_{x}, not sxs_{x}. Variance =σ2= \sigma^{2}: square the unrounded value.
Learn thisEvery value x→ax+bx \to ax + b: mean →axˉ+b\to a\bar{x} + b, standard deviation →∣a∣σ\to \lvert a\rvert\sigma, variance →a2σ2\to a^{2}\sigma^{2}. Adding a constant leaves σ\sigma unchanged.

Practise this

16 past-paper questions on Statistical measures and frequency tables in the AI HL bank, each with a mark scheme and a worked explanation.

Practise Statistical measures and frequency tables →