AZTest
Statistics study guide · step 3 of 7

Grouped data: estimated mean, median and histograms

When data come in classes (0–10, 10–20, …) the exact values are lost, so we estimate. Each class is represented by its midpoint for the mean, and the median is found inside its class by assuming the values are spread evenly.

Key ideas

Watch out: In a histogram with unequal widths, the area of a bar, not its height, is the frequency.

Practise this step

5 questions from this step only, in 8 minutes: new numbers and stories every time, of exactly the types worked out below. Marked at the end, with every question worked out.

Start the 5-question quiz

Every question type in this step, worked out

4 types of question. Try each one yourself before you open the hint or the solution.

Example 1 · level 8

A survey asked students how many minutes they spent on homework last night. The classes have the boundaries 10, 15, 20, 25, 30 and 35 minutes, and the numbers of students in the classes are 12, 12, 18, 3 and 5, in order. Estimate the mean time.

12121835101520253035x̄ = ?
Hint

Use the middle of each class for everyone in it.

Worked solution
12121835101520253035x̄ = 20.2 min
x¯≈∑f·xmid∑f
  1. Middles of the classes: 12.5, 17.5, 22.5, 27.5 and 32.5
  2. Each middle times its count, added up: 1010 minutes for 12 + 12 + 18 + 3 + 5 = 50 students
  3. Mean: 1010/50 = 20.2

Answer: 20.2 minutes

Example 2 · level 9

A gym recorded how long its members trained on one day, in classes with the boundaries 20, 30, 40, 50, 60 and 70 minutes. The numbers of members in the classes were 11, 28, 29, 24 and 27, in order. Estimate how many trained for more than 55 minutes, assuming the times in each class are spread evenly.

1128292427203040506070t = 55n = ?
Hint

Count the classes above 55 in full, and a share of the class that 55 falls in.

Worked solution
1128292427203040506070t = 55n = 39
n≈f·U−tw+Fabove
  1. 55 falls in the class from 50 to 60; 60 − 55 = 5 of its 10 minutes are above 55
  2. Share of that class: 24 × 5/10 = 12, and the classes above hold 27
  3. Estimate: 12 + 27 = 39

Answer: 39 members

Example 3 · level 9

The masses of the apples picked from a tree were grouped in classes with the boundaries 10, 15, 20, 25, 30 and 35 grams. The numbers of apples in the classes were 13, 4, 10, 4 and 13, in order. Estimate the median mass, assuming the apples in each class are spread evenly across it.

13410413101520253035M = ?
Hint

Find the class where the middle apple falls, and how far into that class it is.

Worked solution
13410413101520253035M = 22.5 g
M=L+N/2−Ff×w
  1. 13 + 4 + 10 + 4 + 13 = 44 apples: the median is at 22, which falls in the class from 20 to 25 with 17 apples below it
  2. It is 22 − 17 = 5 apples into that class of 10
  3. Median: 20 + (5/10 × 5) = 22.5 g

Answer: 22.5 g

Example 4 · level 9

A histogram shows the ages of the trees in a wood, in classes with the boundaries 0, 30, 40, 110 and 130 years. The classes are not all the same width, so the area of each bar stands for the number of trees. The bars are 14, 13.5, 7.5 and 14 cm tall, in order, and the first bar stands for 672 trees. How many trees are there in all?

1413.57.51403040110130672 trees in the first barN = ?
Hint

Bar area is height times class width. The first bar tells you how many trees one unit of area stands for.

Worked solution
1413.57.51403040110130672 trees in the first barN = 2176
N=F1h1w1∑h·w
  1. First bar: 14 × 30 = 420 units of area for 672 trees, so 672/420 = 1.6 trees per unit
  2. All bars: each height times its width, added up, is 1360 units
  3. Trees: 1360 × 1.6 = 2176

Answer: 2176 trees

Ready for the quiz?

Check yourself on this step: 5 questions, 8 minutes.

Start the quiz

All steps of the Statistics study guide

  1. Mean and median

    The score you still need, a combined mean, a wrong entry, and means and medians from tables.

  2. Spread: range, IQR and standard deviation

    Quartiles and outliers, mean absolute deviation, standard deviation and what scaling does to it.

  3. Grouped data and histograms

    Estimate a mean or median from class intervals and read histograms with frequency density.

  4. Index numbers, growth rates and tables

    Price indices, chained percentage changes, average growth rates, moving averages and two-way tables.

  5. The normal distribution

    z-scores, the 68-95-99.7 rule, percentages above a value and finding the mean or SD.

  6. Sampling and confidence intervals

    Estimate a population, share a sample out fairly, and build or plan a confidence interval.

  7. Correlation and regression

    Predict from a regression line, find it from sums or from r, residuals and Spearman's rank.

When every step feels easy, take the whole Statistics test: 10 questions in 15 minutes.