HS4–HS5 - Cumulative frequency and quartiles

HS4–HS5 - Cumulative frequency and quartiles

How can a grouped table tell you roughly how long half the journeys take, or what proportion exceed a time limit? HS4–HS5 accumulates frequencies, reads quartiles from a curve, and uses the resulting estimates to compare distributions.

Accumulating frequencies

A class frequency counts observations in that interval. A running total counts everything up to its upper boundary, including all earlier classes.

Cumulative frequency

The cumulative frequency at a value is the number of observations at or below that value, for the upper-inclusive classes used here. Add class frequencies successively. Plot each running total against its upper class boundary, beginning with zero at the first lower boundary. The final cumulative frequency is the total number of observations.

Use the measurement on the horizontal axis and cumulative frequency on the vertical axis, with labelled uniform scales. Join the points with a sensible non-decreasing curve. It cannot fall as the boundary increases, because already-counted observations cannot disappear. A curve estimates values within classes; a question may instead specify straight-line interpolation between the plotted points.

Worked example 1: continuous journey times

Question. Make a cumulative frequency table and graph for eighty journeys on Route A.

Journey time tt (minutes)FrequencyCumulative frequency
0<t≤100<t\le108888
10<t≤2010<t\le2012122020
20<t≤3020<t\le3020204040
30<t≤4030<t\le4020206060
40<t≤6040<t\le6020208080

Plan. Keep a running total and pair it with each upper boundary, not the class midpoint.

The totals are 88, 8+12=208+12=20, then 40,60,8040,60,80. Begin at (0,0)(0,0); plot (10,8),(20,20),(30,40),(40,60),(60,80)(10,8),(20,20),(30,40),(40,60),(60,80). Draw a non-decreasing curve through the points, as in the left construction diagram.

Answer. The cumulative table is shown above; the graph finishes at (60,80)(60,80).

Check. Consecutive total differences recover 8,12,20,20,208,12,20,20,20. Their sum is eighty, matching the graph's final height. Plotting (25,40)(25,40) instead of (30,40)(30,40) would wrongly use a class midpoint.

For grouped whole-number data, a plotting boundary can lie halfway between adjacent possible recorded values.

Worked example 2: grouped integer marks

Question. Integer marks are grouped as ten–nineteen, twenty–twenty-nine, thirty–thirty-nine and forty–forty-nine, with frequencies 4,8,6,24,8,6,2. Give cumulative graph coordinates using continuous plotting boundaries.

Plan. Use halfway boundaries that separate adjacent integer groups, then accumulate the frequencies.

The upper boundaries are 19.5,29.5,39.5,49.519.5,29.5,39.5,49.5, with first lower boundary 9.59.5. The totals are 4,12,18,204,12,18,20.

Answer. Start at (9.5,0)(9.5,0), then plot (19.5,4),(29.5,12),(39.5,18),(49.5,20)(19.5,4),(29.5,12),(39.5,18),(49.5,20), and join with a non-decreasing curve.

Check. The increment from twelve to eighteen is six, recovering the third class. Halfway boundaries keep the adjacent integer groups separate; they do not claim that a student actually scored a fractional mark.

If the table already supplies boundaries such as 0<t≤100<t\le10, use them directly. The first zero-height point is a class boundary, not proof of an observed minimum; grouped data do not reveal the exact smallest or largest individual value.

[DIAGRAM: asset_name: Constructing cumulative curves; asset_slug: cumulative-frequency-construction; caption: Plot running totals at upper boundaries, with a zero starting point and no downward sections.; description: Left shows Route A's exact plotted coordinates from zero comma zero to 60 comma 80 with a non-decreasing curve. Right shows the integer-mark upper-boundary points 19.5 comma 4,29.5 comma 12,39.5 comma 18,49.5 comma 20, beginning at 9.5 comma zero.]
Plot running totals at upper boundaries, with a zero starting point and no downward sections.

Watch out

A cumulative graph can stay level if a class is empty, but it cannot decrease. Check its final height against the sum of the class frequencies.

Form running totals without submitting a drawing.

Median and quartiles

To estimate a central value, begin with a fraction of the total vertical frequency, then read the corresponding measurement horizontally.

Quartiles from a grouped cumulative curve

For total frequency NN, estimate the lower quartile Q1Q_1, median and upper quartile Q3Q_3 at cumulative heights N/4N/4, N/2N/2 and 3N/43N/4. These divide the modelled distribution into quarters. The interquartile range, IQR=Q3−Q1IQR=Q_3-Q_1, measures the spread of the middle half of the data in the original measurement units.

Move horizontally from each cumulative height to the curve, then down to the measurement axis. The quartile is that measurement, not the cumulative height. These grouped-curve positions differ from choosing individual middle observations in an exact raw list; do not substitute a raw-list position rule for the curve's quarter-total heights.

Worked example 3: quartiles at plotted boundaries

Question. Estimate Route A's quartiles, median and IQR from its cumulative curve.

Plan. Use the total eighty to find the three vertical reading levels.

N/4=20,N/2=40,3N/4=60.N/4=20,\qquad N/2=40,\qquad3N/4=60.

Reading across and down gives Q1=20Q_1=20 minutes, median 3030 minutes and Q3=40Q_3=40 minutes. Thus IQR=40−20=20IQR=40-20=20 minutes.

Answer. Lower quartile about twenty minutes, median thirty minutes, upper quartile forty minutes; IQR twenty minutes.

Check. The original running totals at times twenty, thirty and forty are exactly twenty, forty and sixty, so the readings agree with the table. The quartile times are ordered around the median, and the IQR has units of minutes rather than people.

A reading inside a class depends on how the curve is drawn. When straight-line interpolation is specified, it assumes an even spread across that class and gives a reproducible proportional estimate.

Worked example 4: specified straight-line interpolation

Question. Sixty clinic waits have class boundaries 0,10,20,30,400,10,20,30,40 minutes and class frequencies 6,18,24,126,18,24,12. Using straight-line interpolation between cumulative points, estimate all three quartiles and the IQR.

Plan. Form cumulative totals 0,6,24,48,600,6,24,48,60. Find heights fifteen, thirty and forty-five, then locate each proportionally within its class.

For Q1Q_1, height fifteen is nine above six, out of the next class's eighteen:

Q1=10+15−618(10)=15.Q_1=10+\frac{15-6}{18}(10)=15.

For the median and upper quartile, start at twenty minutes, where the cumulative total is twenty-four:

median=20+30−2424(10)=22.5,Q3=20+45−2424(10)=28.75.\text{median}=20+\frac{30-24}{24}(10)=22.5, \qquad Q_3=20+\frac{45-24}{24}(10)=28.75.

Answer. Q1≈15Q_1\approx15, median ≈22.5\approx22.5, Q3≈28.75Q_3\approx28.75 minutes; IQR≈28.75−15=13.75IQR\approx28.75-15=13.75 minutes.

Check. At fifteen minutes the model has accumulated 6+9=156+9=15. At 22.522.5, one quarter of the twenty-four-observation class adds six, giving thirty. At 28.7528.75, seven eighths of that class adds twenty-one, giving forty-five. These recover the required cumulative levels independently.

Continue this lesson.

You’re previewing NovaLearn without an account. Create a free account to read the rest.

Create free account