LC Ordinary Maths

Statistics and probability · Chapter 40

Averages, spread and grouped data

Clear notes, 5 worked examples and 2 questions to try.

01 · Understand the idea

The essentials

Key terms

Mean
The total shared equally across all observations.
Median
The middle of the ordered data.
Mode
The most frequent value.
Range
The largest value minus the smallest value.

Key ideas

  • The mean is sum of valuesnumber of values\displaystyle \frac{\text{sum of values}}{\text{number of values}}. For frequencies, use ∑fx∑f\displaystyle \frac{\sum fx}{\sum f}.
  • Find the median after ordering the data. With an even number of values, average the two middle values.
  • The mode is the most frequent value; data can have more than one mode or none. The range is maximum minus minimum.
  • An outlier can change the mean strongly. The median is often more useful for very skewed data.
  • For grouped data, use class midpoints to estimate the mean. It is an estimate because the individual values are not known.
  • Quartiles split ordered data into four parts. The interquartile range is the upper quartile minus the lower quartile. State your convention if asked to calculate quartiles.

03 · Follow the working

Worked examples

Read the question first. Cover the working and decide what you would do next.

01Mean, median, mode and range

The data set is 5,18,6,8,18\displaystyle 5 , 18 , 6 , 8 , 18. Find the mean.

Why this method? For a mean, add and count. Ordering is needed for the median, but it is not needed to calculate this mean.

  1. 5+18+6+8+18=55\displaystyle 5+18+6+8+18=55
    Why?Add every value, including the repeated 18\displaystyle 18.
  2. Number of values =5\displaystyle = 5.
    Why?Count observations, including repeats. There are five values, not four different values.
  3. mean=555\displaystyle \text{mean}=\frac{55}{5}
    Why?The mean shares the total equally among the five observations.
  4. mean=11\displaystyle \text{mean}=11
    Why?Divide 55\displaystyle 55 by 5\displaystyle 5. The mean lies between the smallest and largest values.

Think about it: Before moving on: which of these four measures is not an average, and why?

02Reading a stem-and-leaf plot

Using the stem-and-leaf plot, what is the range of the data?

Stem-and-leaf plot. Key: 2 | 1 means 21.
StemLeaves
11 1 7
21 4 6
33 3 5 7 8

Why this method? Identify the measure requested. Order values for a median; add and count for a mean; use the extremes for a range.

  1. 11\displaystyle 11 and 38\displaystyle 38
    Why?Find the smallest and largest values
  2. 38−11=27\displaystyle 38 - 11 = 27
    Why?Subtract the smallest from the largest

Think about it: Before moving on: which value is the smallest, and how do you read it from the plot?

03Mean from grouped data

Intervals 0−<10,10−<20\displaystyle 0 - < 10 , 10 - < 20 and 20−<30\displaystyle 20 - < 30 have frequencies 2,5\displaystyle 2 , 5 and 3\displaystyle 3. Estimate the mean.

Why this method? Identify the measure requested. Order values for a median; add and count for a mean; use the extremes for a range.

  1. 5,15\displaystyle 5 , 15 and 25\displaystyle 25.
    Why?The individual values are unknown. Use the middle of each class as a representative value, so the final mean will be an estimate.
  2. ∑fx=2(5)+5(15)+3(25)=160\displaystyle \sum fx=2(5)+5(15)+3(25)=160
    Why?Multiply each representative value by its frequency because it stands for that many observations.
  3. xˉ≈16010=16\displaystyle \bar x\approx\frac{160}{10}=16
    Why?Divide by the number of observations, not the number of classes, to share the total equally.
  4. This is an estimate because each class is represented by its midpoint.
    Why?State why this is an estimate: we used a midpoint to represent all the unknown individual values in each class.
04Quartiles and interquartile range

Find the quartiles and IQR of 1,2,3,4,5,6,7,8\displaystyle 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8.

Why this method? Read the requested quantity, choose the matching rule and follow the reason beside each line.

  1. Q1=2+32=2.5\displaystyle Q_1=\frac{2+3}{2}=2.5
    Why?The lower half is 1,2,3,4\displaystyle 1 , 2 , 3 , 4. Its median is halfway between 2\displaystyle 2 and 3\displaystyle 3.
  2. Q2=4+52=4.5\displaystyle Q_2=\frac{4+5}{2}=4.5
    Why?The overall median is halfway between the two middle values.
  3. Q3=6+72=6.5\displaystyle Q_3=\frac{6+7}{2}=6.5
    Why?The upper half is 5,6,7,8\displaystyle 5 , 6 , 7 , 8. Find its median.
  4. IQR=6.5−2.5=4\displaystyle \text{IQR}=6.5-2.5=4
    Why?Subtract the lower quartile from the upper quartile.
05Compare spread using the IQR

Find the interquartile range of 2,3,5,7,8,11,13,19\displaystyle 2 , 3 , 5 , 7 , 8 , 11 , 13 , 19.

Why this method?

  1. Q1=3+52=4\displaystyle Q_1=\frac{3+5}{2}=4
    Why?Find the median of the lower four values.
  2. Q3=11+132=12\displaystyle Q_3=\frac{11+13}{2}=12
    Why?Find the median of the upper four values.
  3. IQR =12−4=8\displaystyle = 12 - 4 = 8
    Final stepThe IQR describes the width of the middle half.

Common mistake

Finding the middle value before sorting the data. In 8,2,5\displaystyle 8,2,5, the median is 5\displaystyle 5 after ordering as 2,5,8\displaystyle 2,5,8; it is not the middle entry 2\displaystyle 2 in the original list.

Exam technique

State whether a calculated mean is exact or estimated from grouped data.

Show your method, use units where appropriate and check whether the question asks for an exact or rounded answer.

04 · Try it yourself

Self-check questions

Work on paper first, then open the answer. These are practice questions, not submitted homework.

Question 1

The data set is 2,5,5,9,14\displaystyle 2 , 5 , 5 , 9 , 14. Find the median.

Show answer & check
5\displaystyle 5

Compare your result with the answer. If it differs, revisit a worked example and check each step.

Question 2

Using the same stem-and-leaf plot, how many values are 25\displaystyle 25 or more?

Stem-and-leaf plot. Key: 2 | 1 means 21.
StemLeaves
11 1 7
21 4 6
33 3 5 7 8
Show answer & check
6\displaystyle 6

Compare your result with the answer. If it differs, revisit a worked example and check each step.

Watch an explanation

Videos for this chapter

Choose one explanation, pause to work an example, then return to the notes. All Maths videos →

Classroom resources

Open slides & animated PowerPoint →
Open full-size image ↗
Enlarged maths diagram