James Ashton MathsFREE MATHEMATICS. OPEN TO EVERYONE.
HomeIB DiplomaA levelAbout
A level Maths › Statistics · Sampling & data › Sampling, data & summary statistics

Sampling, data & summary statistics

Populations and samples, sampling methods, presenting data, and measures of central tendency and spread, including outliers.

Stats 1.1, 2.1, 2.3, 2.4Year 1≈ 60 min to work through
Before you start: percentages and ratio. See Before you start (GCSE skills check) › Percentages and ratio.

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 dataY1
  • Describe simple random, convenience, systematic, quota and stratified samplingY1
  • Read and draw histograms, cumulative frequency graphs and box plotsY1
  • Find the mean, median, mode, quartiles, range, IQR and standard deviationY1
  • Identify outliers using 1.5×IQRY1
  • Know the effect of adding or multiplying by a constantY1

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.

The big idea

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.

MethodHow
Simple randomevery member equally likely to be chosen (e.g. random numbers)
Conveniencewhoever is easiest to reach: quick but likely to be biased
Systematicevery kth member of a list
Quotaa fixed number from each group, not chosen at random
Stratifiedrandom samples from each group, in proportion to the group sizes

Discrete data is counted (number of siblings); continuous data is measured (height, time).

Worked example 1No calculator
A school has 240 students in Year 12 and 360 in Year 13. A stratified sample of 50 is chosen. How many come from each year?
Total 600. Year 12: 240600×50=20
Year 13: 360600×50=30

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 =Q3−Q1. Range = max − min.
  • An outlier is less than Q1−1.5×IQR or more than Q3+1.5×IQR.
  • Standard deviation σ measures spread about the mean; variance is σ2. With a calculator find it with your calculator.
Worked example 2No calculator
For the data 3, 5, 7, 8, 9, 12, 15, 21, find the mean, median, quartiles and IQR, and test 21 for being an outlier.
Mean =808=10. Median =8+92=8.5.
Q1 is the median of 3, 5, 7, 8: 6. Q3 is the median of 9, 12, 15, 21: 13.5. IQR =7.5.
Upper fence =13.5+1.5(7.5)=24.75. 21 is below it, so it is not an outlier.
Show the fence calculation: it is the method mark.
Worked example 3Calculator
Estimate the mean of this grouped data: 0≤t<10: 5, 10≤t<20: 8, 20≤t<30: 7.
Use the midpoints 5, 15, 25.
5(5)+15(8)+25(7)20=32020=16
It is an estimate, because the exact values are not known.

2.3 Changing the data

Why does this happen?

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 k2.

Adding a constant c to every value adds c to the mean, median and quartiles, but does not change the spread. Multiplying every value by k multiplies the averages and the standard deviation, range and IQR by k (the variance by k2).

Worked example 4No calculator
A data set has mean 10 and standard deviation 3. Each value is doubled and then 3 is added. Find the new mean and standard deviation.
Mean: 2(10)+3=23
Standard deviation: 2(3)=6 (adding 3 does not change it).
Worked example 5 (faded)No calculator
For a data set, Q1=20 and Q3=30. Find the outlier boundaries.
IQR = 10  ← you work this out
Lower: 20−15= 5  ← you work this out
Upper: 30+15= 45  ← you work this out
On your Casio ClassWiz Calculator tricks →

Open the Statistics app → 1-Variable. For a frequency table, switch the Frequency column on (TOOLS → Frequency → On on the fx-991CW, before you enter any data; SETUP on the fx-991EX), enter the values (or midpoints) and the frequencies, then view the 1-variable results: x¯, σx, quartiles and more.

3Explore it

The data set is 12, 15, 15, 17, 18, 20, 21, 23, 24 and X. Move X to see how an extreme value affects the mean, the median and the box plot.

4Common mistakes & exam tips

Common mistakes

  • Using the standard deviation sx instead of σx from your calculator.
  • 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.

FluencyP1
Find the mean of 4, 8, 9, 11, 13.
455=9
FluencyP2
Find the median of 2, 5, 7, 10, 14, 20.
7+102=8.5
FluencyP3
Q1=14 and Q3=26. Find the IQR.
12
FluencyP4
Is "number of siblings" discrete or continuous?
Discrete: it is counted.
Problem solvingP5
The mean of five numbers is 12. Four of them are 10, 11, 14 and 15. Find the fifth.
Total =60, so the fifth is 60−50=10.
Problem solvingP6
Temperatures have mean 50 °F and standard deviation 4 °F. They are converted with y=1.5x−10. Find the new mean and standard deviation.
Mean 1.5(50)−10=65; standard deviation 1.5(4)=6.

6Exam-style questions

Original exam-style questions with full markschemes. Edexcel papers allow a calculator throughout, but questions labelled “No calculator” practise exact working. Allow about 1.2 minutes per mark.

Question 1No calculator[6 marks]

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)
6A1
(b)
Q1=3.5A1
Q3=10.5A1
(c)
7A1
(d)
10.5+1.5(7)=21M1
25>21, so 25 is an outlierR1 AG
Question 2Calculator[6 marks]

The times, t minutes, that 30 students take to travel to school are: 0≤t<10: 4; 10≤t<20: 9; 20≤t<30: 12; 30≤t<40: 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)
20≤t<30A1
(b)
Midpoints 5, 15, 25, 35 with frequenciesM1
21 minutesA1
(c)
calculator with midpoints and frequenciesM1
9.17 minutesA1
(d)
17A1
Question 3No calculator[4 marks]

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 samplingA1
Students in the library may not represent the school (e.g. keener readers)R1
(b)
320600×40=21.3M1
21 boys and 19 girlsA1

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 Edexcel A level questions. Past papers and markschemes are on the Pearson website.

PaperQuestionFocusDifficulty
Specimen · Paper 3Q1Histogram from grouped data on hours of sunshine★☆☆
June 2024 · Paper 31Q3Large data set: correcting summary statistics★★☆
June 2023 · Paper 31Q6Histogram estimates, then mean and standard deviation★★★
Spotted a mistake on this page?Tell me and I'll fix it. The button opens an email with this page already named, or write to jamesashtonmaths@gmail.com.
Report a mistake