☰ IB Maths AI HL · course menu
Topics
IB Maths AI HL · free cheatsheet
Univariate Statistics cheatsheet (IB Maths AI HL)
Every measure of centre and spread — mean, median, standard deviation and IQR — plus grouped-data estimates, cumulative-frequency graphs, box plots and the 1.5×IQR outlier test for IB Mathematics Applications & Interpretation HL. Written by an IB-certified teacher.
What this cheatsheet covers
Univariate statistics is where the Statistics & Probability strand of IB Mathematics Applications & Interpretation HL begins, and it is pure AI in spirit: you are handed real data and asked to summarise, picture and interpret it rather than to prove anything. A calculator is always allowed, so almost every statistic — mean, median, standard deviation, quartiles — is read straight off the GDC's 1-variable statistics screen. The marks live in choosing the right measure (centre versus spread, mean versus median), reading the correct value off the calculator, and interpreting it in context — not in hand-grinding arithmetic.
This cheatsheet condenses SL 4.1–4.3 onto one page — sampling and data types, measures of central tendency and spread, grouped-data estimates, cumulative-frequency graphs, box plots and the $1.5\times\text{IQR}$ outlier rule — and flags the traps that quietly cost marks ($\sigma_x$ versus $s_x$, dividing by $\sum f$, boundary outliers).
Sampling & types of data
SL 4.1Data types:Discrete data are counted (whole numbers); continuous data are measured (any value in a range).Population vs sample:A sample is a subset used to estimate a feature of the whole population.Systematic sample:$k=\dfrac{\text{population}}{\text{sample size}}$, then take every $k$-th item from a random start $r$: $\;r,\,r+k,\,r+2k,\dots$
Before you calculate anything, classify the data and check how it was collected — a biased sample makes every statistic that follows meaningless.
Mean, median & mode
SL 4.3Mean:$\bar{x}=\dfrac{\sum x}{n}$ — the balance point; every value counts.Median:The middle of the ordered list; for $n$ values it sits in position $\dfrac{n+1}{2}$.Mode:The most frequent value — a data set can have none, one or several.
The three "averages" each summarise the centre of a data set with a single number.
Mean & standard deviation from the GDC
SL 4.3Mean:$\bar{x}=\dfrac{\sum fx}{\sum f}$ — multiply each value by its frequency, add, then divide by $\sum f$.Standard deviation:$\sigma=\sqrt{\dfrac{\sum f\,(x-\bar{x})^{2}}{\sum f}}$ — the typical distance of a value from the mean.On the GDC:Read $\bar{x}$ and $\sigma_x$ directly; here $\sum f=n$ is the number of data points.
Real data usually arrive in a frequency table. Enter the values in one list and their frequencies in another, then read everything off 1-Var Stats.
Range, quartiles & the IQR
SL 4.3Range:$x_{\text{max}}-x_{\text{min}}$ — simple, but wrecked by a single outlier.Quartiles:$Q_1$ is the median of the lower half; $Q_3$ is the median of the upper half.IQR:$\text{IQR}=Q_3-Q_1$ — the spread of the middle $50\%$ of the data.Five-number summary:$x_{\text{min}},\ Q_1,\ \text{median},\ Q_3,\ x_{\text{max}}$.
Centre alone hides the story — two data sets with the same mean can look completely different once you measure their spread.
Grouped data: estimated mean & modal class
SL 4.3Midpoint:$m=\dfrac{\text{lower}+\text{upper}}{2}$ — e.g. the class 20–30 has midpoint 25.Estimated mean:$\bar{x}=\dfrac{\sum fm}{\sum f}$ — enter the midpoints and frequencies into 1-Var Stats.Modal class:The class with the highest frequency.
When data are grouped into classes the raw values are lost, so we represent each class by its midpoint.
Cumulative frequency & percentiles
SL 4.2Plot:Cumulative frequency against the upper class boundary, joined by a smooth curve.Read-off positions:Median at $\dfrac{N}{2}$, $\;Q_1$ at $\dfrac{N}{4}$, $\;Q_3$ at $\dfrac{3N}{4}$, and the $p$-th percentile at $\dfrac{p}{100}\,N$.Interpolation:$\text{value}=L+\dfrac{\text{pos}-\text{CF}_{\text{before}}}{f}\times w$, with $L$ the lower class boundary and $w$ its width.
A cumulative-frequency (CF) graph — the ogive — lets you estimate the median, quartiles and any percentile of grouped data.
Box-and-whisker plots
SL 4.2Box:Spans $Q_1$ to $Q_3$, so its width is the IQR, with a line drawn at the median.Whiskers:Reach to the smallest and largest values — or, on a modified box plot, to the last value inside the outlier fences.GDC:1-Var Stats lists $\min X,\ Q_1,\ \text{Med},\ Q_3,\ \max X$ — the whole summary on one screen.
A box plot is the five-number summary drawn to scale — the fastest way to see centre, spread and skew at once.
Outliers: the 1.5×IQR rule
SL 4.2Lower fence:$Q_1-1.5\,\text{IQR}$Upper fence:$Q_3+1.5\,\text{IQR}$Outlier:Any value below the lower fence or above the upper fence.
IB uses one precise definition of an outlier, built entirely from the IQR.
Transformations & combining data sets
SL 4.3Total trick:$\text{total}=\bar{x}\times n$ — reverse a mean, or update it when a value is added or changed.Combined mean:$\dfrac{n_1\bar{x}_1+n_2\bar{x}_2}{n_1+n_2}$ — the weighted mean of two groups.Mean of an AP:$\bar{x}=\dfrac{S_n}{n}=a+\dfrac{(n-1)d}{2}=\dfrac{u_1+u_n}{2}$ — a symmetric data set, so its mean equals its median.
Two exam favourites: what a linear change does to your statistics, and how to merge or reverse-engineer means.
| Transformation | Mean $\bar{x}$ | Std dev $\sigma$ | IQR / range |
|---|---|---|---|
| Add a constant $c$ ($x\to x+c$) | $\bar{x}+c$ | unchanged | unchanged |
| Multiply by $k$ ($x\to kx$) | $k\bar{x}$ | $|k|\,\sigma$ | multiplied by $|k|$ |
Exam attack plan
All sections
| Question cue | What to do | Watch for |
|---|---|---|
| "Find the mean / median / mode" | Enter the data in 1-Var Stats; read $\bar{x}$ and Med | Mean is dragged by outliers; median is resistant |
| "Find the standard deviation" | 1-Var Stats, read $\sigma_x$ | Use $\sigma_x$ (population), never $s_x$ |
| "…from a frequency table" | Values in one list, frequencies in another; 1-Var Stats | Divide by $\sum f$, not the number of rows |
| "Estimate the mean of grouped data" | Use class midpoints as $x$ in 1-Var Stats | Only an estimate; divide by $\sum f$, not the number of classes |
| "Find $Q_1$, $Q_3$, IQR" | 1-Var Stats lists $Q_1,\text{Med},Q_3$; $\text{IQR}=Q_3-Q_1$ | Sort first if by hand; IQR uses quartiles, not $\max-\min$ |
| "Median / percentile from a graph" | Read across the CF curve at $\tfrac{N}{2},\tfrac{N}{4},\tfrac{3N}{4}$ | Plot CF against the upper class boundary |
| "Is $X$ an outlier?" | Compute $Q_1-1.5\,\text{IQR}$ and $Q_3+1.5\,\text{IQR}$ | $1.5\times$ IQR (not $Q_3$); on the boundary is not an outlier |
| "Effect of $+c$ or $\times k$" | $+c$ shifts the centre only; $\times k$ scales centre and spread | Adding $c$ leaves $\sigma$ and IQR unchanged |
Worked Example — Reading Statistics off the GDC
Question (AI HL Paper 2 style — 8 marks)
The masses, in grams, of 11 apples from a crate are:
142, 150, 155, 158, 160, 162, 165, 168, 170, 175, 210.
(a) Use your GDC to find (i) the mean mass and (ii) the standard deviation.
(b) Find the median, the lower quartile $Q_1$, the upper quartile $Q_3$, and hence the interquartile range.
(c) Using the $1.5\times\text{IQR}$ criterion, determine whether the 210 g apple is an outlier.
Solution
- (a) Enter the 11 masses into 1-Var Stats. (M1) The calculator gives the mean $\bar{x}=165$ g (A1) and the population standard deviation $\sigma_x=16.8$ g (3 s.f.) (A1). (Read $\sigma_x$, not $s_x$.)
- (b) With $n=11$ the median is the 6th ordered value, so $\text{median}=162$ g (A1). From 1-Var Stats, $Q_1=155$ g and $Q_3=170$ g (A1), hence $\text{IQR}=Q_3-Q_1=170-155=15$ g (A1).
- (c) Upper fence $=Q_3+1.5\times\text{IQR}=170+1.5\times15=170+22.5=192.5$ g. (M1) Since $210>192.5$, the value lies beyond the upper fence, so the 210 g apple is an outlier. (A1)
Examiner's note: keep the units (g) and round to 3 s.f. unless told otherwise. Two marks are routinely thrown away here — by quoting $s_x$ instead of $\sigma_x$, and by testing against $1.5\times Q_3$ instead of $1.5\times\text{IQR}$. A value landing exactly on a fence would not count as an outlier.
Common Student Questions
- Which average should I use — mean, median or mode?
- Should I use $\sigma_x$ or $s_x$ from my calculator?
- How do I find the quartiles — my calculator and the by-hand method sometimes disagree?
- When is a value officially an outlier?
- Why are the mean and median from grouped data only "estimates"?
Which average should I use — mean, median or mode?
Should I use $\sigma_x$ or $s_x$ from my calculator?
How do I find the quartiles — my calculator and the by-hand method sometimes disagree?
When is a value officially an outlier?
Why are the mean and median from grouped data only "estimates"?
Your next step




