Skip to content
IB Diploma ProgrammeSL & HL

Summary statistics

Mathematics: Analysis and Approaches SL & HL Chapter Notes

Last updated November 2026

ShareWhatsAppPost

Summary statistics notes as a printable PDF.

Read online free. Download a watermarked copy with a free account.

Read the notes

The full Summary statistics notes as text: skim, search, and jump between subtopics.

~14 min read

1. Mean, median and mode

The mean, median and mode are the measures of central tendency. The mean is the sum of the data divided by the number of items. The mode is the most frequent value.

The median is the middle value of the ordered data. Sort first. With an odd number of items it is the item at position (n+1)/2. With an even number of items it is the mean of the two middle values.

Show which items you average. The markscheme gives a mark for recognising where the median lies.

barx = (sum x)/n

median position = (n+1)/2

Worked example 13 marks

Consider a sequence of ten rectangular picture frames F₁, F₂, …, F₉, F₁₀.

Picture frame F₁ has width 4 cm and height 5 cm.

The width and height of picture frame Fn, are each increased by 50% to generate the width and height of the next picture frame Fn₊₁, for n ∈ Z⁺, 1 ≤ n ≤ 9. The area of picture frame Fn is 20(9/4)ⁿ⁻¹ cm².

(b) Find the median area of the ten picture frames, giving your answer in the form q(9/4)⁴ cm², where q ∈ Q⁺.

  1. 1

    The areas increase with n, so they are already in order. Recognition that the median is between the 5th and 6th picture frame (M1) [1]

  2. 2

    median area = (20(9/4)⁴ + 20(9/4)⁵)/2 (A1) [1]

  3. 3

    = (20(9/4)⁴(1 + 9/4))/2 = 65/2(9/4)⁴ cm², so q = 65/2 A1 [1]

2. Estimating the mean from grouped data

Grouped data gives classes, not exact values. To estimate the mean, use the mid-interval value of each class. Add the two ends of the class and halve.

Multiply each mid-interval value by its frequency. Add the products. Divide by the total frequency.

The answer is an estimate because the true values inside each class are not known. Round only at the end, to the number of significant figures the question asks for.

x = (lower end + upper end)/2

barx ≈ (sum f x)/(sum f)

Worked example 13 marks

A group of 52 students have their heights measured in cm. The heights are given in the following frequency table.

(b)(ii) Use the frequency table to find an estimate of the mean height, giving your answer to four significant figures.

Height (h cm)Frequency
155 ≤ h < 1603
160 ≤ h < 1658
165 ≤ h < 17014
170 ≤ h < 17517
175 ≤ h < 18010
  1. 1

    attempt to use midpoints: 157.5, 162.5, 167.5, 172.5, 177.5 (M1) [1]

  2. 2

    attempt to multiply their values by frequencies and add: 3(157.5) + 8(162.5) + 14(167.5) + 17(172.5) + 10(177.5) = 8825 (M1) [1]

  3. 3

    estimate of mean = 8825/52 = 169.711… = 169.7 cm to 4 significant figures A1 [1]

4. Quartiles, interquartile range and outliers

Quartiles split ordered data into four equal parts. A quarter of the data lies below the lower quartile Q₁. The median is Q₂. A quarter of the data lies above the upper quartile Q₃.

The interquartile range is Q₃ - Q₁. It measures the spread of the middle half of the data. Use technology to find quartiles of discrete data. Different methods exist, so a value found by hand may differ from the technology's value.

In a box and whisker diagram the box runs from Q₁ to Q₃ and the line in the box is the median. The whiskers reach to the lowest and highest values. An outlier is a value less than Q₁ - 1.5 × IQR or greater than Q₃ + 1.5 × IQR. A value equal to a limit is not an outlier.

IQR = Q₃ - Q₁

lower limit = Q₁ - 1.5 × IQR

upper limit = Q₃ + 1.5 × IQR

Worked example 14 marks

A group of 60 students was surveyed. Each student was asked how much allowance, in Singapore dollars (textdollar), they received per week.

The results of the survey are summarized in the following box and whisker diagram.

(b) State the median.

The interquartile range is textdollar24.

(c) Write down the value of a.

