Note AcademyNote Academy

Mathematics (Syllabus D) 4024 · Chapter 9

Statistics

Two-way and tally tables, bar charts, pie charts, pictograms, scatter diagrams, histograms and cumulative frequency, then the mean, median, mode, range and quartiles, with grouped data and exam-style questions.

Written for the 2025–2027 syllabus · 15 min read

Types of tables, charts and diagrams

Two-way table

GlassesNo glassesTotal
Boys61016
Girls8614
Total141630

The total at the end of each row and column is the total for that individual row or column.

Tally table

ColourTallyFrequency
Red|||| ||||9
Blue|||3
Green|||| |||| ||12

Each mark (|) represents one of that thing. One complete group (shown here with a line through it) represents 5.

Frequency is the number of times a particular value or event occurs within a set of data.

Bar charts

In a bar chart, the bars are separated.

A bar chart of the number of pets adopted this month: cats 8, dogs 12, goats 4 and parrots 20

A bar chart of the number of pets adopted this month: cats 8, dogs 12, goats 4 and parrots 20

The bar chart below is called a stacked bar chart. This is used to show how a total is split.

A stacked bar chart of the number of men, women and children in each of four houses

A stacked bar chart of the number of men, women and children in each of four houses

The last type of bar graph is the dual (side-by-side) bar graph. It is used when comparing two different groups side by side.

A dual bar chart of the income of three people in 2015 and 2016, with a pair of bars for each person

A dual bar chart of the income of three people in 2015 and 2016, with a pair of bars for each person

Pie charts

Pie charts show how a whole is divided into parts. Each slice represents a category's share out of the total.

A pie chart of the global religious landscape: Christianity 31.8 percent, Others 27.1 percent, Islam 25.9 percent and Hinduism 15.2 percent

A pie chart of the global religious landscape: Christianity 31.8 percent, Others 27.1 percent, Islam 25.9 percent and Hinduism 15.2 percent

A pie chart with four slices: Yoga, Running with an angle of 135 degrees, Cycling with a right angle, and Other with an angle of 60 degrees

A pie chart with four slices: Yoga, Running with an angle of 135 degrees, Cycling with a right angle, and Other with an angle of 60 degrees

(i) Running is 135∘135^\circ out of 360∘360^\circ, and that is 90 people. Let the total be nn:

135360×n=90⇒n=90×360135=240\frac{135}{360} \times n = 90 \quad\Rightarrow\quad n = 90 \times \frac{360}{135} = 240

(ii) Angles around a point add up to 360∘360^\circ. The cycling slice has a right angle (90∘90^\circ). So the yoga angle is:

360−(135+90+60)=360−285=75∘360 - (135 + 90 + 60) = 360 - 285 = 75^\circ

Fraction=75360=524\text{Fraction} = \frac{75}{360} = \frac{5}{24}

Pictograms

Pictograms use pictures or icons to represent data. There will always be a key that tells what each symbol represents.

TankNumber of fish
A3 symbols (6 fish)
B2 symbols (4 fish)
C4 symbols (8 fish)

Key: 1 symbol =2= 2 fish.

Scatter diagrams

A scatter diagram is a graph that shows the relationship between two variables by plotting points. Each point represents one person or thing and has two values.

Draw a line of best fit: a straight line that goes through the middle of the points, to check the trend of the points.

A scatter diagram of hours spent on social media against hours spent book reading, with the points falling from top left to bottom right and a line of best fit drawn through them

A scatter diagram of hours spent on social media against hours spent book reading, with the points falling from top left to bottom right and a line of best fit drawn through them

In this example, the line of best fit shows a negative correlation, which means that an increase in one thing means a decrease in the other.

Histograms

A histogram shows grouped data. The bars touch in this graph because the data is continuous. Continuous data is divided into intervals and then used in the histogram to make better sense of the data.

Speed (ss km/h)20<s≤3020 < s \le 3030<s≤4030 < s \le 4040<s≤4540 < s \le 4545<s≤5045 < s \le 5050<s≤7050 < s \le 70
Frequency2446443828
Class width10105520
Frequency density2.44.68.87.61.4

A histogram of speeds with bars of different widths: 20 to 30 is 2.4 high, 30 to 40 is 4.6, 40 to 45 is 8.8, 45 to 50 is 7.6 and 50 to 70 is 1.4

A histogram of speeds with bars of different widths: 20 to 30 is 2.4 high, 30 to 40 is 4.6, 40 to 45 is 8.8, 45 to 50 is 7.6 and 50 to 70 is 1.4
Steps (nn thousand)5<n≤85 < n \le 88<n≤108 < n \le 1010<n≤1210 < n \le 1212<n≤1512 < n \le 1515<n≤2015 < n \le 20
Frequency91614156
Class width32235
Frequency density38751.2

(i) Use the formula for frequency density. For example, 8<n≤108 < n \le 10 has 162=8\frac{16}{2} = 8. The bar heights are 3, 8, 7, 5 and 1.2.

(ii) We only want values from 11 to 20.

  • In 10<n≤1210 < n \le 12, only part of the interval (from 11 to 12) counts. Half of the frequency in this group belongs to 11<n≤1211 < n \le 12, so we take half of 14=714 = 7 days.
  • From 12 to 15: all values count, 1515 days.
  • From 15 to 20: all values count, 66 days.

7+15+660×100=46.7%\frac{7 + 15 + 6}{60} \times 100 = 46.7\%

Cumulative frequency diagrams

A cumulative frequency diagram shows how many data values are less than or equal to a certain number. It helps us see totals building up.

A cumulative frequency curve of heights from 1.1 m to 1.6 m, rising in an S shape from 0 to 80

