Skip to content
Marlbridge

Revision Notes

OCR A Level Mathematics A: Sampling and interpreting single-variable data (H240) – Revision Notes

Condensed revision notes on sampling methods, histograms, mean and standard deviation, outliers and data cleaning for OCR A Level Mathematics A.

Subject
Mathematics
Level
A LEVELS
Topic
Sampling and interpreting single-variable data
Updated

Aligned to OCR A Level Mathematics (H240), Version 3.1 (August 2026), for first assessment in 2018. Official specification .

Syllabus points this page covers

H240

  • 2.01 Statistical sampling
  • 2.02 Data presentation and interpretation

Found an error? Report a correction.

These notes condense sections 2.01a to 2.01d and 2.02a, 2.02b and 2.02f to 2.02j of the OCR A Level Mathematics A (H240) specification, Version 3.1 (August 2026). All of it is Stage 1 content, shared with AS Level. The study guide explains each idea in full. When you are ready, try the practice questions.

Related links: the OCR A Level Mathematics hub, the printable checklist, the Statistics overview and the free 10-minute diagnostics. Scatter diagrams and correlation (2.02c to 2.02e) are covered in a separate unit.

Definitions (2.01a, 2.01b)

Term Meaning
Population Everything you want information about
Sample The part of the population actually observed
Census Observing every member of the population
Sampling frame A complete list from which a sample is drawn
Bias A systematic tendency for a sample to differ from the population
Informal inference A cautious estimate about the population from a sample

An estimate from a sample: sample proportion × population size. Different samples give different estimates, so write “approximately” or “estimate”.

Sampling methods (2.01c, 2.01d)

Method Carry out? In one line Main weakness
Simple random Yes Every member and every sample equally likely Needs a frame; may miss small groups
Opportunity Yes Whoever is available Not random; biased to the place and time
Systematic Critique only Every kth from a random start Pattern in the list can clash with k
Stratified Critique only Proportional sample from each group Needs a full frame with group labels
Cluster Critique only Whole groups chosen at random Clusters may not represent the population
Quota Critique only Fixed numbers per group, interviewer chooses Not random; choice by interviewer

Simple random sample, in steps:

  1. Make a frame and number it 1 to N.
  2. Generate random numbers in range.
  3. Ignore repeats and out-of-range values.
  4. Stop at n members.

Critique, in steps: name the method; say who could be missed or over-represented in this context; say how that could change the result; state whether the conclusion is safe.

Systematic reminder. Population 600, sample 40: interval 600/40 = 15, random start from 1 to 15.

For random samples you may assume the population is large enough to sample without replacement unless told otherwise.

Three grids of the same 60 numbered people, in 6 rows of 10, with three groups shown by shape: group A circles (24), group B squares (20) and group C diamonds (16). Systematic sampling picks every 4th person from a random start of 3, giving 15 people (3, 7, 11 up to 59); the risk is a repeating pattern in the list. Stratified sampling picks 6, 5 and 4 people at random from groups A, B and C, in proportion to group size, again 15 people. Cluster sampling picks 2 of the 6 rows at random and asks everyone in them, 20 people. A note says quota sampling is like stratified sampling but the people asked are not chosen at random.
How each method picks its sample; quota is stratified without random selection.
Edexcel International A Level. The population has three equally likely values 1, 3 and 5. A 3 by 3 grid shows the nine equally likely samples of size 2 taken with replacement, each labelled with M, the larger value: M = 1 for one pair (1,1), M = 3 for three pairs (1,3), (3,1) and (3,3), and M = 5 for five pairs. A bar chart shows the sampling distribution of M: P(M=1) = 1/9, P(M=3) = 3/9, P(M=5) = 5/9. E(M) is 35/9, about 3.89, which is more than the population mean 3, so M is a biased guide to the mean.
A statistic varies from sample to sample, and its sampling distribution shows how it behaves.

Diagrams (2.02a, 2.02b, 2.02i)

Diagram Use Watch for
Vertical line chart / dot plot Small discrete sets Many values
Bar chart Categories Not for continuous data
Stem-and-leaf Shape and every value Needs a key
Box-and-whisker Compare median, spread, skew Hides modes and detail
Cumulative frequency Median, quartiles, percentiles Shape unclear
Histogram Shape of continuous data Detail lost

Non-standard diagrams can appear. Read the title, axes, units and what each mark represents before you read any value.

Histograms (2.02b)

density = frequency ÷ width of class
frequency = area of the bar = density × width
  • Area, not height, is proportional to frequency.
  • Probability link: divide frequency density by the total frequency and the total area is 1. Area under part of the histogram then estimates a probability.
  • Values read from inside a bar are estimates, assuming even spread within the class.

