AA HL · Statistics and probability · course

Averages and spread.

AA HL resourcesPDF

Two numbers summarise a set of data: where it sits, and how far it spreads. The mean, the median and the mode answer the first question; the range, the interquartile range and the standard deviation answer the second. Adding a constant moves the data; multiplying stretches them too.

IMeasures of central tendencySL 4.3 · mean, median, mode, from a list, a table, grouped data

I.1 Mean, median and mode of a list

Definition 1

mean, median, mode

Mean $\bar x=\dfrac{\sum x}{n}$, or $\dfrac{\sum fx}{\sum f}$ from a frequency table. Median: the middle value of the ordered data, the $\frac{n+1}{2}$th. Mode: the most frequent value; for grouped data, the modal class.
Example 1

Find the mean, the median and the mode of $3,\ 8,\ 5,\ 12,\ 5,\ 9,\ 7$.

What you do
What you write
Step 1 Mean: total over number
$\dfrac{49}{7}=7$
Step 2 Order, take the $\frac{n+1}{2}$th
$3,\,5,\,5,\,7,\,8,\,9,\,12$: the $4$th, $7$
Step 3 Mode: the most frequent
$5$

Apply

  1. Mean, median, mode of $2,\ 4,\ 4,\ 9,\ 11,\ 6$.
    Answer$6$; $5$; $4$
  2. For $10$ ordered data, which position is the median?
    Answerthe $5.5$th: the mean of the $5$th and $6$th

I.2 The mean from a frequency table

Watch out 1
The mean of a frequency table divides by $\sum f$, the number of data, not by the number of rows.
Example 2

The numbers of brothers and sisters of $20$ students: $x=0,1,2,3$ with frequencies $6,\,9,\,3,\,2$. Find the mean and the median.

What you do
What you write
Step 1 $\sum f$ and $\sum fx$
$20$ and $0+9+6+6=21$
Step 2 Mean
$\dfrac{21}{20}=1.05$
Step 3 Median: the $10$th and $11$th values
cumulative $6,\,15$: both are $1$, median $1$

Apply

  1. $x=1,2,3,4$ with frequencies $5,\,8,\,4,\,3$: mean and median.
    Answer$2.25$; $2$

I.3 An unknown frequency

Example 3

$x=1,2,3$ with frequencies $4,\,k,\,6$. The mean is $2.1$. Find $k$.

What you do
What you write
Step 1 Write the mean with $k$
$\dfrac{4+2k+18}{10+k}=2.1$
Step 2 Multiply out
$22+2k=21+2.1k$
Step 3 Solve
$k=10$

Apply

  1. $x=0,1,2$ with frequencies $2,\,3,\,k$; the mean is $1.3$. Find $k$.
    Answer$k=5$

I.4 Estimating the mean of grouped data

Property 1

grouped data

For grouped data the mean is estimated with the mid-interval values: $\bar x\approx\dfrac{\sum fx}{\sum f}$. The GDC gives it from the midpoints in one list, the frequencies in another.
Example 4

Heights $h$ cm of $20$ students: $150\lt h\le160$: $4$; $160\lt h\le170$: $10$; $170\lt h\le180$: $6$. Estimate the mean and give the modal class.

What you do
What you write
Step 1 Mid-interval values
$155,\ 165,\ 175$
Step 2 $\sum fx$
$620+1650+1050=3320$
Step 3 Divide by $\sum f$, say “estimate”
$\bar x\approx\dfrac{3320}{20}=166$ cm
Step 4 Modal class
$160\lt h\le170$

Apply

  1. $0\lt m\le4$: $6$; $4\lt m\le8$: $10$; $8\lt m\le12$: $4$. Estimate the mean.
    Answer$5.6$

IIMeasures of dispersionSL 4.3 · range, IQR, variance and standard deviation; changing the data

II.1 Range and standard deviation

Definition 2

standard deviation

Variance $\sigma^{2}=\dfrac{\sum(x-\bar x)^{2}}{n}$, standard deviation $\sigma=\sqrt{\sigma^{2}}$, in the units of the data; at SL, found with the GDC. Range $\max-\min$; interquartile range $Q_3-Q_1$.
Example 5

For $4,\ 6,\ 7,\ 9,\ 14$, find the range, the mean and the standard deviation.

What you do
What you write
Step 1 Range
$14-4=10$
Step 2 Mean
$\dfrac{40}{5}=8$
Step 3 Standard deviation (GDC, $\sigma$)
$\sigma=\sqrt{\dfrac{16+4+1+1+36}{5}}=\sqrt{11.6}=3.41$
Figure 1 — The data spread out: $\sigma$ grows, the mean stays.

Apply

  1. $\sigma$ of $2,\ 4,\ 6,\ 8$.
    Answer$\sqrt5=2.24$
  2. $\sigma$ of $5,\ 5,\ 5,\ 5$.
    Answer$0$

II.2 Adding or removing a value

Example 6

The mean of $12$ numbers is $20$. A $13$th number is added and the mean becomes $21$. Find the $13$th number.

What you do
What you write
Step 1 Total before: $n\bar x$
$12\times20=240$
Step 2 Total after
$13\times21=273$
Step 3 Difference
$273-240=33$

Apply

  1. The mean of $5$ numbers is $9$. The number $13$ is removed. The new mean?
    Answer$8$

II.3 Changing every value

Property 2

changing every value

