FS4–FS5, HS5–HS6 - Averages from frequency tables

FS4–FS5, HS5–HS6 - Averages from frequency tables

Calculate exact summaries from discrete frequencies, estimate a mean from grouped measurements, and distinguish an exact median or mode from a median or modal class. FS4–FS5 and HS5–HS6 connect these summaries to meaningful descriptions of distributions.

Frequency calculations

If a table has four rows, does its mean use four observations? Usually not: each frequency says how many observations that row represents.

Mean from discrete frequencies

For values xx with frequencies ff,

mean=total of fxtotal of f.\text{mean}=\frac{\text{total of }fx}{\text{total of }f}.

The product fxfx accounts for all repetitions of value xx. This is a calculation method to know, not a supplied formula.

Find the mode from the greatest frequency, but report the corresponding value. For the median, use positions in the full ordered data. Running frequency totals locate those positions without writing out every repetition. The range uses the smallest and largest values actually observed.

Worked example 1: an exact discrete distribution

Question. Ten households give their number of bicycles as below. Find the mean, median, mode and range.

Plan. Add products for the mean, then use the running totals to locate the middle two of ten observations.

| Bicycles xx | Frequency ff | fxfx | Running frequency total |
|---|---|---|---|---|
| 00 | 22 | 00 | 22 |
| 11 | 44 | 44 | 66 |
| 22 | 33 | 66 | 99 |
| 33 | 11 | 33 | 1010 |
| Total | 1010 | 1313 | |

The mean is 13/10=1.313/10=1.3. Positions 33 through 66 have value 11, so both middle positions, 55 and 66, are 11. The largest frequency is 44, belonging to 11 bicycle.

Answer. Mean 1.31.3 bicycles, median 11, mode 11, range 3−0=33-0=3.

Check. Expanding gives 0,0,1,1,1,1,2,2,2,30,0,1,1,1,1,2,2,2,3, with total 1313 and ten values. The mean may be fractional even though each household has a whole-number count.

The middle positions can fall in different rows, and a displayed zero-frequency value is not an observation.

Worked example 2: different middle rows

Question. Find the four summaries for this distribution of books borrowed by ten pupils.

Plan. Keep the numerical values separate from their frequencies; locate positions 55 and 66.

| Books xx | Frequency ff | fxfx | Running frequency total |
|---|---|---|---|---|
| 00 | 00 | 00 | 00 |
| 11 | 22 | 22 | 22 |
| 22 | 33 | 66 | 55 |
| 44 | 44 | 1616 | 99 |
| 55 | 11 | 55 | 1010 |
| Total | 1010 | 2929 | |

Mean =29/10=2.9=29/10=2.9. Position 55 is 22; position 66 is 44, giving median (2+4)/2=3(2+4)/2=3. The most frequent value is 44.

Answer. Mean 2.92.9, median 33, mode 44, range 5−1=45-1=4 books.

Check. The expanded list is 1,1,2,2,2,4,4,4,4,51,1,2,2,2,4,4,4,4,5. No pupil borrowed zero books, so zero must not be used as the observed minimum.

Expanding a short table provides a useful check on the products and middle positions, though it is unnecessary for a very large distribution.

Watch out

Do not average the row labels or the frequencies. Divide the total value, found from the products, by the total number of observations. Repeated values count repeatedly.

Calculate all four summaries from a fresh table.

Grouped data

Grouped measurements retain their interval frequencies but lose individual values. Nine times in an interval do not mean nine identical times.

Modal and median classes

For the equal-width groups here, the modal class is the interval with the greatest frequency. Locate the middle observation or observations using running frequency totals. If the middle observations lie in one interval, that interval is the median class. Neither class gives an exact individual mode or median.

For a grouped mean estimate, represent every value in a class by the class midpoint, halfway between its boundaries. Multiply each midpoint by its frequency, add the products and divide by total frequency. This assumes that the midpoint reasonably represents the class's values; it does not prove that the values are equally spaced or all at the midpoint.

Worked example 3: grouped mean and classes

Question. Twenty journey times are grouped below. Estimate the mean and identify the modal and median classes.

Plan. Use midpoints for an estimated total, and the actual frequencies for the class positions.

Time tt, minutesFrequencyMidpointProductRunning frequency
0≤t<100\le t<104455202044
10≤t<2010\le t<20101015151501501414
20≤t<3020\le t<306625251501502020
estimated mean=20+150+15020=16 minutes.\text{estimated mean}=\frac{20+150+150}{20}=16\text{ minutes}.

The greatest frequency is 1010, in 10≤t<2010\le t<20. The middle positions are 1010 and 1111; both are among positions 55 to 1414, in that same class.

Answer. Estimated mean 1616 minutes; modal class and median class both 10≤t<2010\le t<20.

Check. Frequencies total 2020. A midpoint-only mean (5+15+25)/3=15(5+15+25)/3=15 would give the groups equal weight despite their different counts.

[DIAGRAM: asset_name: Grouped-time midpoints; asset_slug: grouped-midpoints; caption: Midpoints stand in for unknown times; frequencies determine how often each midpoint is used.; description: Three labelled intervals zero to ten, ten to twenty and twenty to thirty minutes have midpoint dots at five, fifteen and twenty-five. Closed left and open right boundaries match the table; frequencies four, ten and six are shown.]
Midpoints stand in for unknown times

Continue this lesson.

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

Create free account