Data: sampling, presenting, summary statistics
Populations and samples, sampling methods, presenting data, and measures of central tendency and spread, including outliers.
1What you need to know
Tick these off as you go. By the end of the page you should be able to do all of them without notes.
- Know the difference between a population and a sample, and between discrete and continuous dataSL 4.1
- Describe simple random, convenience, systematic, quota and stratified samplingSL 4.1
- Read and draw histograms, cumulative frequency graphs and box plotsSL 4.2
- Find the mean, median, mode, quartiles, range, IQR and standard deviationSL 4.3
- Identify outliers using SL 4.2
- Know the effect of adding or multiplying by a constantSL 4.3
2Notes & worked examples
Each idea is followed by a worked example. Try the question yourself first, then reveal the solution one step at a time.
Statistics turns a pile of numbers into a few useful facts. First you collect data fairly (sampling), then you describe it: a measure of the centre (mean or median) and a measure of the spread (range, IQR or standard deviation).
2.1 Sampling
It is often impossible or too expensive to ask everyone in a population, so we ask a sample. The sample is only useful if it represents the population fairly. A biased sample, such as asking only your friends, can give misleading results however carefully you calculate.
| Method | How |
|---|---|
| Simple random | every member equally likely to be chosen (e.g. random numbers) |
| Convenience | whoever is easiest to reach: quick but likely to be biased |
| Systematic | every th member of a list |
| Quota | a fixed number from each group, not chosen at random |
| Stratified | random samples from each group, in proportion to the group sizes |
Discrete data is counted (number of siblings); continuous data is measured (height, time).
2.2 Summary statistics
Two data sets can have the same mean but be very different: 49, 50, 51 and 0, 50, 100 both have mean 50. You need a measure of centre and a measure of spread to describe data properly.
The mean uses every value but is pulled by extreme values. The median is the middle value and ignores extremes, so it is better for skewed data such as salaries or house prices. In the same way, the standard deviation uses every value (roughly the typical distance from the mean), while the IQR measures the spread of the middle half and ignores outliers.
- Median: the middle value. Quartiles: the medians of the lower and upper halves.
- IQR . Range max min.
- An outlier is less than or more than .
- Standard deviation measures spread about the mean; variance is . On Paper 2 find it with the GDC.
2.3 Changing the data
Adding 5 to every value slides the whole data set along the number line: the centre moves by 5, but the gaps between values stay the same, so the spread does not change. Doubling every value doubles both the values and the gaps between them, so the centre and the spread both double. Variance is the standard deviation squared, so it is multiplied by .
Adding a constant to every value adds to the mean, median and quartiles, but does not change the spread. Multiplying every value by multiplies the averages and the standard deviation, range and IQR by (the variance by ).
Enter data in a Lists & Spreadsheet column, then menu → 4: Statistics → 1: Stat Calculations → 1: One-Variable Statistics. For grouped data, put midpoints in one list and frequencies in another, and set the Frequency List. Use for the standard deviation of the data.
3Explore it
The data set is 12, 15, 15, 17, 18, 20, 21, 23, 24 and . Move to see how an extreme value affects the mean, the median and the box plot.
★HL extension
Extra depth for HL: harder worked examples and HL-standard exam questions.
HL papers test the same statistics as SL but with more algebra: combining two data sets, and finding unknown frequencies from a given mean or variance. The key tool is .
Combining two data sets
Unknown frequencies
HL exam-style questions
The values 2, 4, 6, 8 occur with frequencies 5, , , 3 respectively. There are 20 values and their mean is 4.8.
- (a)Write down two equations in and .[3]
- (b)Find and .[2]
| (a) | |
| A1 | |
| M1A1 | |
| (b) | |
| A1 | |
| A1 | |
Class A has 12 students with mean mark 50 and standard deviation 4. Class B has 8 students with mean mark 45 and standard deviation 6.
- (a)Find the mean mark of all 20 students.[2]
- (b)Find the standard deviation of the marks of all 20 students.[4]
| (a) | |
| M1 | |
| A1 | |
| (b) | |
| M1A1 | |
| A1 | |
| A1 | |
4Common mistakes & exam tips
Common mistakes
- Using the standard deviation instead of from the GDC.
- Including the median in both halves when finding quartiles of an odd-sized set.
- Using class boundaries instead of midpoints for a grouped mean.
- Saying adding a constant changes the standard deviation.
- Calling a value an outlier without showing the fence calculation.
Exam tips
- "Estimate" in a grouped-data question is a clue to use midpoints.
- When comparing two data sets, compare an average and a measure of spread, in context.
- Describe why a sampling method could be biased, not just that it is.
5Practice
Fluency questions build the basics. Problem-solving questions make you think about which method to use.
6Exam-style questions
Original questions in the style of the IB exam, with full markschemes. Give yourself about 1 minute per mark.
The data set 1, 3, 4, 4, 6, 8, 9, 12, 25 is given.
- (a)Write down the median.[1]
- (b)Find the lower and upper quartiles.[2]
- (c)Find the interquartile range.[1]
- (d)Show that 25 is an outlier.[2]
| (a) | |
| A1 | |
| (b) | |
| A1 | |
| A1 | |
| (c) | |
| A1 | |
| (d) | |
| M1 | |
| , so 25 is an outlier | R1 AG |
The times, minutes, that 30 students take to travel to school are: : 4; : 9; : 12; : 5.
- (a)Write down the modal class.[1]
- (b)Estimate the mean time.[2]
- (c)Estimate the standard deviation.[2]
- (d)Write down the number of students who take at least 20 minutes.[1]
| (a) | |
| A1 | |
| (b) | |
| Midpoints 5, 15, 25, 35 with frequencies | M1 |
| 21 minutes | A1 |
| (c) | |
| GDC with midpoints and frequencies | M1 |
| 9.17 minutes | A1 |
| (d) | |
| A1 | |
A school has 320 boys and 280 girls. A teacher asks the first 30 students to arrive in the library to complete a survey.
- (a)Name this sampling method and explain why it may be biased.[2]
- (b)A stratified sample of 40 students is to be chosen instead. Find how many boys and girls should be in it.[2]
| (a) | |
| Convenience sampling | A1 |
| Students in the library may not represent the school (e.g. keener readers) | R1 |
| (b) | |
| M1 | |
| 21 boys and 19 girls | A1 |
7Check yourself
Six quick questions, marked instantly. Aim for 6/6 before moving on. Fractions like 3/2 are accepted.
8Past-paper practice
Once you're scoring well above, try real IB questions. Your school or teacher will have these papers.
| Paper | Question | Focus | Difficulty |
|---|---|---|---|
| Nov 2025 · TZ3 · Paper 2 | Q2 | Box plot median, mean and range to find two missing scores | ★☆☆ |
| May 2025 · TZ2 · Paper 2 | Q8 | Find unknown frequencies from a given mean and variance | ★★☆ |
| Nov 2025 · TZ1 · Paper 2 | Q5 | Grouped data mean/sd; approximate interquartile range via normal | ★★☆ |
| Nov 2023 · TZ1 · Paper 2 | Q10 | Find normal parameters, binomial and conditional probabilities and IQR | ★★★ |
