Measures of Spread (AA HL)

Measures of spread describe how far data values are scattered around the centre. The standard deviation σ\sigma and the variance σ2\sigma^2 use every value, whereas the range and the interquartile range Q3−Q1Q_3-Q_1 depend only on a few. Standard deviation and variance are found with technology, and shifting or scaling every value changes them in predictable ways. It's part of the broader Descriptive Statistics topic.

11 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:

Variance and standard deviation

The variance formula below is in the formula booklet, though you're still expected to use your GDC's statistics mode to evaluate it in practice.

Variance

σ2=∑(x−x¯)2n=∑x2n−x¯2\sigma^2 = \dfrac{\sum(x-\bar x)^2}{n} = \dfrac{\sum x^2}{n} - \bar x^2

The second form is usually quicker by hand: find ∑x2\sum x^2 and x¯\bar x first, then subtract.

Standard deviation

σ=σ2\sigma = \sqrt{\sigma^2}

Adding a constant to every value leaves σ\sigma unchanged; multiplying every value by kk scales σ\sigma by |k||k|.

Key terms

What is the range of a data set?

The range is the largest value minus the smallest value. It is strongly affected by extreme values.

e.g. For the data 4,7,9,154, 7, 9, 15, the range is 15−4=1115-4=11.

What is the interquartile range?

The interquartile range is Q3−Q1Q_3-Q_1, the spread of the middle half of the data. It is not affected by extreme values.

e.g. If Q1=12Q_1=12 and Q3=20Q_3=20, the interquartile range is 20−12=820-12=8.

What does standard deviation measure?

It measures how far values typically lie from the mean, in the same units as the data. A larger standard deviation means more spread.

e.g. The values 5,5,5,55, 5, 5, 5 have standard deviation 00, whereas 1,3,7,91, 3, 7, 9 have mean 55 and standard deviation 10≈3.16\sqrt{10}\approx3.16.

How does variance change when every value is multiplied by a constant?

If every value is multiplied by kk, the standard deviation is multiplied by |k||k|, so the variance is multiplied by k2k^2.

e.g. Multiplying every value by 33 in a data set with standard deviation 44 gives standard deviation 1212 and variance 144144.

Worked examples

1
Medium
GDC
[5 marks]

The number of goals scored in 40 matches is shown.

Goals xx01234
Freq ff6141163

(a) Find the mean number of goals.

(b) Find the standard deviation.

Worked solution

(a) Mean. ∑f=40, ∑fx=0+14+22+18+12=66.\sum f = 40,\ \sum fx = 0+14+22+18+12 = 66. x¯=6640\bar x = \dfrac{66}{40} M1
x¯=1.65.\bar x = 1.65. A1

(b) Standard deviation. ∑fx2=160\sum fx^2 = 160; σ2=16040−1.652\sigma^2 = \dfrac{160}{40} - 1.65^2 M1
σ2=1.2775\sigma^2 = 1.2775 A1
σ≈1.13.\sigma \approx 1.13. A1On the GDC. (a) Find the mean of the data. (b) Find the standard deviation of the data.

TI-84 Plus CE: (a) stat 1:Edit ▲ clear enter L1 0,1,2,3,4 enter L2 frequencies 6,14,11,6,3 enter stat ▶ 1:1-Var Stats 2nd 1 FreqList 2nd 2 enter read mean Then (b) read σxCasio fx-CG50: (a) MENU Statistics F6 F4 F1 List 1 0,1,2,3,4 EXE List 2 frequencies 6,14,11,6,3 EXE F2 F6 1Var XList List 1, 1Var Freq List 2 EXIT F2 F1 read mean Then (b) read σxCasio fx-CG100: (a) HOME Statistics List 1 0,1,2,3,4 EXE List 2 frequencies 6,14,11,6,3 EXE Setup tab Calculate Summary Statistics 1-Variable 1Var Freq: list 2 Execute OK read mean Then (b) read σxTI-Nspire CX: (a) Calculator page, type OneVar {0,1,2,3,4},{6,14,11,6,3} enter read mean Then (b) read σxFull GDC guide: One-variable statistics Topic page

