Measures of Central Tendency (AA HL)

The mean, median and mode are three ways of describing a typical value. The mean is x¯=∑fx∑f\bar x=\dfrac{\sum fx}{\sum f}, the median is the middle value of the ordered data, and the mode is the most frequent value. Questions often involve weighted values, combined groups, grouped data using midpoints, or a missing frequency or value. It's part of the broader Descriptive Statistics topic.

17 questions on this sub-topic.

Syllabus

CodeSyllabus content
SL4.3Measures of central tendency (mean, median, mode), including estimating the mean of grouped data from midpoints. Measures of dispersion (IQR, standard deviation, variance). The effect of constant changes (adding a constant, scaling) on the mean and standard deviation. Quartiles of discrete data, found using technology.

Official IB source: Mathematics: analysis and approaches subject brief (PDF, ibo.org).

Skills practised on this page:

The mean, weighted and combined

The mean formula x¯=∑fx∑f\bar x=\dfrac{\sum fx}{\sum f} is in the formula booklet; the combined-mean formula for merging two groups isn't - it's built from first principles.

Mean of raw or grouped data

x¯=∑fx∑f\bar x = \dfrac{\sum fx}{\sum f}

For raw data every frequency is 11, so this reduces to x¯=∑xn\bar x = \tfrac{\sum x}{n}. For grouped data, xx is the midpoint of each class.

Combined mean of two groups

x¯combined=n1x¯1+n2x¯2n1+n2\bar x_{\text{combined}} = \dfrac{n_1\bar x_1 + n_2\bar x_2}{n_1 + n_2}

Each group's total contributes to a shared grand total before dividing by the combined size.

Key terms

What is the median?

The median is the middle value of the ordered data. If there is an even number of values, it is the mean of the two middle values.

e.g. For 3,5,8,103, 5, 8, 10, the median is 5+82=6.5\dfrac{5+8}{2}=6.5.

What is the mode?

The mode is the value that occurs most often. For grouped data, the class with the highest frequency is called the modal class.

e.g. In 2,3,3,3,5,72, 3, 3, 3, 5, 7, the mode is 33.

What is the midpoint of a class?

The midpoint is the value halfway between the ends of a class interval. It stands in for every value in the class, so a mean from grouped data is only an estimate.

e.g. The class 10≤x<2010\le x<20 has midpoint 1515.

What is a weighted mean?

A weighted mean multiplies each value by its weight, adds the results, and divides by the total of the weights.

e.g. A mark of 7070 with weight 22 and a mark of 9090 with weight 33 give 140+2705=82\dfrac{140+270}{5}=82.

Worked examples

1
Easy
GDC
[4 marks]

A course grade weights coursework 30% and the exam 70%. A student scores 80 on coursework and 65 on the exam.

Find the overall grade.

Worked solution

Overall =0.30(80)+0.70(65)= 0.30(80) + 0.70(65) M1
Overall =24= 24 A1
+45.5+ 45.5 M1
giving 69.5.69.5. A1On the GDC. Find the overall grade. The calculator shows about 69.5.

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

M1 Weighted mean A1 Coursework part M1 Exam part A1 Correct answer of 69.569.5
2
Hard
GDC
[4 marks]

Group A has 15 values with mean 20. Group B has 25 values with mean 28.

(a) Find the combined mean of all 40 values.

(b) Group A is found to have an extra value omitted; recompute the mean of A if a value of 52 is added to it.

Worked solution

(a) Combined mean. Total =15(20)+25(28)=1000= 15(20) + 25(28) = 1000; M1
mean =100040=25.= \dfrac{1000}{40} = 25. A1

(b) New mean of A. New total =300+52=352= 300 + 52 = 352 over 16 values; M1
mean =35216= \dfrac{352}{16} A1
mean =22.= 22.On the GDC. (a) Find the combined mean of all 40 values. (b) Find the mean of A after the value 52 is added.

TI-84 Plus CE: (a) 2nd mode then type (15*20+25*28)/40 enter Then (b) 2nd mode then type (15*20+52)/(15+1) enterCasio fx-CG50: (a) MENU Run-Matrix then type (15*20+25*28)/40 EXE Then (b) MENU Run-Matrix then type (15*20+52)/(15+1) EXECasio fx-CG100: (a) HOME Calculate then type (15*20+25*28)/40 EXE Then (b) HOME Calculate then type (15*20+52)/(15+1) EXETI-Nspire CX: (a) home Calculator then type (15*20+25*28)/40 enter Then (b) home Calculator then type (15*20+52)/(15+1) enterFull GDC guide: Enter a calculation on the home screen Topic page