An outlier is a value that is less than Q₁ - 1.5 × IQR or greater than Q₃ + 1.5 × IQR.

(d) Determine the smallest possible allowance, from the sample, that is not an outlier.

  1. 1

    (b) 80, the line inside the box A1 [1]

  2. 2

    (c) a = Q₃ = Q₁ + IQR = 66 + 24 = 90 A1 [1]

  3. 3

    (d) attempt to use outlier formula: Q₁ - 1.5 × IQR = 66 - 1.5 × 24 = 30 (M1) [1]

  4. 4

    30 is not less than 30, so it is not an outlier: smallest amount is textdollar30 A1 [1]

5. Standard deviation and variance

The standard deviation measures how far the data are spread about the mean. A larger value means more spread. The variance is the square of the standard deviation.

Find both with technology: enter the data, run one-variable statistics and read σ.

By hand: square each deviation from the mean, take the mean of the squares, then the square root. The standard deviation has the units of the data; the variance has squared units.

σ = √((sum (x - barx)²)/n)

variance = σ²

Worked example 14 marks

Do not use a calculator. The data set is 2, 4, 4, 4, 5, 5, 7, 9.

(a) Find the mean.

(b) Calculate the variance.

(c) Hence write down the standard deviation.

  1. 1

    (a) barx = (2 + 4 + 4 + 4 + 5 + 5 + 7 + 9)/8 = 40/8 = 5 (A1) [1]

  2. 2

    (b) attempt to square each deviation from the mean: 9 + 1 + 1 + 1 + 0 + 0 + 4 + 16 = 32 (M1) [1]

  3. 3

    variance = 32/8 = 4 (A1) [1]

  4. 4

    (c) standard deviation = √4 = 2 (A1) [1]

6. Effect of constant changes on the data

A constant change to every data item changes the summary statistics in a fixed way.

Adding or subtracting a constant moves every item and the mean by that amount. The spread does not change, so the standard deviation is unchanged.

Multiplying every item by a positive constant multiplies the mean and the standard deviation by that constant. The variance is the square of the standard deviation, so it is multiplied by the square of the constant.

x → x + k: barx → barx + k, σ → σ

x → kx (k > 0): barx → kbarx, σ → kσ, σ² → k²σ²

Worked example 14 marks

The marks in a test have mean 56 and standard deviation 8.

(a) Every mark is increased by 4. Write down the new mean and the new standard deviation.

(b) The new marks are then doubled. Write down the mean and the standard deviation of the doubled marks.

  1. 1

    (a) adding 4 to every mark adds 4 to the mean: 56 + 4 = 60 (A1) [1]

  2. 2

    adding a constant leaves the spread unchanged, so the standard deviation is unchanged: 8 (A1) [1]

  3. 3

    (b) doubling doubles the mean: 2 × 60 = 120 (A1) [1]

  4. 4

    doubling doubles the standard deviation: 2 × 8 = 16 (A1) [1]

Recap

  • Mean = (sum x)/n. Median: the middle of the ordered data, or the mean of the two middle items. Mode: the most frequent value.
  • Grouped mean: use mid-interval values, (sum f x)/(sum f). It is an estimate.
  • Modal class: the interval with the highest frequency, for equal class widths. Give the interval, not the frequency.
  • IQR = Q₃ - Q₁. Use technology for quartiles. A hand value may differ.
  • Outlier: less than Q₁ - 1.5 × IQR or greater than Q₃ + 1.5 × IQR. A value on the limit is not an outlier.
  • Variance is the square of the standard deviation. Find both with technology.
  • Add k: mean + k, standard deviation unchanged. Multiply by k: mean × k, standard deviation × k, variance × k².
  • Show working. A correct answer with no method may earn no marks.

End-of-chapter exercise