M1 ∑fx∑f\tfrac{\sum fx}{\sum f} A1 x¯=1.65\bar x=1.65 M1 Variance formula A1 Variance A1 Correct answer of ≈1.13\approx1.13
2
Medium
No calc
[4 marks]

A data set has mean 2020 and standard deviation 4.4. Each value is increased by 5.5.

(a) State the new mean.

(b) State the new standard deviation.

Worked solution

(a) Adding a constant shifts every value: the mean increases by 5 to 25.25. M1
25.25. A1

(b) The standard deviation is unchanged: 4.4. M1
4.4. A1

M1 Mean shifts A1 Correct answer of 2525 M1 Sd unchanged by a shift A1 Correct answer of 44
3
Hard
GDC
[5 marks]

For 10 values, ∑x=150\sum x=150 and ∑x2=2410.\sum x^2=2410. Find the variance.

Worked solution

x¯=15010\bar x = \dfrac{150}{10} M1
x¯=15.\bar x = 15. A1
Variance =∑x2n−x¯2=241010−225= \dfrac{\sum x^2}{n} - \bar x^2 = \dfrac{2410}{10} - 225 M1
Variance =241−225= 241 - 225 A1
Variance =16.= 16. A1On the GDC. Find the variance. The calculator shows about 16.

TI-84 Plus CE: 2nd mode then type 2410/10-(150/10)^2 enterCasio fx-CG50: MENU Run-Matrix then type 2410/10-(150/10)^2 EXECasio fx-CG100: HOME Calculate then type 2410/10-(150/10)^2 EXETI-Nspire CX: home Calculator then type 2410/10-(150/10)^2 enterFull GDC guide: Enter a calculation on the home screen Topic page

M1 Mean A1 Correct answer of 1515 M1 Variance formula A1 241−225241-225 A1 Correct answer of 1616

Common mistakes

  • Forgetting to subtract x¯2\bar x^2. Variance is ∑x2n−x¯2\dfrac{\sum x^2}{n} - \bar x^2, not just ∑x2n\dfrac{\sum x^2}{n} - dropping the second term gives a much too large answer.
  • Applying a shift and a scale the same way. Adding a constant to every value leaves the standard deviation alone, but multiplying every value by kk scales it by |k||k| - these two effects are easy to mix up under pressure.
  • Skipping the frequency weighting. With grouped data, both ∑fx\sum fx and ∑fx2\sum fx^2 need the frequency ff built in - using raw xx values without their weights silently corrupts the mean and variance.

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 variance and standard deviation?

Variance is σ2=∑(x−x¯)2n\sigma^2 = \dfrac{\sum(x-\bar x)^2}{n}, equivalent to ∑x2n−x¯2\dfrac{\sum x^2}{n} - \bar x^2. Standard deviation is σ=σ2\sigma = \sqrt{\sigma^2}.

What happens to the standard deviation if a constant is added to every value?

Adding a constant shifts the mean by that amount but leaves the standard deviation unchanged, since the spread of the data hasn't changed. Multiplying every value by a constant kk scales the standard deviation by |k||k|.

Which measure of spread should I use when there are outliers?

Use the interquartile range, because it ignores extreme values. The range and the standard deviation are both strongly affected by outliers.

Can a standard deviation be negative?

No. It is the square root of the variance, which is an average of squares, so it is never negative. It equals 00 only when every value is the same.

What does a larger standard deviation tell me when comparing two data sets?

The values in that set are more spread out around their mean. Always state the comparison in the context of the question.

Ready to practise properly?

11 measures-of-spread questions, marked instantly like the real exam. Not sure how your GDC handles frequency data? Check the parent topic's GDC guidance.