A levels Mathematics · Statistics
Presenting and interpreting data
1Measures of location
Averages describe a typical value:
- the mean $\bar{x} = \dfrac{\sum x}{n}$, or $\dfrac{\sum fx}{\sum f}$ for a frequency table;
- the median: the middle value when the data is in order;
- the mode: the most common value.
The mean uses every value but is affected by extreme values. The median is not affected by them.
For grouped data, use the midpoint of each class to estimate the mean, and linear interpolation to estimate the median.
Mean from a table
- Goals: 0 (5 games), 1 (8), 2 (4), 3 (3).
- $\sum fx = 0 + 8 + 8 + 9 = 25$ and $\sum f = 20$.
- Mean $= 1.25$ goals per game.
Check yourself
Which average is not affected by an extreme value?
Show the answer
The median
It depends only on the middle position.
2Measures of spread
Spread shows how varied the data is.
- Range = largest − smallest.
- Interquartile range (IQR) $= Q_3 - Q_1$: the spread of the middle 50%.
- Variance $\sigma^2 = \dfrac{\sum x^2}{n} - \bar{x}^2$ and standard deviation $\sigma = \sqrt{\text{variance}}$.
A useful form is $S_{xx} = \sum x^2 - \dfrac{(\sum x)^2}{n}$, so variance $= \dfrac{S_{xx}}{n}$.
Standard deviation
- Data: 4, 7, 8, 10, 11. $\sum x = 40$, $\sum x^2 = 16 + 49 + 64 + 100 + 121 = 350$.
- Mean $= 8$. Variance $= \frac{350}{5} - 64 = 6$.
- Standard deviation $= \sqrt{6} \approx 2.45$.
Check yourself
What does the IQR measure?
Show the answer
The spread of the middle 50% of the data
Q₃ − Q₁.
3Coding
Coding simplifies calculations by transforming data, for example $y = \dfrac{x - a}{b}$.
- Averages change in the same way as the data: $\bar{y} = \dfrac{\bar{x} - a}{b}$.
- Spread is affected by multiplying or dividing only, not by adding or subtracting: $\sigma_y = \dfrac{\sigma_x}{b}$.
Decoding
- Coded data $y = \dfrac{x - 100}{5}$ has $\bar{y} = 2.4$ and $\sigma_y = 1.2$.
- $\bar{x} = 5(2.4) + 100 = 112$.
- $\sigma_x = 5 \times 1.2 = 6$.
Check yourself
Data is coded by y = x − 50. How does the standard deviation change?
Show the answer
It stays the same
Adding or subtracting shifts data but does not change spread.
4Box plots and outliers
A box plot shows the minimum, $Q_1$, median, $Q_3$ and maximum.
An outlier is commonly defined as a value more than $1.5 \times \text{IQR}$ below $Q_1$ or above $Q_3$. Outliers are marked with a cross, and the whisker stops at the most extreme value that is not an outlier.
Finding outliers
- Data (11 values): 12, 15, 17, 18, 21, 22, 24, 25, 27, 30, 45.
- Median $= 22$ (6th value), $Q_1 = 17$ (3rd), $Q_3 = 27$ (9th). IQR $= 10$.
- Upper fence: $27 + 15 = 42$. Lower fence: $17 - 15 = 2$.
- 45 is an outlier; the upper whisker ends at 30.
The whisker stops at 30, the largest value that is not an outlier. 45 is beyond the fence Q₃ + 1.5 × IQR = 42, so it is marked with a cross.
Before removing an outlier, decide whether it is an error or a genuine unusual value.
Check yourself
With Q₁ = 20 and Q₃ = 30, above what value is a data point an outlier?
Show the answer
45
30 + 1.5 × 10.
5Histograms and cumulative frequency
In a histogram, the area of each bar represents the frequency. For unequal class widths, plot frequency density:
$$\text{frequency density} = \frac{\text{frequency}}{\text{class width}}$$
A cumulative frequency graph plots running totals against upper class boundaries. It is used to estimate the median and quartiles.
Frequency density
- A class $10 \leq t < 25$ has frequency 30.
- Width $= 15$, so frequency density $= 2$.
Reading a histogram
- A bar from 40 to 50 has height 3.2 (frequency density).
- Frequency $= 3.2 \times 10 = 32$.
Check yourself
In a histogram with unequal widths, what represents frequency?
Show the answer
The area of each bar
Height is frequency density.
6Comparing distributions
When comparing two data sets, compare:
- a measure of location (mean or median), in context;
- a measure of spread (standard deviation or IQR), in context.
Use the mean and standard deviation for symmetrical data without outliers; use the median and IQR when there are outliers or skew.
Skew: if the tail is longer on the right, the data is positively skewed (mean > median). If the tail is on the left, it is negatively skewed.
Comparing
- Class A: median 62, IQR 15. Class B: median 55, IQR 24.
- Class A scored higher on average (higher median).
- Class A's marks were more consistent (smaller IQR).
Check yourself
A distribution has a long tail on the right. What is it?
Show the answer
Positively skewed
The mean is pulled towards the tail.
Now test yourself
This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.
Practise in Impera