IB Mathematics: Analysis and Approaches · Topic 4 · Statistics and probability
4.2 Presenting data
Organise raw data into frequency tables, draw and interpret bar charts, histograms and box plots, and compare the displays.
1/5A frequency table organises raw data into counts
Part 1 of 5: A frequency table organises raw data into counts
Imagine asking 20 students how many siblings they have. The answers as collected are called raw data. Written in order of asking, they are hard to read at a glance.
Count how often each value occurs. This count is the frequency, written . A frequency table lists each value with its frequency. The frequencies must add up to the number of items.
Tally marks help when counting by hand. Draw one stroke per item and group the strokes in fives.
Worked example
Building a frequency table
- Count each value: 0 appears 3 times, 1 appears 8 times and 2 appears 6 times.
- Continue: 3 appears 2 times and 4 appears once.
- Check the total: .
Answer: Siblings 0, 1, 2, 3, 4 have frequencies .
Key terms · tap one for its definition
frequency
The frequency of a value or class is the number of data items it contains, written .
frequency table
A frequency table is a table that lists each value or class together with its frequency.
Part 2 of 5: A bar chart shows frequency for separate values
A table is useful, but a picture shows the pattern faster. Now draw the sibling data as a bar chart. Each value gets one bar, and the height of the bar equals its frequency.
Bars have equal widths and gaps between them, because the values are separate. This suits data in categories, such as eye colour. It also suits discrete data, which are counted values like the number of siblings.
Label both axes and give the chart a title. Start the frequency axis at zero. Otherwise the bar heights mislead.
Key terms · tap one for its definition
bar chart
A bar chart is a diagram with separated bars whose heights show the frequency of each category or discrete value.
discrete data
Discrete data are data that take separate values, usually found by counting.

Quick check
One question on the part you just read
Easy
Show answer and explanation
Answer: C · Worked explanation
Part 3 of 5: Histograms show grouped measured data using frequency density
Heights, times and masses can take any value in a range. To display them, group the values into classes. Each range, such as , is a class interval. A histogram then draws one bar for each class, with no gaps between bars.
When all classes have the same width, bar height can show frequency. When widths differ, the area of each bar must show frequency. Then the height is the frequency density: .
Worked example
Frequency density
- Find the class widths: 10, 20 and 10 minutes.
- First class: .
- Second class: .
- Third class: .
Answer: The frequency densities are 0.8, 1.5 and .
Key terms · tap one for its definition
class interval
A class interval is a range of values, such as , that groups data in a table or histogram.
histogram
A histogram is a diagram of touching bars for grouped data, with the area of each bar showing the class frequency.
frequency density
The frequency density of a class is its frequency divided by its class width.
Part 4 of 5: A box plot shows median, quartiles and outliers
Histograms show shape, but sometimes you only need a summary. A box plot displays five values: the minimum, lower quartile, median, upper quartile and maximum. The box runs from the lower to the upper quartile, with a line at the median.
A quartile splits ordered data into four equal parts. The lower quartile has a quarter of the data below it. The upper quartile has a quarter above it. The interquartile range is .
Whiskers reach the smallest and largest values that are not outliers. An outlier is a value more than above or below . Mark outliers with a cross.
Worked example
Finding an outlier
- There are 11 values, so the median is the 6th value: 12.
- Lower half: 4, 6, 7, 9, 10, so . Upper half: 13, 14, 16, 18, 31, so .
- .
- Upper limit: . Since , the value 31 is an outlier.
- Lower limit: , so there is no low outlier.
Answer: The value 31 is an outlier. The whiskers run from 4 to 18.
Key terms · tap one for its definition
box plot
A box plot is a diagram of the minimum, lower quartile, median, upper quartile and maximum, drawn on a number line.
quartile
A quartile is one of three values that split ordered data into four parts, each holding a quarter of the data.
outlier
An outlier is a value more than above the upper quartile or below the lower quartile.

