Measures of Central Tendency (AI HL)
The mean, median and mode are three measures of central tendency, each giving one value to represent where a data set is centred. The mean is the total divided by the number of values, the median is the middle value of the ordered data, and the mode is the most frequent value. For grouped data the mean is estimated using mid-interval values, and the modal class is the class with the highest frequency. It's part of the broader Statistics & Sampling topic.
26 questions on this sub-topic.
Syllabus
| Code | Syllabus content |
|---|---|
| SL4.3 | Measures of central tendency (mean, median, mode), including estimating the mean of grouped data using mid-interval values and identifying the modal class. Measures of dispersion (interquartile range, standard deviation, variance) and quartiles of discrete data, calculated using technology, with awareness that different methods may give slightly different quartile values. The effect of constant changes (adding a constant, or scaling) on the mean and standard deviation of a data set. |
Official IB source: Mathematics: applications and interpretation subject brief (PDF, ibo.org).
Skills practised on this page:
- Calculate the mean, median, and mode of a data set.
- Estimate the mean of grouped data using midpoints.
- Calculate the interquartile range, variance, and standard deviation of a data set using a GDC.
Mean, median and mode
Mean of raw data
Sum every value and divide by how many values there are. Not in the formula booklet - your GDC's one-variable statistics screen gives directly once the data is entered.
Mean of grouped data
Replace each class by its mid-interval value , weight by the frequency , then divide by the total frequency. This is an estimate, since the raw values inside each class are unknown.
Need standard deviation, IQR, or the outlier rule too? See Statistics & Sampling.
Key terms
How do you find the median of an even number of values?
Put the values in order, then take the mean of the two middle values. With an odd number of values the median is the single middle value.
e.g. For , the median is .
What is a mid-interval value?
A mid-interval value is the midpoint of a class, found by adding the class boundaries and halving. It stands in for every value in the class when estimating the mean of grouped data.
e.g. The class has mid-interval value .
What is the modal class?
For grouped data with equal class widths, the modal class is the class with the highest frequency. It is given as a class rather than a single value.
e.g. Classes , and with frequencies , and have modal class .
How does an outlier affect the mean and the median?
An extreme value pulls the mean towards it, but the median barely changes because it depends only on the middle of the ordered data. For skewed data the median is often the better average.
e.g. The values have mean and median ; replacing with gives mean but median still .
Worked examples
Find the mean of .
Worked solution
M1
A1
The mean of 6 numbers is 14. A seventh number is added and the mean becomes 15.
Find the seventh number.
Worked solution
Original total M1
Original total A1
New total M1
Seventh number A1On the GDC. Find the seventh number. The calculator shows about 21.
Five numbers have a mean of 15. A sixth number is added and the new mean is 16.
(a) Find the sum of the original five.
(b) Find the sixth number.
Worked solution
(a) Sum of the original five. From M1
A1
(b) Sixth number. The six values now total M1
the added value is A1
Common mistakes
- Using the mean when the median is what's asked for (or vice versa). Skewed data or a single extreme outlier can pull the mean well away from where most of the data actually sits - the median is often the fairer "typical value" in that case, and examiners expect you to know which one a question wants.
- Using the class width instead of the mid-interval value. For grouped data, in is the midpoint of each class (lower bound plus upper bound, divided by 2), not the width of the class - mixing the two gives a completely wrong mean.
- Forgetting a reversed-mean question is still just "total count". When a mean is given and you need to recover a total or a missing value, multiply back up first () rather than trying to manipulate the mean formula directly.
Using your GDC
Every step below is a real button sequence, not a vague "use your calculator" hint - covering the TI-84 Plus, TI-Nspire, and Casio fx-9860/fx-CG50. Pick your model to filter down to just the steps that apply to you.
Instant summary statistics from a list - no formulas to compute by hand.
- Enter the data into a list.
- STAT → Edit → type values into L1. Then STAT → CALC → 1:1-Var Stats, choose L1, Calculate.TI-84
- Add a Lists & Spreadsheet page, name a column and enter data; then a Calculator page → menu → Statistics → Stat Calculations → One-Variable Statistics.Nspire
- Statistics menu → enter data in List 1 → CALC (F2) → 1-VAR.Casio
- Read (mean), (sample sd) or (population sd), and the five-number summary (min, , median, , max).
- For frequency data, put values in one list and frequencies in another and set the frequency list.
Tip: vs : use (population) for a complete data set, (sample) for a sample. IB usually wants .
Lists let you store data sets, generate sequences, and compute statistics without re-entering values - essential for grouped data and frequency tables.
- Enter data manually: go to the list editor and type values one by one.
- 2nd → STAT (LIST) → OPS → 5:seq(expression, variable, start, end) generates a list from a formula. For grouped data, put midpoints in L1 and frequencies in L2, then run 1-Var Stats L1, L2.TI-84
- In a Lists & Spreadsheet page, type a formula in the header row to fill the column automatically. Use two columns for midpoints and frequencies.Nspire
- In Statistics list editor, enter data directly; OPTN → LIST → Seq( builds a list from a formula. For frequency data, put midpoints in List 1 and frequencies in List 2.Casio
- For frequency data (grouped), enter midpoints in one list and frequencies in another, then reference both lists when running 1-Var Stats.
Tip: For cumulative frequency or working out by hand - don't. Store midpoints in L1, frequencies in L2, and let 1-Var Stats do it all.
See the full GDC guide for more calculator models and topics.
Quick questions
What is the difference between mean, median and mode?
The mean is the sum of the values divided by how many there are; the median is the middle value once the data is ordered; the mode is the value (or class) that occurs most often. Outliers or skew can make them disagree.
How do you estimate the mean of grouped data?
Replace each class with its mid-interval value, multiply each mid-interval value by its frequency, sum those products, then divide by the total frequency: . It's an estimate because the raw values inside each class are unknown. See using your GDC for entering frequency data directly.
How do I find a missing value when I am given the mean?
Multiply the mean by the number of values to get the total, then subtract the known values. For example, five values with mean have total , so if four of them are , the missing value is .
Which average should I use for skewed data?
The median is usually the better choice because extreme values do not pull it far from the middle of the data. House prices are a typical case, where a few very expensive houses raise the mean.
What if two values both occur most often?
Then the data has two modes. For example, has modes and , and both should be stated.
Ready to practise properly?
26 central-tendency questions, marked instantly like the real exam.