Test yourself on the whole chapter. Work through these before moving on.

  1. State the median of 7, 2, 9, 4, 5.1 mark
    Answer
    1. ordered: 2, 4, 5, 7, 9, so the median is 5 (A1)

    Trap: The median is the middle of the ordered data. Taking the middle of the list as written gives 9.

  2. Do not use a calculator. The mean of five numbers is 9. Four of the numbers are 5, 9, 12 and 6. Find the fifth number.2 marks
    Answer
    1. total = 5 × 9 = 45 (M1)
    2. fifth number = 45 - (5 + 9 + 12 + 6) = 45 - 32 = 13 (A1)

    Trap: The mean is not a data item. Multiply by the number of items first to get the total.

  3. Do not use a calculator. (a) A data set has standard deviation 4.5. State its variance. (b) A second data set has variance 49. State its standard deviation.2 marks
    Answer
    1. (a)
    2. 4.5² = 20.25 (A1)
    3. (b)
    4. √49 = 7 (A1)

    Trap: Variance is the square of the standard deviation. Doubling 4.5 gives 9, which is a different quantity.

  4. The ages, in years, of six members of a club are 14, 15, 15, 16, 18, 20. (a) State the mode. (b) Find the median age.3 marks
    Answer
    1. (a)
    2. mode = 15 (A1)
    3. (b)
    4. the median is between the 3rd and 4th ages (M1)
    5. (15 + 16)/2 = 15.5 years (A1)

    Trap: With an even number of items there is no single middle item. The median is the mean of the two middle values, not the 3rd or the 4th.

  5. Do not use a calculator. The mean mark of 25 students is 64. One mark, 83, was entered as 38 by mistake. Find the correct mean mark.3 marks
    Answer
    1. total entered = 25 × 64 = 1600 (M1)
    2. correct total = 1600 - 38 + 83 = 1645 (A1)
    3. correct mean = 1645/25 = 65.8 (A1)

    Trap: Correct the total, then divide by 25 again. Adding the error of 45 to the mean gives 109, which is not possible for marks near 64.

  6. A set of data has lower quartile 14, upper quartile 23, minimum 6 and maximum 41. (a) Write down the interquartile range. (b) Determine whether 41 is an outlier.3 marks
    Answer
    1. (a)
    2. IQR = 23 - 14 = 9 (A1)
    3. (b)
    4. upper limit = Q₃ + 1.5 × IQR = 23 + 1.5 × 9 = 36.5 (M1)
    5. 41 > 36.5, so 41 is an outlier (A1)

    Trap: Use the interquartile range in the outlier rule. Using the range, 35, gives a limit of 75.5 and the wrong conclusion.

  7. Do not use a calculator. The time, t minutes, that each of 20 students spent on homework is recorded. (a) State the modal class. (b) Estimate the mean time. | Time (t minutes) | Number of students | | --- | --- | | 0 ≤ t < 10 | 4 | | 10 ≤ t < 20 | 9 | | 20 ≤ t < 30 | 5 | | 30 ≤ t < 40 | 2 |4 marks
    Answer
    1. (a)
    2. the highest frequency is 9, so the modal class is 10 ≤ t < 20 (A1)
    3. (b)
    4. mid-interval values 5, 15, 25, 35 (M1)
    5. 4 × 5 + 9 × 15 + 5 × 25 + 2 × 35 = 350 (M1)
    6. 350/20 = 17.5 minutes (A1)

    Trap: The modal class is the interval, not the frequency 9. The mean uses mid-interval values, not the lower ends of the classes.

  8. Do not use a calculator. Four numbers are 3, 5, 7, 9. Calculate the variance, and write down the exact standard deviation.4 marks
    Answer
    1. mean = (3 + 5 + 7 + 9)/4 = 6 (A1)
    2. squared deviations: 9 + 1 + 1 + 9 = 20 (M1)
    3. variance = 20/4 = 5 (A1)
    4. standard deviation = √5 (A1)

    Trap: Stopping at 5 gives the variance, not the standard deviation. Square root last, and leave it exact when the question says exact.

  9. Do not use a calculator. Two weather stations record the midday temperature for 30 days. At station A the temperatures have mean 15 °C and standard deviation 4 °C. At station B they have mean 68 °F and variance 48.6. A temperature of C °C is 1.8C + 32 °F. (a) Find the mean temperature at station A in °F. (b) Determine which station's temperatures are more spread out. Justify your answer.5 marks
    Answer
    1. (a)
    2. 1.8 × 15 + 32 (M1)
    3. = 59 °F A1
    4. (b)
    5. standard deviation at A = 1.8 × 4 = 7.2 °F; adding 32 does not change it (M1)
    6. variance at A = 7.2² = 51.84 A1
    7. 51.84 > 48.6, so station A's temperatures are more spread out R1

    Trap: Variance is multiplied by 1.8², not 1.8: 16 × 1.8 = 28.8 is less than 48.6 and gives the wrong station.

  10. Do not use a calculator. A ferry company records the number of passengers on each of its 40 crossings in one week. The lower quartile is 120 and the upper quartile is 156. An outlier is a value less than Q₁ - 1.5 × IQR or greater than Q₃ + 1.5 × IQR. (a) Determine the smallest number of passengers on a crossing that would be an outlier. Each passenger pays a fare of 15 euros. (b) Write down the lower quartile and the interquartile range of the fare incomes from the crossings. (c) Determine the smallest fare income from a crossing that would be an outlier.7 marks
    Answer
    1. (a)
    2. IQR = 156 - 120 = 36 A1
    3. upper limit = 156 + 1.5 × 36 = 210 (M1)
    4. 210 is not greater than 210, and passenger numbers are whole, so 211 passengers A1
    5. (b)
    6. every income is 15 times a passenger number, so Q₁ = 15 × 120 = 1800 euros A1
    7. IQR = 15 × 36 = 540 euros A1
    8. (c)
    9. upper limit = 15 × 156 + 1.5 × 540 = 2340 + 810 = 3150 (M1)
    10. an income is 15 times a whole number, so the smallest outlier is 15 × 211 = 3165 euros A1

    Trap: A value on the limit is not an outlier, and the answer must be a value the data can take: 210 passengers and 3151 euros both lose the final mark.

