---
title: "Estimating the mean from grouped data"
description: "Estimate a mean from grouped data using class midpoints, say why the answer is only an estimate, and identify the modal class and the class holding the median."
canonical: https://lightmysky.com/learn/mathematics/estimating-the-mean-from-grouped-data-mt_3PHP7NLZAw
source: https://lightmysky.com/learn/mathematics/estimating-the-mean-from-grouped-data-mt_3PHP7NLZAw.md
retrieved: 2026-11-12
---

> **Agent view.** This is the Markdown twin of the page, for tools and assistants.
> When to use this site, and the call that answers each job: https://lightmysky.com/agent-instructions.md
> API description (OpenAPI 3.1): https://lightmysky.com/openapi.json · Authentication: https://lightmysky.com/auth.md
> Pricing: https://lightmysky.com/pricing.md · Catalog: https://lightmysky.com/llms.txt · Full catalog: https://lightmysky.com/llms-full.txt
> Every machine-readable file on this domain: https://lightmysky.com/.well-known/ai-catalog.json
> Ask for Markdown with `Accept: text/markdown`, a `.md` address, or `?mode=agent`.

# Estimating the mean from grouped data

Estimate a mean from grouped data using class midpoints, say why the answer is only an estimate, and identify the modal class and the class holding the median.

Subject: Mathematics · Area: Data & Statistics · Ages 14 to 15
Page: https://lightmysky.com/learn/mathematics/estimating-the-mean-from-grouped-data-mt_3PHP7NLZAw

## Ready when they can

- Use the midpoint of each class as the value standing for that class
- Explain why grouped counts do not establish whether the midpoint estimate equals the true mean
- Identify the modal class and the class that contains the median

## Lesson: A mean when you only have the bands

Last stop, each row gave an exact value. Here members ticked time bands instead. In 20 ≤ t < 40, 20 is included and 40 is excluded, so exactly 40 minutes goes in the next band. The five bands have 6, 21, 15, 12 and 6 members, sixty in all. Counts show how many visits fall in each band, not exact times or which band a named member chose.

*(drawing: Sixty members sorted into five bands. Each bar says how many, and none of them says how long any one visit was.)*

To estimate a mean, choose each band's midpoint as its stand-in: add the boundaries and divide by 2. For 20 ≤ t < 40, (20 + 40) / 2 = 30. The five midpoints are 10, 30, 50, 70 and 90. A midpoint is equally far from both boundaries, but need not equal the real class mean. A value can be at most half a band's width from its midpoint. Lower boundaries give smaller estimates than midpoints; upper boundaries give larger ones.

**Example.** Use the same method as before, with the midpoint m in place of the value x. Multiply each midpoint by its frequency: 6 × 10 = 60, 21 × 30 = 630, 15 × 50 = 750, 12 × 70 = 840 and 6 × 90 = 540. Add them: 60 + 630 + 750 + 840 + 540 = 2820 minutes. Divide by how many members: 2820 / 60 = 47. So members stay about 47 minutes on average.

*(drawing: These are the same three moves as last stop. Only the first is new: choose a value to represent each band before using it.)*

Midpoints replace unknown values, so 47 is an estimate even with exact arithmetic. A class's actual total is its actual mean times its frequency. If that mean is below its midpoint, the class total is overestimated; other classes may offset this. The estimate is exact if all values equal their class midpoints, but errors can also cancel. Each value's error is at most half the band width. Narrower bands lower this bound, not necessarily the actual mean error.

Find the modal class beside the largest frequency: 20 ≤ t < 40 has 21 members. Exact modes are unknown. Running totals are 6, 27, 42, 54, 60. For odd count n, locate (n + 1) / 2. For even n, this is a half position between n / 2 and n / 2 + 1: find both observations and average their values. Here 30.5 lies between positions 30 and 31, both in 40 ≤ t < 60, so the median lies there. If the two middle observations are in different bands, their average's band may be unknown.

**Recap.** Use midpoints times frequencies, add, then divide by total frequency to estimate the mean. The modal class has the largest frequency. Running totals locate the middle observation or pair.

*Original lesson, questions and flashcards written for this learning dataset.*

## Practice

34 questions on this page, each with its working shown.

## Needs first

- [Averages from frequency tables](https://lightmysky.com/learn/mathematics/averages-from-frequency-tables-mt_5WF_Rhdb1X)

## Opens up

- [Standard deviation and variance](https://lightmysky.com/learn/mathematics/standard-deviation-and-variance-mt_eNpow5tIX2)
- [Quartiles and the Interquartile Range](https://lightmysky.com/learn/mathematics/quartiles-and-the-interquartile-range-mt_vN10d1I9dA)
