Junior Cycle Maths

Statistics and probability · Chapter 36

Averages, spread and grouped data

Clear notes, 5 worked examples and 3 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.

03 · Follow the working

Worked examples

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

New step-by-step examples

Mean, median, mode and range

Find the mean, median, mode and range of 4, 5, 5, 7, 9.

Mean=4+5+5+7+95=6\text{Mean}=\dfrac{4+5+5+7+9}{5}=6

Add the values, then divide by how many there are.

Median=5\text{Median}=5

The ordered list has 5 values, so take the third.

Mode=5\text{Mode}=5

5 occurs most often.

Range=9−4=5\text{Range}=9-4=5

Subtract the smallest value from the largest.

Final answer6,5,5,56,\quad 5,\quad 5,\quad 5

Find the median of 2, 4, 7, 9.

4+72=112\dfrac{4+7}{2}=\dfrac{11}{2}

With an even number of values, average the two middle values.

Final answer5.55.5
Mean from a frequency table
Value x123Total
Frequency f25310
Product fx210921

Find the mean of the values in the table.

∑f=10\sum f = 10

There are 10 observations, not 3.

∑fx=21\sum fx=21

Add the products in the last row.

xˉ=∑fx∑f=2110\bar{x}=\dfrac{\sum fx}{\sum f}=\dfrac{21}{10}

Divide the sum of products by the total frequency.

Final answerxˉ=2.1\bar{x}=2.1
Estimated mean from grouped data
Time (min)FrequencyMidpointProduct
0 to under 102510
10 to under 2031545
20 to under 3012525

Estimate the mean time.

∑f=2+3+1=6\sum f=2+3+1=6

Count the observations.

∑fx=10+45+25=80\sum fx=10+45+25=80

Add the midpoint × frequency products.

xˉ≈806\bar{x}\approx\dfrac{80}{6}

Divide by the total frequency. It is an estimate because the actual times are unknown.

Final answerxˉ≈13.3 min\bar{x}\approx13.3\ \text{min}
Comparing centre and spread

Compare A: 4, 5, 6 and B: 1, 5, 9.

Median of A=Median of B=5\text{Median of A} = \text{Median of B} = 5

Both groups have the same middle value.

Range of A=6−4=2\text{Range of A}=6-4=2

Subtract the smallest value from the largest.

Range of B=9−1=8\text{Range of B}=9-1=8

The larger range means the values in B span a wider interval.

Final answerA is less spread out by range.\text{A is less spread out by range.}
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.
04Mean from a grouped frequency table

A frequency table has classes with midpoints 5,15\displaystyle 5 , 15 and 25,\displaystyle 25 , with frequencies 3,1\displaystyle 3 , 1 and 1\displaystyle 1. 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. 3×5+1×15+1×25=55\displaystyle 3 \times 5 + 1 \times 15 + 1 \times 25 = 55
    Why?Multiply each midpoint by its frequency and add
  2. 55÷5=11\displaystyle 55 \div 5 = 11
    Why?Divide by the number of observations, not the number of classes, to share the total equally.

Think about it: Before moving on: why are the frequencies used as weights rather than averaging the midpoints directly?

05Mean from a grouped frequency table — another example

A frequency table has classes with midpoints 10,20\displaystyle 10 , 20 and 30,\displaystyle 30 , with frequencies 3,1\displaystyle 3 , 1 and 6\displaystyle 6. 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. 3×10+1×20+6×30=230\displaystyle 3 \times 10 + 1 \times 20 + 6 \times 30 = 230
    Why?Multiply each midpoint by its frequency and add
  2. 230÷10=23\displaystyle 230 \div 10 = 23
    Why?Divide by the number of observations, not the number of classes, to share the total equally.

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.

Question 3

A frequency table has classes with midpoints 10,20\displaystyle 10 , 20 and 30,\displaystyle 30 , with frequencies 1,4\displaystyle 1 , 4 and 5\displaystyle 5. Estimate the mean.

  1. 10\displaystyle 10
  2. 240\displaystyle 240
  3. 24\displaystyle 24
  4. 20\displaystyle 20
Show answer & check
24\displaystyle 24

Correct:(1×10+4×20+5×30)÷10=240÷10=24\displaystyle : \left(1 \times 10 + 4 \times 20 + 5 \times 30\right) \div 10 = 240 \div 10 = 24.

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