Statistics · KS3

Frequency Tables

Ask 30 people their shoe size and you get a messy list of 30 numbers. A frequency table tidies that list into a few rows that say "this many people had this value". On this page you'll build frequency tables with tally marks, learn to read them properly, and find the mode, median, range and mean straight from the table, including tables where the data is put into groups.

National curriculum KS3: describe, interpret and compare observed distributions of a single variable through appropriate tables and graphs involving discrete, continuous and grouped data; and appropriate measures of central tendency (mean, mode, median) and spread (range)

1 · Collecting data: the tally chart

Data is just information, usually numbers, that you collect to answer a question. Suppose you roll a dice 30 times and write down each score. That list, written in the order it happened, is called raw data: nothing has been sorted or counted yet.

Raw data is hard to read. Is 6 more common than 1? You can't tell at a glance. So we count how many times each value turns up. The number of times a value appears is its frequency (how frequently it happens).

Counting a long list in your head is easy to get wrong, so we use a tally chart. Go through the list once, in order. For each item, draw a small stroke | in its row. The fifth stroke goes across the other four, making a "gate" of five. Gates make it quick to count at the end: two gates and three strokes is 5 + 5 + 3 = 13. Finally write the count as a number in the frequency column.

Raw data (the highlighted item is next). Tap the row of the table that it belongs to.

Two habits that stop mistakes. Cross each item off as you tally it (the widget greys them out), so you never count something twice or miss it. And when you finish, add up the frequency column: it must equal the number of items you started with. If you rolled the dice 30 times, the frequencies must add up to 30.

Once you have a frequency table you can draw a bar chart from it: one bar per row, as tall as the frequency. That's covered on the statistical charts page.

2 · Discrete and continuous data

Before organising data, it helps to know what kind it is. There are two kinds of number data.

Why does it matter? Discrete data with only a few possible values fits in an ordinary frequency table with one row per value (sections 3 to 5). Continuous data has so many possible values that every measurement might be different, so we put it into groups (section 6). Test yourself:

3 · Reading a frequency table

Here is a finished frequency table. It shows the number of goals scored in each of 20 football matches. Read each row as a sentence: the row 2 | 5 means "5 matches had 2 goals".

The left column holds the values (often called x). The right column holds the frequencies (often called f). The table is just a short way of writing the full list of data. Press Unpack to turn it back into that list.

Total frequency = how many data values there are. Add up the frequency column. In the goals table, 4 + 6 + 5 + 3 + 2 = 20, so there were 20 matches. Adding the value column (0 + 1 + 2 + 3 + 4 = 10) means nothing at all: those are just the possible scores, each written once.

4 · Mode, median and range from a table

Quick reminder from the averages and range page: the mode is the most common value, the median is the middle value when the data is in order, and the range is largest value − smallest value. A frequency table is already in order, so all three come straight out of it.

Common mistakes.

5 · The mean from a frequency table

The mean shares the total out equally: add up all the data values, then divide by how many values there are. With a frequency table you need to be careful about both parts.

Think about the row 2 | 8 in the "people in 30 cars" table: 8 cars each had 2 people. Unpacked, that's 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2, which is a quick 2 × 8 = 16 people. So we add a third column, f × x (frequency times value), to get each row's contribution to the total. Then

mean = total of f × x ÷ total of f

Step through it one line at a time.

The three classic mean mistakes (for the cars table, where the correct mean is 65 ÷ 30 ≈ 2.17):

Sense check: the mean must lie between the smallest and largest values (here between 1 and 5) and is usually near the rows with big frequencies. 13 people in a car is clearly impossible.

6 · Grouped frequency tables

Here are the times, in minutes, that 20 pupils spent on homework last night. Almost every time is different, so a row for each value would be no tidier than the raw list. Instead we sort the data into groups called class intervals, such as "10 to 20 minutes".

But which group does exactly 20 minutes go in, "10 to 20" or "20 to 30"? Inequality symbols settle it. The class 10 ≤ t < 20 means "t is at least 10 and less than 20":

Drag each time into its class (or tap a time, then tap a row). Watch the number line: filled dots show where each class starts, open dots where it stops.

Once the data is grouped, we lose the exact values: the table only says that 7 pupils took somewhere from 20 up to 30 minutes. So:

Why "estimate"? Some values in a class are below the midpoint and some are above. If they roughly balance out, the estimate is close, but you can't be sure because the real values are hidden. That's why the answer must be called an estimate, and why you should never say it is exact. Also: the range can only be estimated from a grouped table, for the same reason. For more on describing the shape of data, see distributions and correlation.

7 · Practice: spot the mistake

Every question is new. Type a number and press Check. If you're wrong, the feedback tries to work out which of the common mistakes you made: adding the value column, dividing by the number of rows, dividing by the total of the values, giving the frequency as the mode, or giving the position as the median.