Reminder. A class 30 to <50 holds 45 items. Width 20, so frequency density = 45/20 = 2.25.

A histogram of 70 puzzle times with unequal class widths. Bar heights are frequency densities: 0.8 for 0 to 10 minutes (frequency 8), 2.8 for 10 to 15 (14), 4.0 for 15 to 20 (20), 1.8 for 20 to 30 (18) and 0.5 for 30 to 50 (10). Area equals frequency, so the bar areas add to 70. The part of the histogram between 12 and 25 minutes is shaded: 3 times 2.8 is 8.4, 5 times 4.0 is 20 and 5 times 1.8 is 9, giving 37.4, so about 37 people, assuming times are spread evenly within each class.
Frequency = frequency density times class width, so areas add up to the total frequency.

Averages and spread (2.02f, 2.02g)

Quantity Formula or rule
Mean Σx/n, or Σfx/Σf
Median Middle value; halfway position n/2 for grouped data
Mode Most common value; modal class if grouped
IQR Q3 − Q1
Variance Σx²/n − x̄², or Σfx²/Σf − x̄²
Standard deviation √variance; root mean square deviation from the mean
  • Grouped data: use class midpoints. Mean, standard deviation and interpolated median are estimates.
  • Interpolate for percentiles: find the class containing the position, then lower boundary + (position − frequency below) ÷ class frequency × class width.
  • The median and IQR resist extreme values. The mean and standard deviation do not.
  • Different conventions exist for naming these measures and for the symbols on a calculator. Know which output of your own calculator divides by n.
  • Percentile positions: the pth percentile of grouped data is at position (p/100) × n. For n = 80, the 90th percentile is at position 72.
  • Comparing: always give one comment on average and one on spread, in context.

Method for sd from summary statistics:

  1. Find the mean: Σx ÷ n.
  2. Find Σx² ÷ n.
  3. Subtract the mean squared to get the variance.
  4. Take the square root.

Worked reminder. n = 16, Σx = 224, Σx² = 3296.

mean = 224/16 = 14
variance = 3296/16 − 14² = 206 − 196 = 10
sd = √10 ≈ 3.16
Eight data values 2, 4, 4, 4, 5, 5, 7 and 9 are shown on a number line with their distances from the mean 5: minus 3, minus 1, minus 1, minus 1, 0, 0, plus 2 and plus 4. A square is drawn on each distance, with areas 9, 1, 1, 1, 0, 0, 4 and 16, which total 32. The mean of these areas is 32 divided by 8, which is 4: that is the variance. Its square root, the side of a square of area 4, is the standard deviation 2. The shortcut sum of x squared over n minus the mean squared gives 232 over 8 minus 25, which is also 4.
Variance is the mean of the squared distances from the mean; the standard deviation is the side of that mean square.

Outliers and cleaning (2.02h, 2.02j)

Definition A value is a possible outlier if it is
1 More than 1.5 × IQR below Q1 or above Q3
2 More than 2 standard deviations from the mean

Use the definition in the question. If none is given, state your choice.

Worked reminder. A list has Q1 = 22 and Q3 = 30, so IQR = 8 and 1.5 × IQR = 12.

lower fence = 22 − 12 = 10
upper fence = 30 + 12 = 42

A value of 45 lies beyond the upper fence, so it is a possible outlier. A value of 12 does not lie beyond the lower fence, so it is not. Always compare with the nearer quartile, and say what you conclude in context.

Cleaning data, in steps:

  1. Look for errors: impossible, mis-typed or inconsistent values.
  2. Correct from the source if you can; otherwise remove and say why.
  3. Handle missing data by excluding those cases and stating the new n. Do not enter 0.
  4. For outliers, ask whether they are errors or genuine. Do not delete a genuine value without a reason.
  5. Say how the cleaning changes the mean, median or spread.
A dot plot and box plot of 12 apple masses in grams: 138, 142, 144, 146, 147, 149, 150, 151, 153, 155, 160 and 210. The lower quartile is 145, the upper quartile 154 and the interquartile range 9. The outlier fences are 145 minus 13.5, which is 131.5, and 154 plus 13.5, which is 167.5. The value 210 lies beyond the upper fence, so it is marked with a cross as a possible outlier, and the upper whisker stops at 160, the largest value inside the fence. A second chart compares standard deviations: 17.9 grams with all 12 values and 5.91 grams with 210 left out. The figure warns that a value should be removed only if it is an error or does not belong to the population.
A value beyond Q3 + 1.5 x IQR is a possible outlier, but it is removed only if it is an error or not in the population.