Say this, not that

Wording that loses the mark, against the wording the mark scheme credits.

Loses the markGets the mark
Smallest allowance that is not an outlier is textdollar31, or 30 is an outliertextdollar30. An outlier is less than Q₁ - 1.5 × IQR, so 30 itself is not an outlier
Estimate of the mean height is 170 cm169.7 cm. The question asks for 4 significant figures
The median of ten areas is the 5th areaThe median is between the 5th and 6th areas: their mean, 65/2(9/4)⁴

Frequently asked questions

What is the difference between the mean, median and mode?
The mean is the sum of the data divided by the number of items. The median is the middle value of the ordered data, and the mode is the most frequent value. A data set can have a mode, but the median is found only after the data are sorted. Show which items you average, since the markscheme gives a mark for recognising where the median lies.
How do you estimate the mean from a grouped frequency table?
Use the mid-interval value of each class, found by adding the two ends and halving. Multiply each mid-interval value by its frequency, add the products, and divide by the total frequency: barx ≈ (sum f x)/(sum f). In the note's example, 8825 ÷ 52 = 169.7 cm to 4 significant figures. The answer is an estimate because the true values are not known.
What is the modal class, and why can't I give the mode of grouped data?
The modal class is the class with the highest frequency, and it is given as an interval such as 4 ≤ t < 6. Do not give the frequency or a single value. Grouped data has lost its exact values, so the mode itself cannot be found, only the modal class. The syllabus limits this to classes of equal width.
How do you calculate the standard deviation and the variance?
The standard deviation is σ = √((sum (x - barx)²)/n), and the variance is σ². Square each deviation from the mean, take the mean of the squares, then the square root. For 2, 4, 4, 4, 5, 5, 7, 9 the mean is 5, the variance is 4 and the standard deviation is 2. Find both with technology where allowed.
How does adding or multiplying every data value change the mean and standard deviation?
Adding a constant k adds k to the mean, and the standard deviation is unchanged, because the spread does not change. Multiplying every item by a positive constant k multiplies the mean and the standard deviation by k, and the variance by k². For example, a mean of 56 and standard deviation of 8 become a mean of 120 and a standard deviation of 16 after adding 4 and doubling.
Why is the median of ten values not the fifth value?
With an even number of items there is no single middle item. The median lies between the 5th and 6th values, so it is the mean of those two values. The note's example gives (20(9/4)⁴ + 20(9/4)⁵)/2 = 65/2(9/4)⁴ cm². Taking the 5th value alone is the common mistake.

Free notes are just the start.

Unlock every Workbook and Chapter at a Glance, and generate your own worksheets and predicted papers.

Explore plans

Related chapters