In simple terms
A friendly intro before the formal notes — no formulas yet.
Making Sense of Messy Data
Descriptive statistics squeezes a large pile of numbers into two honest headlines: a typical value (where the data centres) and a spread (how far the data scatters around that centre). Get those two ideas right and you can describe almost any data set in a single sentence.
Imagine reviewing a chain of cafes. Instead of quoting the price of every item, you report a typical price, the mean or median coffee, and how much prices vary from one branch to the next. The first number tells a reader what to expect; the second tells them how reliable that expectation is. A low spread means every branch is similar; a high spread warns them that the 'typical' price hides big differences.
- 1
Organise the data. On Paper 2 that means typing values into a GDC list. For raw data use one list; for grouped or frequency data use one list of values (or mid-interval values) and a second list of frequencies.
- 2
Read off the centre. The one-variable statistics screen gives the mean () and the median directly; the mode is simply the most frequent value, read by eye.
- 3
Read off the spread. The same screen gives the standard deviation, the minimum, maximum and quartiles. From these form the range and the interquartile range yourself, showing the subtraction.
- 4
Interpret in context. A small standard deviation means the data clusters tightly around the mean; a large one means it scatters. Then check for outliers before trusting the mean.
Explore the concept
Use the live diagram and synced steps — play it or tap a step card to walk through.
Key formulas
Tap any symbol to reveal exactly what it means and its units.
Full topic notes
Formal explanation with the rigour you need for the exam.
Measures of central tendency
A measure of central tendency is a single value that stands in for a whole data set, a typical value. The three you need are the mean, the median and the mode. The mean uses every value, so it carries the most information but is the most easily distorted by an extreme value. The median, the middle value once the data is ordered, ignores how extreme the ends are and so resists outliers. The mode is simply the most common value, and is the only one of the three that works for non-numerical data such as favourite colour.
Mean of a data set: , where . \n For raw data every ; for grouped data is the mid-interval value of each class.
The median sits at position in the ordered list. If is odd this is a single value; if is even it falls between two values, and you average them. A frequent slip is to read the median off unordered data, so always order first, or let the GDC do it.
Mean (): add all the values and divide by how many there are. Uses every value; sensitive to outliers.
Median: the middle value of the ordered data, at position . Resistant to outliers.
Mode: the most frequently occurring value. A data set may have one mode, several, or none.
Measures of dispersion
Knowing the centre is only half the story. Two classes can share a mean score of 60% while one is full of steady 55-to-65 marks and the other swings between 30 and 90. Dispersion measures how spread out the data is. The three you need are the range, the interquartile range and the standard deviation.
Range: maximum minimum. Simple, but uses only two values, so a single outlier can blow it up.
Interquartile range (IQR): , the spread of the middle 50%. Resistant to outliers, the robust choice for skewed data.
Standard deviation (): the typical distance of a value from the mean; uses every value. Small means tightly clustered data, large means widely scattered.
On Paper 2, 'find', 'calculate' or 'determine' a statistic means 'use your GDC', so you need not show a formula. The one exception is the IQR: you must write the subtraction to earn the method mark, even though the GDC supplies both quartiles.
Quartiles, percentiles and cumulative frequency
Quartiles cut ordered data into four equal parts. The lower quartile has 25% of the data below it, the median has 50%, and the upper quartile has 75%. Percentiles generalise this to hundredths: the th percentile is the value below which of the data lies, so , and are just the 25th, 50th and 75th percentiles.
For grouped data, percentiles are usually read off a cumulative frequency graph. Cumulative frequency is a running total: for each class you add its frequency to all those before it, then plot the cumulative frequency against the upper boundary of the class. The result is the familiar S-shaped curve. To estimate the median of 200 data points, go up to a cumulative frequency of 100 and read across; for the 60th percentile, go up to 120 and read across; and and come from cumulative frequencies of 50 and 150. Reading across then down converts a height on the curve into a data value.
Box-and-whisker plots and identifying outliers
A box-and-whisker plot draws the five-number summary, minimum, , median, , maximum, on a common scale. The box stretches from to (its width is the IQR) with the median marked inside; the whiskers reach out to the most extreme values that are not outliers. Any genuine outliers are plotted as separate points beyond the whiskers. The picture reveals skew at a glance: a median sitting closer to than to , or a long right whisker, signals data stretched towards the high end.
An outlier is a value far enough from the bulk of the data to deserve suspicion. The IB uses a precise test rather than a hunch. Build two 'fences': the lower fence at and the upper fence at . Any value beyond a fence is an outlier. The rule is deliberately mechanical, so you must compute the fence and compare, never simply declare the largest value an outlier because it looks big.
Lower fence: \n Upper fence: \n A value is an outlier if it is below the lower fence or above the upper fence.
Analysing grouped frequency data
Data often arrives grouped into class intervals, where you know how many values fall in each class but not the exact values. To summarise it you make one assumption: treat every value in a class as sitting at the class's mid-interval value (the midpoint of its endpoints). With that, the GDC estimates the mean and standard deviation. Because you no longer have the individual values, the answers are estimates, and the question will usually signal this with the word 'estimate'. There is no single mode either, only a modal class: the interval with the highest frequency.
The effect of changing the data
Examiners love to ask what happens to the statistics when the data is transformed, because you can answer instantly if you understand centre versus spread. Adding a constant slides the whole data set along the number line: every location statistic moves with it, but nothing is stretched, so the spread is untouched. Multiplying by a constant stretches the data about zero: locations scale by the factor, and so does the spread.
Add a constant to every value: mean, median, mode and quartiles all increase by ; range, IQR and standard deviation are UNCHANGED.
Multiply every value by a constant : mean, median, mode and quartiles are multiplied by ; range, IQR and standard deviation are multiplied by .
Add one outlier: the mean shifts strongly towards it and the range and standard deviation grow; the median and IQR barely move.
Using the GDC efficiently
For raw data, enter the values in one list and run one-variable statistics; the screen gives you , the median 'Med', , the quartiles and , the minimum, the maximum, and both standard deviations and . For frequency or grouped data, put the values (or mid-interval values) in one list, the frequencies in a second, and tell the calculator to use the second list as frequencies. Two habits save marks: take the population standard deviation unless told 'sample', and read the quartiles for the IQR rather than trying to locate them by hand.
Scroll the whole one-variable statistics screen before you start writing. Students routinely quote instead of , or stop reading before they reach . Everything you need for central tendency and spread is on that one screen, so capture it in a small table and you never re-run the calculation mid-question.
Common mistakes examiners penalise
Reading the median off unordered data — always order first (or use the GDC). For values the median is at position , and for even it is the mean of the two middle values, not just one of them.
Writing IQR as or — the IQR is , and you must show that subtraction to earn the method mark even when the GDC gives both quartiles.
Declaring the largest value an outlier by eye — apply the rule: compute (or ) and compare. A big value inside the fence is NOT an outlier.
Quoting instead of — in AI SL use the population standard deviation unless the question explicitly says 'sample'.
Claiming spread changes when a constant is added — adding to every value leaves the range, IQR and standard deviation unchanged; only multiplying scales the spread.
Forgetting grouped answers are estimates — using mid-interval values makes the mean and standard deviation approximate; say so, and never treat a modal class as a single modal value.
Over-rounding mid-calculation — carry the GDC's full figures and round only the final answer, to 3 significant figures unless told otherwise.
Model answer — marked the way our engine marks it
In Paper 2 the marks are analytic: each is tied to a specific line of working, a method mark (M) or an accuracy mark (A), and an accuracy mark depends on the method mark it follows. Follow-through (FT) means a value that is wrong earlier does not have to cost you the marks that depend on it, provided the later step is done correctly on your figure. The engine also ignores subsequent working (ISW) once a correct answer appears, and accepts any equivalent form and any correctly-rounded value. But that protection only exists if the method is on the page. Study how each mark below is earned by a specific line.
Where this leads
Descriptive statistics is the vocabulary the rest of the statistics course speaks. The mean and standard deviation you read here reappear as the parameters of the normal distribution, where the standard deviation sets the width of the bell; quartiles and percentiles return as probabilities you read off that curve. The idea of a robust versus a sensitive measure shapes how you interpret correlation and regression, and the habit of showing method, subtracting quartiles and testing before concluding is exactly the discipline every Paper 2 statistics question rewards. Master the two headlines, a centre and a spread chosen to suit the data, and the statistics that follows becomes variations on a summary you already know how to write.
Worked examples
See the formulas applied — reveal one step at a time, like the exam.
The times, in seconds, for 12 athletes to run 100 m are: \n 10.2, 10.4, 10.5, 10.8, 10.8, 11.1, 11.3, 11.4, 11.6, 12.0, 12.1, 13.5 \n Find (a) the mean, (b) the median, (c) the mode, (d) the range, (e) the interquartile range and (f) the standard deviation of these times. [6]
- 1
This is a Paper 2 question, so enter the 12 values into a list on the GDC and run one-variable statistics; then read off and combine the results.\n\n**(a) Mean.** Read directly: s (3 s.f.). [A1]\n\n**(b) Median.** The data is already ordered and , so the median is the mean of the 6th and 7th values: s. The GDC's 'Med' confirms this. [A1]\n\n**(c) Mode.** The only value that repeats is , so the mode is s. [A1]\n\n**(d) Range.** Maximum minus minimum s. [A1]\n\n**(e) Interquartile range.** The GDC gives and , so s. (Show the subtraction to earn the mark.) [A1]\n\n**(f) Standard deviation.** Read the population value: s (3 s.f.). [A1]\n\nNote how the outlier inflates the range but barely touches the IQR, a first hint that different spreads tell different stories.
The weights, in kg, of 120 dogs in a rescue centre are summarised in the frequency table below. \n \n | Weight, (kg) | Frequency | \n |---|---| \n | | 15 | \n | | 45 | \n | | 36 | \n | | 18 | \n | | 6 | \n \n (a) Write down the mid-interval value for the class. \n (b) Use your GDC to estimate (i) the mean weight, (ii) the standard deviation. \n (c) The GDC gives kg and kg. Determine whether a dog weighing 48 kg is an outlier, justifying your answer. [6]
- 1
(a) Mid-interval value. The midpoint of and is kg. [A1]\n\n**(b) Mean and standard deviation.** Enter the mid-interval values in one list and the frequencies in a second, then run one-variable statistics with the second list set as the frequencies. [M1: mid-interval values with frequencies]\nThe GDC returns:\n(i) Estimated mean kg. [A1]\n(ii) Standard deviation kg (3 s.f.). [A1]\n\n**(c) Outlier test.** First the IQR: . [M1]\nUpper fence .\nSince , the dog weighing 48 kg is an outlier. [A1]\n\nThe mean and standard deviation are estimates because every value was assumed to sit at its class midpoint.
A data set has mean and standard deviation . A teacher rescales every mark by first multiplying by 1.5 and then adding 10. Find the new mean and the new standard deviation. [4]
- 1
Write each mark's transformation as .\n\nNew mean. The mean follows the whole transformation, both the multiply and the add:\n. [M1: apply both operations] [A1]\n\nNew standard deviation. Standard deviation scales with the multiplier only; adding 10 shifts the data without stretching it, so it has no effect:\n. [M1: multiplier only] [A1]\n\nFinal answer: new mean , new standard deviation . The '' moves the centre but leaves the spread alone.
For the data 4, 7, 8, 8, 10, 11, 12, 21: find the median and the interquartile range, and determine whether 21 is an outlier. [5]
- 1
Model answer — full working.\n\nThe data is already in ascending order and there are values.\n\nMedian. With the median is the mean of the 4th and 5th values:\n\n\nQuartiles and IQR. Split the data at the median into a lower half and an upper half .\n\n(These match the GDC's one-variable statistics screen.)\n\n\nOutlier test. Build the upper fence:\n\nSince , the value 21 lies beyond the upper fence.\n\nConclusion: 21 is an outlier.\n\n---\nHow our marking engine awards the 5 marks:\n\n- A1 — median. Awarded for , correctly read as the mean of the two middle values. This accuracy mark stands on the correct ordered data.\n- M1 — quartiles. A method mark for correctly locating both quartiles, and (from the GDC or by splitting the halves). It is the approach that is rewarded, so it survives an arithmetic slip further down.\n- A1 — IQR. Awarded for , with the subtraction shown. This A-mark depends on the M1 above: it is earned once the quartiles are in place and combined correctly. FT applies, so a candidate with slightly different quartiles who subtracts them correctly still earns it on their own figures.\n- M1 — upper fence. A method mark for forming , i.e. . The engine checks that the rule was applied to the upper quartile, not to the mean or the maximum.\n- A1 — conclusion. Awarded for the reasoned conclusion that , so 21 is an outlier. This is FT on the candidate's own fence: a student whose IQR differed but who correctly compared 21 with THEIR fence and drew the matching conclusion keeps this mark.\n\n**'Accept equivalent forms and correct rounding.'** The engine accepts the IQR written as or as or , and accepts the conclusion whether phrased as '21 is an outlier' or '21 lies above the upper fence, so it is an outlier'. Once a correct final statement appears, ISW means later restatements do not lose marks.\n\nBottom line: of the 5 marks, two are method marks that survive an arithmetic slip, and the accuracy marks are shielded by follow-through. A student who writes only 'yes, 21 is an outlier' with no fence risks losing 3-4 marks; a student who shows the median, the quartiles, the IQR subtraction and the fence keeps the method regardless of a slip in the final number.
How it all connects
The big idea sits in the middle — tap a linked idea to explore the link.
Tap a linked idea to see how it connects back to the main topic — that connection is what examiners reward.
Glossary
Try to recall each definition before you reveal it.
Quick check
Answer in your head first — then tap to check. No pressure.
Revision flashcards
Flip the card. Test yourself before the exam.
Mean ()
The sum of the values divided by how many there are: with . It uses every value, which makes it powerful but also sensitive to outliers, since one extreme value drags it noticeably.
Key takeaways
Review these before you close the topic — retrieval beats re-reading.
- ✓
Mean (): add all the values and divide by how many there are. Uses every value; sensitive to outliers.
- ✓
Median: the middle value of the ordered data, at position . Resistant to outliers.
- ✓
Mode: the most frequently occurring value. A data set may have one mode, several, or none.
Practice — then mark it
The whole point: a real Cambridge question, marked mark-by-mark.
Get a Paper 2 calculation marked: find the quartiles, IQR and outliers with full working
Get a Paper 2 calculation marked: find the quartiles, IQR and outliers with full working
Extra simulations & links
PhET, GeoGebra and other curated tools — open in a new tab.
Frequently asked
Checkpoint
One marked question is worth ten re-reads — close the loop before you move on.
Reading it isn’t knowing it — prove it.
Before you move on: do Get a Paper 2 calculation marked: find the quartiles, IQR and outliers with full working on paper, snap a photo, and get examiner-style feedback on exactly where you win and lose marks.