MathematicsFoundation20 min read

Information Handling

Frequency tables, the three averages, and how far the data spreads

This topic appears in:

01

From a list of numbers to a table you can read

Raw data — forty test marks written down in the order the papers were collected — tells you almost nothing. Organising it does. A frequency table records how often each value, or each class of values, occurs, and every calculation in this chapter starts there.

When the values are few, tally each one separately. When they are spread out, group them into classes of equal width. The chapter uses three terms that examiners test directly: the class limits are the values written in the table (say 10–19), the class boundaries are the values where one class actually ends and the next begins (9.5 and 19.5), and the class mark or midpoint is their average (14.5).

Why boundaries are half a unit outside the limits

Marks are recorded as whole numbers, so a class written 10–19 really covers everything from 9.5 up to 19.5 — a mark of 19.4 would round to 19. The boundaries close the gap between one class and the next, which is why a histogram has no spaces between its bars while a bar chart does.

02

The three averages, and when each one lies to you

An average is a single number standing in for the whole set. Three are in the syllabus, and the exam question is usually not "calculate it" but "which one is appropriate and why".

AverageStrengthWeakness
Meanuses every value; best for further calculationa single extreme value drags it badly
Medianunaffected by extremes; good for skewed data such as incomeignores the actual sizes of the other values
Modethe only average usable for categories like shoe size or colourmay not exist, or there may be several
mean x̄ = Σx / n(ungrouped)mean x̄ = Σfx / Σf(grouped, x = class midpoint)median = the middle value when the data is put in ordermode = the value occurring most oftenfor an even number of values the median is the mean of the two middle ones

The question examiners actually ask

Nine salaries of 30 000 rupees and one of 3 000 000. The mean is about 327 000 — a figure nobody in the room earns. The median is 30 000, which describes the situation honestly. Whenever a data set has one wild value, the median is the appropriate average, and saying why is worth the mark.

03

Calculating the mean of grouped data

Once data is grouped, the individual values are gone; all you know is which class each one fell into. So you assume every value sits at the midpoint of its class. That makes the mean an estimate, and questions almost always use the word "estimate" for exactly this reason.

Worked example

Estimate the mean of: 0–10 (f = 2), 10–20 (f = 5), 20–30 (f = 9), 30–40 (f = 12), 40–50 (f = 8), 50–60 (f = 4).

  1. Find each class midpoint: 5, 15, 25, 35, 45, 55.Midpoint = (lower boundary + upper boundary) ÷ 2. Every value in the class is treated as sitting there.
  2. Multiply each midpoint by its frequency: 10, 75, 225, 420, 360, 220.This is the fx column, and setting it out as a column is what earns the method mark.
  3. Σf = 2 + 5 + 9 + 12 + 8 + 4 = 40 and Σfx = 1310.Always total the frequency column too — it is the denominator and a useful check on your table.
  4. x̄ = 1310 / 40 = 32.75.Sanity check: the modal class is 30–40, so a mean of about 33 is exactly where it should be.

Estimated mean = 32.75

The dashed line is the mean. Compare the bar chart with the histogram: the bars are identical, but the histogram has no gaps because its classes are continuous and meet at their boundaries.

04

Measuring the spread

Two classes can have the same mean and be nothing alike — one clustered tightly around it, the other scattered from top to bottom. A measure of spread is what tells them apart.

The range is the simplest: largest value minus smallest. It is quick, but it depends entirely on the two most extreme values and ignores everything in between. For grouped data it is taken as the difference between the highest and lowest class boundaries.

The variance and standard deviation use every value. The standard deviation is the more useful of the two because it comes back to the original units: a standard deviation of 8 marks means "typically about 8 marks away from the mean".

range = largest − smallestvariance σ² = Σ(x − x̄)² / nstandard deviation σ = √(σ²)square the distances so that values above and below the mean cannot cancel out

Why square the deviations?

If you simply averaged (x − x̄), the answer would always be exactly zero — the positives and negatives cancel by the very definition of the mean. Squaring makes every deviation positive, so they cannot cancel; taking the square root at the end brings the answer back into the units you started with.

Before you leave this chapter

  1. Class limits are what is written; class boundaries are where the classes really meet, half a unit outside.
  2. Grouped mean = Σfx / Σf, using midpoints — and it is an estimate, not the true mean.
  3. The median is the appropriate average whenever an extreme value would distort the mean.
  4. The mode is the only average available for non-numerical categories.
  5. Range is quick but ignores everything between the extremes; standard deviation uses every value and keeps the original units.
06

Pie charts

A pie chart shows how a total splits into parts. Each category gets a sector whose angle is its share of the full 360°, so the chart shows proportions well and absolute sizes not at all — two pie charts drawn the same size can represent totals of 40 and 4 000.

The calculation is one line per category, and the marks come from showing it.

sector angle = (frequency / total frequency) × 360°the angles must add to 360° — check this before you draw anything
Worked example