A cumulative frequency curve of heights from 1.1 m to 1.6 m, rising in an S shape from 0 to 80

For example, this graph shows us that most of the people's heights lie between 1.3 and 1.4 m (the curve is steepest there).

This graph is useful in determining:

  • Median: halfway up the yy-axis.
  • Lower quartile (Q1Q_1): 14\frac14 of the total frequency.
  • Upper quartile (Q3Q_3): 34\frac34 of the total frequency.
  • Inter-quartile range =Q3−Q1= Q_3 - Q_1.

(a) Median. 802=40\frac{80}{2} = 40th value. Read across from 40 on the vertical axis to the curve, then down: 1.33 m.

(b) 30th percentile. 30100×80=24\frac{30}{100} \times 80 = 24th value. Read across from 24 to the curve, then down: 1.28 m.

(c) Value of yy. 25×80=32\frac25 \times 80 = 32 trees are in Class I, so the other 80−32=4880 - 32 = 48 trees are not. Read across from 48 to the curve, then down: y=y = 1.36 m.

(d) Frequency table. The frequency is the difference between consecutive cumulative frequencies, read from the curve at h=1.1,1.2,1.3,1.4,1.5,1.6h = 1.1, 1.2, 1.3, 1.4, 1.5, 1.6:

Height (hh m)1.1<h≤1.21.1 < h \le 1.21.2<h≤1.31.2 < h \le 1.31.3<h≤1.41.3 < h \le 1.41.4<h≤1.51.4 < h \le 1.51.5<h≤1.61.5 < h \le 1.6
Cumulative frequency630587680
Frequency62428184

(For example, 58−30=2858 - 30 = 28 and 80−76=480 - 76 = 4.)

Height (hh m)1.5<h≤1.71.5 < h \le 1.71.7<h≤1.81.7 < h \le 1.81.8<h≤1.91.8 < h \le 1.91.9<h≤2.31.9 < h \le 2.3
Frequencypp1517qq
Midpoint1.61.751.852.1

Because there are 2 unknown variables, we need to make simultaneous equations.

The frequencies add up to 50: p+15+17+q=50p + 15 + 17 + q = 50, so

p+q=18(1)p + q = 18 \qquad \text{(1)}

The mean is the sum of frequency×midpoint\text{frequency} \times \text{midpoint} divided by the total:

1.81=1.6p+1.75(15)+1.85(17)+2.1q501.81 = \frac{1.6p + 1.75(15) + 1.85(17) + 2.1q}{50}

1.81×50=1.6p+26.25+31.45+2.1q⇒1.6p+2.1q=32.8(2)1.81 \times 50 = 1.6p + 26.25 + 31.45 + 2.1q \quad\Rightarrow\quad 1.6p + 2.1q = 32.8 \qquad \text{(2)}

Solving: from (1), p=18−qp = 18 - q. Substituting into (2): 1.6(18−q)+2.1q=32.81.6(18 - q) + 2.1q = 32.8, so 28.8+0.5q=32.828.8 + 0.5q = 32.8, so q=8q = 8 and p=10p = 10.

Frequency polygons

A frequency polygon is a line graph made by joining the midpoints of the top of each bar from a bar chart or histogram. It is used to show trends or patterns in data and is great for comparing the shapes of data.

The speeds histogram with a purple frequency polygon joining the midpoints of the tops of the bars

The speeds histogram with a purple frequency polygon joining the midpoints of the tops of the bars

Averages and spread

Mean

The mean is one of the ways to get the average of a dataset. You add all the numbers and divide by how many there are.

Mean=140+145+150+150+1555=7405=148 cm\text{Mean} = \frac{140 + 145 + 150 + 150 + 155}{5} = \frac{740}{5} = 148\text{ cm}

Median

The median is the middle number when the data is in order. Use the formula below to get the position of the median term.

If the answer has .5.5 in it, take the average of the two terms either side. For example, if the position is 4.5, take the average of the 4th and 5th terms.

The position is 12(5+1)=3\frac12(5 + 1) = 3, so the median is the 3rd value: 150 cm. (Cut one term from each side repeatedly.)

Mode

The value that comes up the most.

150 appears twice, so the mode is 150 cm.

Range

It is the difference between the biggest and smallest value. It shows how spread out the data is.

Range=155−140=15 cm\text{Range} = 155 - 140 = 15\text{ cm}

Mean of grouped data

When values are in groups, we don't know the exact numbers. So we use the midpoint of each group.

MarksFrequency (ff)Midpoint (xx)fxfx
0–104520
10–2061590
20–301025250
30–40535175

∑fx=535,∑f=25⇒Mean=53525=21.4\sum fx = 535, \quad \sum f = 25 \quad\Rightarrow\quad \text{Mean} = \frac{535}{25} = 21.4

The class (range) with the highest frequency. From the table above, the highest frequency is 10, so the modal class is 20–30.

Cumulative frequency table

We add up frequencies step by step to get a cumulative frequency table.

MarksFrequencyCumulative frequency
0–1044
10–20610
20–301020
30–40525

Quartiles and IQR

  • Q1Q_1 (lower quartile): the 25% point, term =14(n+1)= \frac14(n + 1).
  • Q2Q_2 (median): the 50% point.
  • Q3Q_3 (upper quartile): the 75% point, term =34(n+1)= \frac34(n + 1).
  • Inter-quartile range =Q3−Q1= Q_3 - Q_1. It shows the spread of the middle 50% of the data.
Test yourself30 flashcards on this chapter.Flashcards →

Practise this chapter

Every past-paper question on these topics, with the mark scheme.