Quick check
One question on the part you just read
Easy
Show answer and explanation
Answer: D · Worked explanation
Part 5 of 5: The best display depends on the data and the question
You now have three displays. Match each one to the type of data and to what you want to show.
Three ways to display data
- Display
- Bar chart
- Suits
- Categories or discrete data
- Shows well
- Frequency of each value
- Display
- Histogram
- Suits
- Grouped measured data
- Shows well
- Shape, with area as frequency
- Display
- Box plot
- Suits
- Numerical data
- Shows well
- Median, spread and outliers
To compare two data sets, draw two box plots on the same scale. Compare the medians for the typical value and the interquartile ranges for the spread. Mention any outliers.
Grouped displays hide the original values. A histogram can show that most journeys last under 30 minutes, but not the exact times.
Check your recall[14 marks]
6 written questions. Answer each one in your head or on paper, then open the mark scheme.
- 1.Describe[2 marks]
Describe how a frequency table is made from raw data.
Show mark schemeHide mark scheme
Model answer
List each distinct value. Count how many times each value occurs and write this frequency beside it, checking that the frequencies add up to the number of items.
- 1 mark for listing each value and counting how often it occurs
- 1 mark for recording the frequencies and checking that they sum to the total number of items
- 2.Distinguish[3 marks]
Distinguish between a bar chart and a histogram.
Show mark schemeHide mark scheme
Model answer
A bar chart has separate bars with gaps and suits categories or discrete data. A histogram has touching bars and suits grouped measured data. When class widths differ, a histogram uses frequency density for the bar height.
- 1 mark for stating that bar charts have gaps between bars and histograms have none
- 1 mark for stating that bar charts suit categories or discrete data and histograms suit grouped measured data
- 1 mark for stating that histogram bars use frequency density when class widths are unequal
- 3.Calculate[2 marks]
Calculate the frequency density of a class of width 10 with frequency 45.
Show mark schemeHide mark scheme
Model answer
.
- 1 mark for dividing the frequency by the class width
- 1 mark for obtaining 4.5
- 4.Determine[3 marks]
Determine whether 38 is an outlier in a data set with and .
Show mark schemeHide mark scheme
Model answer
. The upper limit is . Since , the value 38 is an outlier.
- 1 mark for finding
- 1 mark for finding the upper limit of 34
- 1 mark for concluding that 38 is an outlier because it is above the limit
- 5.State[1 mark]
State what the box in a box plot covers.
Show mark schemeHide mark scheme
Model answer
The box covers the middle half of the data, from the lower quartile to the upper quartile.
- 1 mark for stating that it extends from the lower quartile to the upper quartile, containing the middle half of the data
- 6.Compare[3 marks]
Compare Class A, with median 62 and interquartile range 10, with Class B, with median 70 and interquartile range 20.
Show mark schemeHide mark scheme
Model answer
Class B has the higher median, so its typical result is higher. Class B also has the larger interquartile range, so its results are more spread out. Class A is more consistent.
- 1 mark for stating that Class B has the higher median and so a higher typical value
- 1 mark for stating that Class B has the larger interquartile range and so more spread
- 1 mark for relating the smaller interquartile range to greater consistency in Class A

Practice this topic
10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)
0 right0 of 10 answered
Includes the 2 quick checks in the note above.
EasyIdentify[1 mark]
Show answer and explanation
Answer: A · Worked explanation
MediumCalculate[1 mark]
Show answer and explanation
Answer: A · Worked explanation
MediumDetermine[1 mark]
Show answer and explanation
Answer: B · Worked explanation
MediumDetermine[1 mark]
Show answer and explanation
Answer: D · Worked explanation
MediumIdentify[1 mark]
Show answer and explanation
Answer: B · Worked explanation
HardPredict[2 marks]
Show answer and explanation
Answer: A · Worked explanation
HardDetermine[2 marks]
Show answer and explanation
Answer: A · Worked explanation
HardCalculate[2 marks]
Show answer and explanation
Answer: D · Worked explanation