Maths4UBETA

Maths4U · Learning together

Frequency tables, grouped estimates and median interpolation

← Coded data, scale changes and unknown observationsWeighted means and combined moments →

Notes

Objective

Use frequencies as counts, midpoints only as a model, and cumulative positions to locate a median.

Before you start

Order data, read a frequency table and retain exact fractions. Mixed-topic written tasks also use descriptive variance and SD, introduced in the first lesson.

Key ideas

A frequency table still represents individual observations

n=∑f,xˉ=∑fx∑f.n=\sum f,\qquad\bar{x}=\frac{\sum fx}{\sum f}.

Use cumulative frequencies to locate the central observation or observations. An unweighted mean of the listed x-values ignores how often each occurs.

Grouping loses the exact positions

Replace each class by its midpoint m only when estimating moments:

xˉ≈∑fm∑f,σ2≈∑fm2∑f−xˉ 2.\bar{x}\approx\frac{\sum fm}{\sum f},\qquad\sigma^2\approx\frac{\sum fm^2}{\sum f}-\bar{x}^{\,2}.

The midpoint model has exact calculated moments, but these are estimates of the original raw-data moments. A modal class instead uses frequency density if widths differ.

An unknown frequency belongs in both totals

Keep it in ∑f\sum f and in the weighted sum. Solve the supplied mean condition and reject a negative or non-integer count. Check the denominator is nonzero.

Interpolated grouped medians need an assumption

Q^2=L+N/2−Cf w.\widehat{Q}_2=L+\frac{N/2-C}{f}\,w.

L is the median class lower boundary, C the cumulative count before it, f its frequency and w its width. This assumes uniform within-class spread. Use the stated continuous boundaries and the N/2 cumulative level; the exact median of unknown raw values is not determined.

Method

  1. Identify the observation count, measurement units and requested measure.
  2. Keep exact totals and distinguish raw values from grouped estimates.
  3. Restore every original count, coding or value condition.
  4. State the complete result and justify a contextual choice separately.

Common mistakes

  • Use total frequency as the denominator.
  • Do not treat midpoints as known original observations.
  • An unknown frequency changes the denominator too.
  • Separate a median rank, its class and its estimated measurement value.

Worked examples

A median is read from cumulative positions

ValueFrequency
12
23
51

Find the mean, median and mode.

Follow the solutionn=6,xˉ=136.n=6,\qquad\bar{x}=\frac{13}{6}.

The third and fourth observations are both 2, so the median is 2. The mode is also 2, because its frequency is greatest.

Estimate using weighted class midpoints

ClassFrequency
0 ≤ x < 103
10 ≤ x < 205
20 ≤ x < 402

Estimate the mean.

Follow the solution

The midpoints are 5, 15 and 30.

xˉ≈3(5)+5(15)+2(30)10=15.\bar{x}\approx\frac{3(5)+5(15)+2(30)}{10}=15.

This does not mean every original observation equalled a midpoint.

An unknown frequency occurs on both sides

Values 1, 3, 5 have frequencies 2, k, 4. Their mean is 3.5. Find k.

Follow the solution2+3k+206+k=72⇒44+6k=42+7k.\begin{gathered}\frac{2+3k+20}{6+k}=\frac72\\\Rightarrow\quad44+6k=42+7k.\end{gathered}

Thus k=2k=2, giving 8 observations and the required mean. Solving only the numerator would use the wrong count.

Read an interpolated median from a grouped model

Classes [0,10),[10,20),[20,40)[0,10),[10,20),[20,40) have frequencies 3, 5, 2. Assuming uniform spread in each class, estimate the median.

Follow the solution

The target cumulative level is 5. Before the middle class the count is 3, so

Q^2=10+5−35(10)=14.\widehat{Q}_2=10+\frac{5-3}{5}(10)=14.

The exact raw median cannot be recovered from this table alone.

Practise this topic