Data Interpretation (Grouped Data)
Interactive curriculum lessons, worked examples, and geometric problem-solving techniques designed to help Kenyan students master CBC, KPSEA, KCSE, and IGCSE mathematics.
First Principles
Objective
Learn how to organise large sets of continuous or discrete numerical data into class intervals and calculate the estimated mean using class midpoints and frequency tables.
Analogy: Sorting Maize Bags at a Milling Depot
Imagine a cooperative in Eldoret receiving hundreds of bags of maize. Measuring and listing every single bag's exact mass (e.g., \(48.2\text{ kg}\), \(51.7\text{ kg}\), \(49.1\text{ kg}\)) one by one would be overwhelming and unhelpful. Instead, the warehouse clerk sorts them into standard weight categories or bins: 40–49 kg, 50–59 kg, and 60–69 kg. Each bin is a class interval, and the count of bags in each bin is its frequency.
(a) Class Intervals and Midpoints
When data is grouped, we lose the exact individual values. To represent all values in an interval, we calculate its centre — the class midpoint (or class mark) \(x_i\):
\[x_i = \frac{\text{Lower limit} + \text{Upper limit}}{2}\]We make the reasonable assumption that the data values inside an interval are evenly distributed around its midpoint.
(b) The Grouped Mean Formula
To find the estimated mean \(\bar{x}\), we multiply each class midpoint \(x_i\) by its frequency \(f_i\) to find the subtotal for that group, sum these totals, and divide by the total number of items \(\sum f_i\):
\[\bar{x} = \frac{\sum f_i x_i}{\sum f_i}\]Interactive Grouped Mean Explorer
Adjust the frequency of each height band (in cm) for a class of Kenyan students and observe how the estimated mean updates in real time.
Key Formulas
Worked Examples
A tea collector in Kericho records the masses of plucked tea baskets in 3 intervals: 0–10 kg (frequency 2), 10–20 kg (frequency 5), and 20–30 kg (frequency 3). Estimate the mean mass per basket.
- Find midpoints \(x_i\): \[x_1 = \frac{0+10}{2} = 5,\quad x_2 = \frac{10+20}{2} = 15,\quad x_3 = \frac{20+30}{2} = 25\]
- Compute \(f_i x_i\): \[\sum f_i x_i = (2 \times 5) + (5 \times 15) + (3 \times 25) = 10 + 75 + 75 = 160\]
- Find total frequency: \[\sum f_i = 2 + 5 + 3 = 10\]
- Calculate estimated mean: \[\bar{x} = \frac{160}{10} = 16\text{ kg}\]
A biology class in Nakuru recorded the lengths of 20 leaves into intervals: 0–10 mm (freq 4), 10–20 mm (freq 8), 20–30 mm (freq 6), and 30–40 mm (freq 2). Estimate the mean leaf length.
- Midpoints: \(5, 15, 25, 35\).
- Products: \[\sum f_i x_i = 4(5) + 8(15) + 6(25) + 2(35) = 20 + 120 + 150 + 70 = 360\]
- Total frequency: \(4 + 8 + 6 + 2 = 20\).
- Estimated Mean: \[\bar{x} = \frac{360}{20} = 18\text{ mm}\]
The daily transport expense of employees at a tech firm in Nairobi is summarised below. If the estimated mean expense is KES 275, find the missing frequency \(k\).
| Expense (KES) | Midpoint (\(x\)) | Frequency (\(f\)) | \(f \times x\) |
|---|---|---|---|
| 100–200 | 150 | 5 | 750 |
| 200–300 | 250 | 8 | 2000 |
| 300–400 | 350 | \(k\) | \(350k\) |
| 400–500 | 450 | 3 | 1350 |
- Set up sums in terms of \(k\): \[\sum f = 5 + 8 + k + 3 = 16 + k\] \[\sum fx = 750 + 2000 + 350k + 1350 = 4100 + 350k\]
- Equate to known mean \(\bar{x} = 275\): \[\frac{4100 + 350k}{16 + k} = 275\]
- Cross-multiply and solve for \(k\): \[4100 + 350k = 275(16 + k)\] \[4100 + 350k = 4400 + 275k\] \[350k - 275k = 4400 - 4100\] \[75k = 300 \implies k = 4\]
Common Mistakes
Real World
Practice