Must-know distinctions

  • Sample vs census: a census covers everyone; a sample covers some.
  • Opportunity vs simple random: opportunity is convenient, random gives every member an equal chance.
  • Stratified vs quota: stratified chooses members randomly within groups from a frame; quota lets the interviewer choose.
  • Histogram vs bar chart: a histogram has a continuous scale with area as frequency; a bar chart has categories.
  • Mean vs median: the mean uses every value and is pulled by outliers; the median is not.
  • Variance vs standard deviation: variance is measured in squared units, so the standard deviation is the one that matches the data’s units.

Quick self-test

  1. A class 30 to <50 has frequency density 2.25. What is its frequency?
  2. A histogram bar of width 5 has height 3.2. How many items does it represent?
  3. A sampling frame lists 600 people and a systematic sample of 40 is needed. What is the interval?
  4. Data: 4, 6, 7, 9, 10, 12, 13, 15, 16, 19, 30. Find the median, Q1, Q3 and IQR.
  5. Is 30 in question 4 an outlier by definition 1?
  6. Is 30 in question 4 an outlier by definition 2, given mean ≈ 12.82 and sd ≈ 6.94?
  7. A set has n = 16, Σx = 224 and Σx² = 3296. Find the standard deviation.
  8. Values 0, 1, 2, 3, 4 have frequencies 7, 12, 9, 5, 2. Find the mean and standard deviation.
  9. A set has mean 50 and sd 6. Is 63 an outlier by definition 2?
  10. Why is a mean from grouped data only an estimate?
  11. Give one weakness of quota sampling.
  12. Two sets have the same median. Set A has IQR 5 and set B has IQR 11. Compare them.

Answers

  1. 2.25 × 20 = 45.
  2. 3.2 × 5 = 16 items.
  3. 600/40 = 15, with a random start from 1 to 15.
  4. Median 12, Q1 = 7, Q3 = 16, IQR = 9.
  5. Upper fence = 16 + 1.5 × 9 = 29.5. 30 exceeds it, so yes.
  6. Mean + 2sd ≈ 12.82 + 13.88 = 26.7. 30 exceeds it, so yes.
  7. Mean 14, variance 206 − 196 = 10, sd = √10 ≈ 3.16.
  8. n = 35, Σfx = 53, Σfx² = 125. Mean = 53/35 ≈ 1.51. Variance = 125/35 − 1.514² ≈ 1.278, so sd ≈ 1.13.
  9. 50 + 2 × 6 = 62. 63 is 13 above the mean, which is more than 12, so yes.
  10. Each class is represented by one midpoint, and the true values inside it are not known.
  11. The interviewer chooses who to ask, so it is not random and can be biased.
  12. Same typical value; B is more spread out in its middle half, so A is more consistent.
Three dot plots of one-way commuting times in minutes. Analyst A's random sample of 8 (18, 22, 25, 27, 30, 35, 38, 41) has mean 29.5. Analyst B's random sample of 8 (15, 17, 19, 20, 21, 24, 26, 33) has mean 21.9. Together the 16 values have mean 25.7. Triangles mark each mean. Both samples came from a fair method, so the 7.6 minute gap is sampling variability; combining the samples, or using larger ones, reduces it.
Two fair random samples from the same firm give different means, so samples are only estimates.

Where marks are usually lost

  • Reading the height of a histogram bar as the frequency when class widths differ.
  • Using class limits instead of midpoints for grouped mean and standard deviation.
  • Giving Σx²/n as the variance without subtracting the mean squared.
  • Stating a grouped estimate to many decimal places as if it were exact.
  • Describing a sample as “biased” with no reason tied to the context.
  • Writing “random” for a quota or opportunity sample.
  • Removing an outlier without testing it against a stated definition.
  • Comparing two distributions with an average only, and leaving out spread.
  • Entering 0 for missing data.

Frequently asked questions

Which sampling methods must you be able to carry out in OCR A Level Mathematics A (H240)? You carry out simple random and opportunity sampling. Systematic, stratified, cluster and quota sampling are for critique only, so you need to know how they work and their weaknesses.

What is the difference between stratified and quota sampling? Stratified sampling chooses members at random within each group, using a sampling frame. Quota sampling sets numbers for each group but lets the interviewer choose who to ask, so it is not random.

How do you find standard deviation from summary statistics? Find the variance as Σx²/n − x̄², then take the square root. Forgetting to subtract the mean squared is a common error.

Why is standard deviation used rather than variance? Variance is measured in squared units, so the standard deviation is the measure of spread that matches the units of the data.

Official syllabus

The OCR A Level in Mathematics A (H240) specification, Version 3.1 (August 2026), published by OCR, sections 2.01 and 2.02.

Related resources

Get free revision emails (optional)

Occasional emails with practice questions, worked explanations and links to free resources for the qualification and subjects you choose. No spam, and you can unsubscribe from any email. The free tools on this site never need an email.