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

CodeSyllabus content
SL4.3Measures 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:

Mean, median and mode

Mean of raw data

x¯=∑xn\bar{x} = \dfrac{\sum x}{n}

Sum every value and divide by how many values there are. Not in the formula booklet - your GDC's one-variable statistics screen gives x¯\bar{x} directly once the data is entered.

Mean of grouped data

x¯≈∑fx∑f\bar{x} \approx \dfrac{\sum fx}{\sum f}

Replace each class by its mid-interval value xx, weight by the frequency ff, 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 3,5,8,93, 5, 8, 9, the median is 5+82=6.5\dfrac{5+8}{2}=6.5.

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 20≤x<3020\le x<30 has mid-interval value 20+302=25\dfrac{20+30}{2}=25.

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 0≤x<100\le x<10, 10≤x<2010\le x<20 and 20≤x<3020\le x<30 with frequencies 44, 99 and 66 have modal class 10≤x<2010\le x<20.

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 2,3,4,5,62, 3, 4, 5, 6 have mean 44 and median 44; replacing 66 with 3636 gives mean 1010 but median still 44.

Worked examples

1
Easy
No calc
[2 marks]

Find the mean of 6,9,4,7,96, 9, 4, 7, 9.

Worked solution

6+9+4+7+9=35.6+9+4+7+9=35. M1
x¯=355=7.\bar x=\dfrac{35}{5}=7. A1

M1 Sum and divide A1 Correct Value
2
Medium
GDC
[4 marks]

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 =6(14)= 6(14) M1
Original total =84.= 84. A1
New total =7(15)=105.= 7(15) = 105. M1
Seventh number =105−84=21.= 105 - 84 = 21. A1On the GDC. Find the seventh number. The calculator shows about 21.

TI-84 Plus CE: 2nd mode then type 7*15-6*14 enterCasio fx-CG50: MENU Run-Matrix then type 7*15-6*14 EXECasio fx-CG100: HOME Calculate then type 7*15-6*14 EXETI-Nspire CX: home Calculator then type 7*15-6*14 enterFull GDC guide: Enter a calculation on the home screen Topic page

M1 Original total A1 Correct answer of 8484 M1 New total A1 Correct answer of 2121
3
Hard
No calc
[4 marks]

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 total=nx¯:\text{total}=n\bar x: 5×155\times15 M1
5×15=75.5\times15 = 75. A1

(b) Sixth number. The six values now total 6×16=96,6\times16=96, M1
the added value is 96−75=21.96-75=21. A1

M1 Using total =nx¯=n\bar x to get 5×155\times15 A1 Method and value M1 New total A1 Subtraction and value

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, xx in ∑fx/∑f\sum fx / \sum f 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 ÷\div count". When a mean is given and you need to recover a total or a missing value, multiply back up first (total=nx¯\text{total} = n\bar{x}) 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.

Show steps for:
One-variable statistics (mean, median, standard deviation)

Instant summary statistics from a list - no formulas to compute by hand.

  1. Enter the data into a list.
  2. STAT → Edit → type values into L1. Then STAT → CALC → 1:1-Var Stats, choose L1, Calculate.TI-84
  3. Add a Lists & Spreadsheet page, name a column and enter data; then a Calculator page → menu → Statistics → Stat Calculations → One-Variable Statistics.Nspire
  4. Statistics menu → enter data in List 1 → CALC (F2) → 1-VAR.Casio
  5. Read x¯\bar x (mean), SxS_x (sample sd) or σx\sigma_x (population sd), and the five-number summary (min, Q1Q_1, median, Q3Q_3, max).
  6. For frequency data, put values in one list and frequencies in another and set the frequency list.

Tip: SxS_x vs σx\sigma_x: use σx\sigma_x (population) for a complete data set, SxS_x (sample) for a sample. IB usually wants σx\sigma_x.

Build and manipulate lists

Lists let you store data sets, generate sequences, and compute statistics without re-entering values - essential for grouped data and frequency tables.

  1. Enter data manually: go to the list editor and type values one by one.
  2. 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
  3. 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
  4. 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
  5. 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 Σfx\Sigma fx 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: x¯≈∑fx∑f\bar{x} \approx \dfrac{\sum fx}{\sum f}. 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 88 have total 4040, so if four of them are 5,7,9,105, 7, 9, 10, the missing value is 40−31=940-31=9.

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, 2,2,5,5,72, 2, 5, 5, 7 has modes 22 and 55, and both should be stated.

Ready to practise properly?

26 central-tendency questions, marked instantly like the real exam.