Every value $+b$: averages and quartiles $+b$; range, IQR, standard deviation unchanged. Every value $\times a$ ($a\gt 0$): every average and every measure of spread $\times a$; the variance $\times a^{2}$.
Watch out 2
Adding $5$ to every value does not change the standard deviation: the data move, they do not spread.
Example 7

A data set has mean $40$ and standard deviation $6$. Each value is multiplied by $1.5$, then $10$ is subtracted. Find the new mean, standard deviation and variance.

What you do
What you write
Step 1 Mean: $a\bar x+b$
$1.5\times40-10=50$
Step 2 Standard deviation: $a\sigma$ only
$1.5\times6=9$
Step 3 Variance
$9^{2}=81$
Figure 2 — Adding moves the mean only; multiplying moves both.

Apply

  1. Mean $7$, $\sigma=2$; each value $+3$: the new mean and $\sigma$.
    Answer$10$; $2$
  2. $\sigma=2$; each value $\times4$: the new variance.
    Answer$64$

IIIExam-style questionsfrom the shortest to the longest · every one in steps, with its marks

A From a frequency table

Exam-style question 1Paper 1 · no calculator · [Maximum mark: 5]

The number of pets owned by each student in a class is shown below. $\displaystyle \begin{array}{c|ccccc}\text{pets}\&0\&1\&2\&3\&4\\\hline\text{frequency}\&3\&7\&k\&5\&1\end{array}$ The mean number of pets is $1.8$.

(a)Find the value of $k$.[3]
(b)Find the median number of pets.[1]
(c)Write down the mode.[1]
More questions like this

Working (a)

What you do
What you write
Step 1 Write the mean with $k$
$\dfrac{0+7+2k+15+4}{16+k}=1.8$
M1 for $\frac{\sum fx}{\sum f}$; A1 for the correct equation.
Step 2 Solve
$k=14$

Working (b)

What you do
What you write
Step 1 Median: the middle position, cumulative frequencies
$2$
$30$ students: the $15$th and $16$th values are both $2$.

Working (c)

What you do
What you write
Step 1 The largest frequency
$2$

Play this question in Mark it: find each mark yourself →

B Changing the data

Exam-style question 2Paper 1 · no calculator · [Maximum mark: 4]

The mean of $10$ numbers is $12$ and their standard deviation is $3$.

(a)An eleventh number is added and the mean becomes $12.5$. Find the eleventh number.[2]
(b)Instead, each of the original $10$ numbers is multiplied by $2$ and then $5$ is added. Write down the new mean and the new standard deviation.[2]
More questions like this

Working (a)

What you do
What you write
Step 1 Totals before and after: $n\bar x$
$11\times12.5-10\times12=137.5-120$
Totals first: the sums, not the means, add.
Step 2 Difference
$17.5$

Working (b)

What you do
What you write
Step 1 Mean: $a\bar x+b$
mean $2\times12+5=29$
Step 2 Standard deviation: $a\sigma$
standard deviation $2\times3=6$
Adding $5$ does not change the spread.

Play this question in Mark it: find each mark yourself →

C Grouped data on the GDC (Paper 2)

Exam-style question 3Paper 2 · calculator · [Maximum mark: 5]

The times, $t$ minutes, that $50$ customers waited at a counter are grouped below. $\displaystyle \begin{array}{c|ccccc}t\&0\lt t\le10\&10\lt t\le20\&20\lt t\le30\&30\lt t\le40\&40\lt t\le50\\\hline\text{frequency}\&5\&12\&18\&10\&5\end{array}$

(a)Write down the modal class.[1]
(b)Find an estimate of the mean waiting time.[2]
(c)Find an estimate of the standard deviation of the waiting times.[2]
More questions like this

Working (a)

What you do
What you write
Step 1 The largest frequency
$20\lt t\le30$

Working (b)

What you do
What you write
Step 1 Mid-interval values
mid-interval values $5,\,15,\,25,\,35,\,45$
Step 2 Estimate on the GDC
$24.6$ minutes

Working (c)

What you do
What you write
Step 1 $\sigma$ on the GDC, same lists
$11.1$ minutes ($11.1283\ldots$)

Play this question in Mark it: find each mark yourself →

IVWhich method? Read the questionthe whole topic on one page

The question says
You write
A frequency table is given and you must “find the mean”: you need $\sum fx$ and $\sum f$.
$\bar x=\dfrac{\sum fx}{\sum f}$ D1
A frequency in the table is unknown, $k$, but the mean is given: write an equation in $k$.
$\dfrac{\sum fx}{\sum f}=\bar x$, solve D1
You must find “the median” of $n$ data: it is the $\frac{n+1}{2}$th value, in order.
cumulative frequencies to find it D1
The data are grouped in intervals and you must “estimate the mean”: use the mid-interval values.
say “estimate”; the GDC with midpoints and frequencies P1
You must find the “standard deviation” of the data: it comes from the GDC, the value $\sigma$.
the population value $\sigma$, to $3$ s.f. D2
Every value is increased by $b$, or multiplied by $a$, and you must give the new mean or spread: decide which measures move.
mean $a\bar x+b$; standard deviation $a\sigma$ P2
A value is added to the data, or removed, and you must find the new mean: work with the totals.
$n\bar x$ before and after
In the exam 1

command terms

Estimate: from grouped data, the result is approximate. Standard deviation: $\sigma$, from the GDC. Write down: no working, but units if there are any.