In a survey of 60 students, 24 chose cricket, 18 hockey, 12 football and 6 badminton. Find the angle of each sector.

  1. Cricket: (24/60) × 360 = 144°.Cricket is 40% of the students, and 40% of 360 is 144.
  2. Hockey: (18/60) × 360 = 108°.
  3. Football: (12/60) × 360 = 72°; badminton: (6/60) × 360 = 36°.
  4. Check: 144 + 108 + 72 + 36 = 360°If the angles do not total 360°, one of them is wrong, and you have caught it before drawing.

144°, 108°, 72° and 36°

Practice questions

6 questions · 20 marks · full working on every one

Try each one on paper first, then open the working. The marks are shown where they are actually awarded, because that is where they are actually lost.

Short questions

3 · 6 marks

Two marks each, in the style of the short-question section of the paper. Answer in two or three lines.

SQ1[2 marks]
Define class boundaries and explain how they differ from class limits.
Model answer

Class limits are the values written in the table, such as 20–29. Class boundaries are the true dividing values, 19.5 and 29.5, obtained by going half a unit beyond each limit so that consecutive classes meet with no gap.

Examiner tip. A worked example with numbers is faster and clearer than a general description, and gets the same mark.

SQ2[2 marks]
Why is the mean unsuitable as an average for a data set containing one extremely large value?
Model answer

The mean uses every value in its calculation, so one very large value pulls it far above the bulk of the data and it no longer represents a typical member of the set. The median should be used instead, because it depends only on position and is unaffected by extremes.

Examiner tip. Name the better alternative. Half the mark is for the criticism and half for the remedy.

SQ3[2 marks]
The shoe sizes sold in a shop in one day were: 7, 8, 8, 9, 8, 10, 7. Which average should the manager use for restocking, and why?
Model answer

The mode, which is size 8. The manager needs to know which size sells most often; a mean of 8.14 is not a size that can be ordered.

Examiner tip. Whenever the question is about what to stock, order or manufacture, the answer is the mode. This is a standing exam favourite.

Solved numericals

2 · 8 marks

Full working, one step per line, with the marks shown where they are awarded.

N1[4 marks]
Find the mean, median and mode of: 12, 15, 11, 15, 18, 14, 15, 20.
Full working
  1. Σx = 12 + 15 + 11 + 15 + 18 + 14 + 15 + 20 = 120, n = 8[1]
  2. Mean = 120/8 = 15[1]
  3. In order: 11, 12, 14, 15, 15, 15, 18, 20. Median is the mean of the 4th and 5th values = (15 + 15)/2 = 15the data must be ordered first — this is where marks are lost[1]
  4. Mode = 15, occurring three times[1]

Mean = 15, median = 15, mode = 15

Examiner tip. When all three averages agree, the distribution is symmetrical. Examiners set such a data set deliberately so a wrong answer stands out against the other two.

N2[4 marks]
The heights of 30 plants are grouped as: 10–14 (f = 4), 15–19 (f = 7), 20–24 (f = 11), 25–29 (f = 6), 30–34 (f = 2). Estimate the mean height and state the modal class.
Full working
  1. Midpoints 12, 17, 22, 27, 32midpoint of 10–14 is (10 + 14)/2 = 12[1]
  2. fx values 48, 119, 242, 162, 64, so Σfx = 635[1]
  3. x̄ = 635 / 30 = 21.2 cm (1 d.p.)accept 21.17[1]
  4. Modal class is 20–24, the class with the highest frequencythe class is required, not a single value[1]

Estimated mean ≈ 21.2 cm; modal class 20–24

Examiner tip. For grouped data you can only give the modal class, never a modal value — the individual heights are no longer known.

Long questions

1 · 6 marks

Theory and numerical together, as they appear in the long-question section.

LQ1[6 marks]
Two students have the following marks in five tests. Ali: 60, 62, 58, 61, 59. Bilal: 40, 80, 55, 75, 50.
  1. Find the mean mark of each student.
  2. Find the range for each student.
  3. Which student is more consistent? Justify your answer using both statistics.
Mark scheme
  1. Ali: Σx = 300, mean = 300/5 = 60[1]
  2. Bilal: Σx = 300, mean = 300/5 = 60the means are identical, which is the point of the question[1]
  3. Ali's range = 62 − 58 = 4[1]
  4. Bilal's range = 80 − 40 = 40[1]
  5. Ali is more consistent[1]
  6. Both have the same mean, so the mean cannot separate them; Ali's much smaller range shows his marks are clustered close together, while Bilal's vary widelythe justification must refer to the equal means as well as the ranges[1]

(a) both 60 (b) Ali 4, Bilal 40 (c) Ali — same mean but far smaller spread

Examiner tip. This is the standard "same average, different spread" question. The whole point is that an average alone cannot describe a data set, so always mention that the means are equal before quoting the ranges.