M1 Weighted total A1 Correct answer of 2525 M1 Add value, new nn A1 Calculate the new mean
3
Medium
GDC
[4 marks]

The values 2,4,6,82,4,6,8 have frequencies 5,k,7,45, k, 7, 4. The mean is 5.

(a) Form an equation in kk.

(b) Find kk.

Worked solution

(a) 2(5)+4k+6(7)+8(4)5+k+7+4=5⇒84+4k16+k\dfrac{2(5) + 4k + 6(7) + 8(4)}{5 + k + 7 + 4} = 5 \Rightarrow \dfrac{84 + 4k}{16 + k} M1
84+4k16+k=5.\dfrac{84 + 4k}{16 + k} = 5. A1

(b) 84+4k=80+5k84 + 4k = 80 + 5k M1
⇒k=4.\Rightarrow k = 4. A1On the GDC. Solve (2×5+4×x+6×7+8×4)/(5+x+7+4)=5(2\times 5+4\times x+6\times 7+8\times 4)/(5+x+7+4)=5 for the solution near x=1x=1. The calculator shows about 4. The calculator steps below are for (b).

TI-84 Plus CE: math ▲ C:Numeric Solver E1 (2*5+4*x+6*7+8*4)/(5+x+7+4) E2 5 OK, X = 1 alpha enterCasio fx-CG50: MENU Equation F3 type (2*5+4*x+6*7+8*4)/(5+x+7+4)=5 EXE X = 1 EXE ▲ F6Casio fx-CG100: HOME Equation Type tab Solver OK Eq line (2*5+4*x+6*7+8*4)/(5+x+7+4)=5 OK start estimate 1 Execute OKTI-Nspire CX: menu Algebra Numerical Solve (2*5+4*x+6*7+8*4)/(5+x+7+4)=5,x=1 enterFull GDC guide: Solve an equation numerically Topic page

M1 Set mean =5=5 A1 Equation in kk M1 Cross-multiply A1 k=4k=4

Common mistakes

  • Averaging the two group means directly. The combined mean isn't x¯1+x¯22\tfrac{\bar x_1 + \bar x_2}{2} unless the groups happen to be the same size - you need to weight by n1n_1 and n2n_2 first.
  • Using the class boundary instead of the midpoint. Estimating the mean of grouped data needs the midpoint of each class interval, not its lower or upper boundary.
  • Losing track of an updated total when a value changes. If a value is added or corrected after the mean was first found, recompute the total from scratch rather than adjusting the old mean by eye.

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, e.g. seq(X², X, 1, 10). 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 (e.g. = seq(x², x, 1, 10)) 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.
  6. To sort a list ascending: SortA(L1).TI-84
  7. To sort a list ascending: menu → List → Sort Ascending.Nspire

Tip: For cumulative frequency or working out ∑fx\sum 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 formula for the mean of grouped data?

The mean of grouped or frequency data is x¯=∑fx∑f\bar x = \dfrac{\sum fx}{\sum f}, where xx is each value or midpoint and ff is its frequency.

How do you find a missing frequency if you're given the mean?

Write the mean formula ∑fx∑f=\dfrac{\sum fx}{\sum f} = the given mean with the unknown frequency as a variable, then cross-multiply and solve the resulting linear equation.

How do I find the combined mean of two groups?

Add the two totals, then divide by the total number of values. Ten values with mean 66 and thirty values with mean 1010 give 60+30040=9\dfrac{60+300}{40}=9, not the average of the two means.

How do I find a missing data value when I know the mean?

The total is the mean times the number of values; subtract the known values from it. If five values have mean 88 and four of them are 6,7,9,106, 7, 9, 10, the total is 4040 and the missing value is 40−32=840-32=8.

Which average is best when the data has an extreme value?

The median is usually best, because an extreme value pulls the mean towards it but hardly changes the median.

Ready to practise properly?

17 central-tendency questions, marked instantly like the real exam. Need a calculator refresher first? See the parent topic's GDC guidance.