Worked examples

Make a frequency table from raw data

20 pupils were asked how many brothers and sisters they have:
1, 2, 0, 1, 3, 1, 2, 2, 0, 1, 4, 1, 2, 0, 1, 3, 2, 1, 1, 2

Decide the rows. The smallest value is 0 and the largest is 4, so the rows are 0, 1, 2, 3, 4. This is discrete data (you count siblings).
Tally. Go through the list in order, crossing off each number and putting a stroke in its row. Every fifth stroke closes a gate.
SiblingsTallyFrequency
03
18
26
32
41
Count the tallies: 1 has one gate and three strokes, 5 + 3 = 8; 2 has one gate and one stroke, 5 + 1 = 6.
Check: 3 + 8 + 6 + 2 + 1 = 20, which matches the 20 pupils ✓
Bonus: the biggest frequency is 8, in the row for 1, so the mode is 1 sibling.
Mode, median and range: shoe sizes of 25 pupils
Size xFreq fRunning total
322
457
5815
6621
7324
8125
Mode: the biggest frequency is 8, in the row for size 5. Mode = size 5 (not 8).
Total frequency: n = 2 + 5 + 8 + 6 + 3 + 1 = 25 pupils.
Median position: (25 + 1) ÷ 2 = 26 ÷ 2 = 13, so we want the 13th pupil.
Count down with running totals: pupils 1–2 wear size 3; pupils 3–7 wear size 4 (running total 7); pupils 8–15 wear size 5 (running total 15). The 13th pupil is between 8th and 15th, so median = size 5.
Range: largest size − smallest size = 8 − 3 = 5. (Not 8 − 1 = 7, which uses the frequency column.)
The mean from a frequency table: people in 30 cars
People xCars ff × x
11212 × 1 = 12
288 × 2 = 16
355 × 3 = 15
433 × 4 = 12
522 × 5 = 10
Total3065
Each f × x is a row's share of the total. For example, 8 cars with 2 people carry 16 people.
Total number of people: 12 + 16 + 15 + 12 + 10 = 65.
Total number of cars: 12 + 8 + 5 + 3 + 2 = 30.
Mean: 65 ÷ 30 = 2.1666… = 2.17 people per car (2 d.p.).
Sense check: 2.17 is between 1 and 5, and close to the busy rows 1 and 2 ✓. Dividing by the 5 rows would give 13, which is impossible.
An even total: median and mean of goals in 20 matches
Goals xFreq fRunning totalf × x
0440
16106
251510
33189
42208
Total2033
Median position: (20 + 1) ÷ 2 = 10.5. There's no "10.5th match", so the median is halfway between the 10th and 11th values.
Find them: matches 5–10 scored 1 goal (running total 10), so the 10th value is 1. Matches 11–15 scored 2 goals, so the 11th value is 2.
Median = (1 + 2) ÷ 2 = 1.5 goals. (A median doesn't have to be a value in the table.)
Mean: total goals = 0 + 6 + 10 + 9 + 8 = 33; total matches = 20; mean = 33 ÷ 20 = 1.65 goals.
Also: mode = 1 goal (frequency 6); range = 4 − 0 = 4 goals.
Grouped data: journey times of 30 pupils
Time t (min)fMidf × mid
0 ≤ t < 107535
10 ≤ t < 201115165
20 ≤ t < 30825200
30 ≤ t < 40435140
Total30540
Modal class: the biggest frequency is 11, so the modal class is 10 ≤ t < 20.
Median class: n = 30, position (30 + 1) ÷ 2 = 15.5, so between the 15th and 16th pupils. Running totals: 7, then 7 + 11 = 18. Pupils 8–18 are in 10 ≤ t < 20, so the median is in 10 ≤ t < 20.
Midpoints: (0 + 10) ÷ 2 = 5, (10 + 20) ÷ 2 = 15, then 25 and 35.
f × midpoint: 7 × 5 = 35, 11 × 15 = 165, 8 × 25 = 200, 4 × 35 = 140. Total = 35 + 165 + 200 + 140 = 540.
Estimated mean = 540 ÷ 30 = 18 minutes. It's an estimate because we assumed every pupil's time was exactly the midpoint of their class.
Exam-style: a missing frequency

A table shows the scores of 15 people: score 1 has frequency 6, score 2 has frequency k, score 3 has frequency 4. Find k and the mean score.

Use the total frequency: 6 + k + 4 = 15, so k = 15 − 10 = 5.
f × x column: 6 × 1 = 6, 5 × 2 = 10, 4 × 3 = 12. Total = 6 + 10 + 12 = 28.
Mean = 28 ÷ 15 = 1.8666… = 1.87 (2 d.p.). Between 1 and 3 ✓

Quick check

What you've learned