IB Psychology HL Topic 5 — Data Analysis Paper 3 & IA HL only ~10 min read

Frequency Tables and Grouped Data

A frequency table turns a messy pile of scores into something you can actually read. It also contains a trap that catches a very large number of students: when you calculate the mean from a frequency table, you divide by the total frequency, not by the number of rows. Get that wrong and every figure after it is wrong too.

📚 What you need to know

From raw scores to a summary

What a frequency table is actually for It is a stepping stone, not the end of the analysis. RAW SCORES 4, 3, 5, 4, 3, 4 … TALLY IIII IIII II FREQUENCY score and count SUMMARY mean, median, mode The table exists so you can calculate, not so it can be admired. Exam questions nearly always ask you to take one more step from the table.
Tallying in fives is not decoration — grouping marks into blocks of five is what makes a long count checkable without recounting.

The worked table

Here is a frequency table for the number of goals scored in each match by a school team over one season.

Goals scoredFrequency (number of matches)Score × frequencyCumulative frequency
1111
2364
3113315
4208035
584043
Total4316043

Now read the four statistics straight off it.

Mode = 4. Four goals happened in 20 matches, more than any other score. Notice the mode is the score in column one, not the frequency of 20.

Mean = 160 ÷ 43 = 3.72. This is the line to be careful with. You add up the score × frequency column to get 160, then divide by the total frequency — the 43 matches. Dividing by 5 because there are five rows would give 32, which is impossible when the highest score is 5. Dividing by 10 would give 16, which is equally impossible. If your mean falls outside the range of your scores, you have divided by the wrong thing.

Median = 4. There are 43 matches, so the middle one is the 22nd. Run down the cumulative frequency column: after score 3 you have reached 15 matches; after score 4 you have reached 35. The 22nd match therefore falls inside the score of 4.

Range = 5 − 1 = 4. Highest score minus lowest score, using the score column.

Mean from a frequency table mean = sum of (score × frequency) ÷ total frequency
Sanity-check every mean you calculate. It must land somewhere between your lowest and highest score. That one habit catches almost every arithmetic slip on this topic before it costs you marks.

Grouped frequency tables

When there are too many distinct values to list — reaction times in milliseconds, say, or ages across a whole school — the scores are grouped into intervals instead. The trade is straightforward: the table becomes readable, but you lose the individual values, so you can only estimate the mean using the midpoint of each interval.

IntervalMidpointFrequencyMidpoint × frequency
0 to 94.529
10 to 1914.5687
20 to 2924.59220.5
30 to 3934.53103.5
Total20420

The estimated mean is 420 ÷ 20 = 21. It is an estimate because you have assumed every score inside an interval sits exactly at the midpoint, which it will not. The modal class here is 20 to 29 — with grouped data you can name the interval containing the mode, but not the mode itself.

Intervals must not overlap. “0 to 10” followed by “10 to 20” is a genuine error, because a score of 10 could go in either. Use 0 to 9 and 10 to 19, or state the boundary rule explicitly.

🧩 Getting every statistic out of a frequency table

  1. Add a score × frequency column and total it. That total is the sum of all the raw scores.
  2. Total the frequency column. This is your n, and it is what you divide by.
  3. Mean = the first total divided by the second.
  4. Add a cumulative frequency column by running totals down the table.
  5. Median = find position (n + 1) ÷ 2, then read across to the score where the cumulative frequency first passes it.
  6. Mode = the score in the row with the biggest frequency. Range = highest score minus lowest score.

Worked examples

WORKED EXAMPLE

Calculate the mean from a frequency table

A researcher records how many times each of 25 participants checks their phone during a one-hour lesson. Scores of 0, 1, 2, 3 and 4 occur with frequencies of 2, 5, 9, 6 and 3. Calculate the mean, and check it is sensible.

Step 1: Multiply each score by its frequency 0×2 = 0, 1×5 = 5, 2×9 = 18, 3×6 = 18, 4×3 = 12 Step 2: Total those products 0 + 5 + 18 + 18 + 12 = 53 Step 3: Total the frequencies 2 + 5 + 9 + 6 + 3 = 25, which matches the 25 participants. Step 4: Divide, then sanity-check 53 ÷ 25 = 2.12, which sits between 0 and 4, so it is plausible. Mean = 2.12 checks per lesson the frequency total should equal your sample size — a free error check
WORKED EXAMPLE

Find the median using cumulative frequency

Using the same data (scores 0 to 4 with frequencies 2, 5, 9, 6, 3), find the median and the mode.

Step 1: Build the cumulative frequency 2, 7, 16, 22, 25 Step 2: Find the median position n = 25, so position = (25 + 1) ÷ 2 = 13th value. Step 3: Read down the cumulative column After score 1 you have 7 values; after score 2 you have 16. The 13th value therefore has a score of 2. Step 4: Mode The largest frequency is 9, which belongs to a score of 2. Median = 2, mode = 2 the mode is the score, never the frequency itself

💡 Exam tip

⚠ Common mix-up

Up next: Distributions and the Shape of Data — what those frequencies look like when you plot them, and why the shape changes which average you should trust.

Want this explained one-to-one?

Book a free session with an experienced IB Psychology tutor and get your trickiest topics made simple.

Book a Free Session →