Maths4UBETA

Maths4U · Learning together

Frequency models, percentiles and multi-step spread problems

← Changed records and pooled variationSample spaces, complements and event relations →

Notes

Objective

Distinguish exact frequency moments, grouped estimates, interpolated percentiles and reconstructed observations.

Before you start

Use exact totals, order raw observations, and distinguish a frequency from a measurement. Review Measures of central tendency if you need to recover a mean or decode an origin.

Key ideas

Frequencies count repetitions

n=∑f,xˉ=∑fx∑f,σ2=∑fx2∑f−xˉ 2.\begin{aligned}n&=\sum f,\\\bar{x}&=\frac{\sum fx}{\sum f},\\\sigma^2&=\frac{\sum fx^2}{\sum f}-\bar{x}^{\,2}.\end{aligned}

Square each measurement, then weight it by frequency. Squaring the frequency-weighted value gives the wrong second moment.

Midpoints define an estimating model

For grouped data replace x by the class midpoint. Use frequencies as weights, even for unequal-width classes. Frequency density is a histogram height, not a replacement for frequency in these moment formulas. Grouped mean and SD estimate the unknown raw-data statistics.

A percentile is a value, not a cumulative count

For cumulative proportion p, locate pN and interpolate within its class, assuming uniform within-class spread:

x^p=L+pN−Cf w.\widehat{x}_p=L+\frac{pN-C}{f}\,w.

For the IQR find both quartiles and subtract. To find a value exceeded by k observations, use cumulative count N−k, not k.

Quartiles are read as measurement values at cumulative counts N/4 and 3N/4

Two missing values require independent conditions

A mean gives their sum. Variance supplies a square-total. Use both, keep the requested ordering, and substitute the recovered pair into the original totals. Complete final answers accompany, rather than replace, written reasoning.

Method

  1. Identify whether the observations are raw, grouped or coded.
  2. Recover the count, first total and square-total on one consistent scale.
  3. Find the requested spread without premature rounding.
  4. Restore all original conditions and give every valid result.

Common mistakes

  • Use fx², not (fx)², for the second moment.
  • Weight grouped moments by frequency, not density.
  • Subtract measurement quartiles, not their cumulative ranks.
  • Recover both missing observations and retain their specified order.

Worked examples

A discrete table gives exact moments

ValueFrequency
11
32
53

Find the mean and variance.

Follow the solutionn=6,∑fx=22,∑fx2=94,xˉ=11/3,σ2=94/6−(11/3)2=20/9.\begin{aligned}n&=6,\\\sum fx&=22,\\\sum fx^2&=94,\\\bar{x}&=11/3,\\\sigma^2&=94/6-(11/3)^2\\&=20/9.\end{aligned}

Unequal widths do not change the moment weights

ClassFrequency
0 ≤ x < 44
4 ≤ x < 109
10 ≤ x < 205

Estimate the mean and SD using class midpoints.

Follow the solution

Use midpoints 2, 7, 15 and frequencies 4, 9, 5.

∑fm=146,∑fm2=1582,xˉ≈73/9,σ≈1790/9.\begin{aligned}\sum fm&=146,\\\sum fm^2&=1582,\\\bar{x}&\approx73/9,\\\sigma&\approx\sqrt{1790}/9.\end{aligned}

These are exact expressions for the midpoint model, but estimates for the unknown raw observations.

Read two quartiles and a percentile

BoundaryCumulative frequency
00
108
3032
5040

Assume uniform spread within each class. Estimate the IQR and the 90th percentile.

Follow the solutionQ1=10+10−824(20)=35/3,Q3=10+30−824(20)=85/3,IQR=50/3,P90=30+36−328(20)=40.\begin{aligned}Q_1&=10+\frac{10-8}{24}(20)=35/3,\\Q_3&=10+\frac{30-8}{24}(20)=85/3,\\\text{IQR}&=50/3,\\P_{90}&=30+\frac{36-32}{8}(20)=40.\end{aligned}

The cumulative targets 10, 30 and 36 are ranks, not measurement values.

A variance supplies a second missing-value equation

Add a<b to 2, 4, 5, 7. The six observations have mean 6 and variance 7. Find a and b.

Follow the solutiona+b=36−18=18,a2+b2=6(7+36)−94=164.\begin{aligned}a+b&=36-18=18,\\a^2+b^2&=6(7+36)-94=164.\end{aligned}a2+(18−a)2=164.a^2+(18-a)^2=164.

The roots are 8 and 10, so (a,b)=(8,10)(a,b)=(8,10). Their order and both original moments are satisfied.

Practise this topic