Data Representation
CIE A-Level Mathematics· Unit 4: Probability & Statistics 1· 34 min read
1. Frequency Distributions★☆☆☆☆⏱ 5 min
A frequency distribution organises raw data into non-overlapping classes, showing how many observations (frequency) fall into each class. For ungrouped discrete or categorical data, each value/category is its own class. For grouped continuous data, we use class boundaries to eliminate gaps between adjacent classes.
Class Boundaries
The actual upper and lower limits of a grouped data class, adjusted to avoid gaps between classes
Example:
A class written as for whole-number data has boundaries and
The following are heights (cm) of 20 students: 152, 156, 161, 162, 164, 165, 167, 168, 169, 170, 171, 172, 173, 175, 176, 178, 180, 181, 183, 185. Construct a grouped frequency distribution with 4 equal-width classes.
- 1
Calculate the range of the data and find class width:
- 2
- 3
Define classes and their boundaries, then count frequencies:
- 4
Stated Class Class Boundaries Frequency 150-158 149.5-158.5 2 159-167 158.5-167.5 5 168-176 167.5-176.5 8 177-185 176.5-185.5 5
Exam tip:
Always write down class boundaries even if not asked, to avoid mistakes in later histogram calculations.
2. Histograms★★☆☆☆⏱ 6 min
Unlike bar charts, the area of each bar in a histogram equals frequency, not the height. This is critical for unequal class widths. The height of each bar (frequency density) is calculated with the standard formula:
Frequency Density
The height of a histogram bar, scaled so that area of the bar equals the class frequency
A grouped frequency distribution has a class with frequency 12, and a class with frequency 28. Calculate the height of each bar for a histogram.
- 1
Find class boundaries and widths for each class:
- 2
- 3
Calculate frequency density (height) for each bar:
- 4
- 5
The areas check out: and , matching the class frequencies.
Exam tip:
CIE almost always uses unequal class widths for histogram questions, so always check class width before calculating frequency density.
3. Stem-and-Leaf Plots★☆☆☆☆⏱ 4 min
A stem-and-leaf plot is a simple visual display that retains all original data values, making it easy to find the median and quartiles directly from the plot. Back-to-back stem-and-leaf plots are used to compare two distributions.
Draw an ordered stem-and-leaf plot for the following test scores out of 50: 12, 45, 23, 17, 31, 25, 29, 35, 41, 19, 22, 32.
- 1
Use the tens digit as the stem, so stems are 1, 2, 3, 4. Sort the units digits (leaves) for each stem in ascending order:
- 2
Stem Leaves 1 2 7 9 2 2 3 5 9 3 1 2 5 4 1 5 - 3
Add a key to explain the plot: Key: marks. The median can be read directly as the average of the 6th and 7th values: .
Exam tip:
In CIE marking a missing key usually costs an accuracy mark, so add a clear key after every stem-and-leaf plot.
4. Box-and-Whisker Plots★★☆☆☆⏱ 5 min
A box plot displays the five-number summary of a data set: minimum, lower quartile (), median (), upper quartile (), maximum. In the CIE convention the whiskers are drawn all the way out to the smallest and largest values, so the total span of the whiskers shows the range. Some questions give the rule that a value is an outlier if it is less than or greater than (where ); this is a separate calculation used only when a question asks you to identify outliers, and it does not change how the standard box plot is drawn.
A data set has , median , , minimum , maximum . Draw the box plot and identify any outliers.
- 1
Calculate the interquartile range:
- 2
- 3
Calculate outlier boundaries:
- 4
- 5
All values fall between and , so there are no outliers. Draw a box from 20 to 36 with a line at 28, and whiskers to 12 and 52.
Exam tip:
When comparing two box plots, always make two comments: one about central tendency (median) and one about spread (IQR/range).
5. Cumulative Frequency Graphs★★★☆☆⏱ 6 min
A cumulative frequency graph shows the running total of frequencies. Each cumulative frequency is plotted against the UPPER class boundary of its class, and the points are joined with a smooth curve. The graph is used to estimate the median, quartiles and percentiles, and to find the number or proportion of values above or below a given value (or between two values).
Cumulative Frequency
The running total of all frequencies up to and including the upper boundary of a class.
Example:
If the classes , , have frequencies , the cumulative frequencies at boundaries are .
The table shows the time (t minutes) taken by 80 people to complete a task.
| Time (min) | Frequency |
|---|---|
| 6 | |
| 14 | |
| 24 | |
| 20 | |
| 16 |
Estimate the median and interquartile range, and the proportion of people taking less than 25 minutes.
- 1
Form the cumulative frequencies at the upper class boundaries :
- 2
Time 10 20 30 40 50 Cumulative frequency 6 20 44 64 80 - 3
Plot the points and join with a smooth curve.
- 4
Read the median at cumulative frequency :
- 5
- 6
Read the quartiles at and , giving min and min, so min.
- 7
For the proportion under 25 min, read up from : the cumulative frequency is about , so roughly of people take less than 25 minutes.
Exam tip:
Always plot cumulative frequency against the UPPER class boundary, never the midpoint, and read the median at (not ) when estimating from the curve.
6. Measures of Central Tendency★★☆☆☆⏱ 5 min
The three averages, or measures of central tendency, are the mean, the median and the mode. For a frequency distribution the mean is ; for grouped data you use the class midpoint as . The median is the middle value when the data are in order, and the mode (or modal class) is the value (or class) with the highest frequency.
The number of goals scored by a team in 24 matches is summarised below. Find the mean, median and mode.
| Goals | 0 | 1 | 2 | 3 | 4 |
|---|---|---|---|---|---|
| Frequency | 5 | 8 | 6 | 3 | 2 |
- 1
Mean: form and divide by :
- 2
- 3
Median: with , the median is the mean of the 12th and 13th values. The cumulative frequencies are , so both the 12th and 13th values are , giving a median of .
- 4
Mode: the highest frequency is , at , so the mode is . (For grouped continuous data you would instead state the modal class.)
Exam tip:
For grouped data the mean is only an estimate, because you replace each class by its midpoint; give answers to 3 significant figures unless told otherwise.
7. Measures of Variation: Range, IQR and Standard Deviation★★★☆☆⏱ 8 min
Spread (variation) is measured by the range (), the interquartile range () and — the most heavily examined measure in this unit — the standard deviation. The standard deviation is the root-mean-square distance of the values from the mean; its square is the variance.
Standard Deviation (S1 convention)
A measure of spread found by dividing by (or ), never by . The (unbiased estimator) version is not used in this unit.
Example:
Both formulae above are given in the MF19 list; you only need to substitute the totals and .
A set of 10 values has and . Find the mean and standard deviation.
- 1
Mean:
- 2
- 3
Standard deviation (divide by , not ):
- 4
Coding makes large numbers easier: subtracting a constant and working with the totals and shifts the mean by but leaves the standard deviation unchanged, since and .
For the five values , use the coding to find the mean and standard deviation.
- 1
Coded values are , so and with .
- 2
- 3
- 4
To combine two data sets, add their totals: , and , then use the same formulae.
Exam tip:
The mean and standard deviation formulae are given in MF19, so marks come from clean substitution: show and , keep full accuracy, and always divide by (or ), never .
8. Common Pitfalls
Wrong move:
Treating the height of a histogram bar as equal to frequency for unequal class widths
Why:
This leads to incorrect bar areas, so any estimates from the histogram will be wrong
Correct move:
Always calculate height as frequency density = frequency / class width, regardless of class width equality
Wrong move:
Forgetting to add a key to a stem-and-leaf plot
Why:
CIE marking expects a key to confirm what the values represent, so a missing key usually costs an accuracy mark
Correct move:
Always add a simple key like after drawing your plot
Wrong move:
Calculating class width from stated class limits instead of boundaries
Why:
For the class 10-19, the difference between 19 and 10 is 9, but the actual width is 10, leading to wrong frequency density
Correct move:
Always calculate width as upper boundary minus lower boundary
Wrong move:
Stopping the whiskers before the smallest or largest value and marking outliers as separate crosses
Why:
That is the modified box plot used by some other boards; in the CIE convention the whiskers must reach the smallest and largest data values
Correct move:
Draw the whiskers to the minimum and maximum, so they show the range; only identify outliers separately when a question explicitly asks
Wrong move:
Only commenting on one feature when comparing two box plots
Why:
Most comparison questions are worth two marks, one for each feature
Correct move:
Always comment on both the difference in median (centre) and difference in spread (IQR/range)
9. Quick Reference Cheatsheet
Display Type | Key Rule | Required Check |
|---|---|---|
Grouped frequency distribution | Always calculate class boundaries first | No overlapping classes |
Histogram | Area = frequency | Height = frequency ÷ class width |
Stem-and-leaf plot | Retains all raw data values | Must include a clear key |
Box plot | Five-number summary; whiskers to min & max | Whiskers show the range; mark outliers only if asked |
Cumulative frequency graph | Plot cumulative frequency at the upper class boundary | Median at n/2, quartiles at n/4 and 3n/4 |
Mean / median / mode | Mean = Σfx ÷ Σf | Use class midpoints for grouped data |
Standard deviation | sd = √(Σx² ÷ n − mean²) | Divide by n (or Σf), never n − 1 |
Comparing data sets | Two comments: one location, one spread | e.g. median/mean + IQR/sd, in context |
10. Frequently Asked
What is the difference between a bar chart and a histogram?
Bar charts are for categorical/discrete data with gaps between bars, and height equals frequency. Histograms are for continuous grouped data, no gaps, and area equals frequency.
How do I calculate class width?
Class width = upper class boundary lower class boundary. Do not use the difference between stated class limits, which will give the wrong value for whole-number grouped data.
Going deeper
What's Next
Data representation is the foundation for all further statistics topics in CIE A-Level, as you need to be able to organise and interpret raw data before you can calculate probabilities, analyse relationships or draw valid statistical conclusions. Mastery of the construction rules for histograms, stem-and-leaf plots, cumulative frequency graphs and box plots, together with the summary measures (mean, median, mode and standard deviation), is required for both standalone questions and combined questions that ask you to interpret results alongside measures of central tendency and spread, or that lead into probability and the normal distribution. This sub-topic is almost always examined for 5-10 marks per paper, so consistent accuracy here translates directly to higher overall grades.
