Data presentation and diagrams
Studying this course? Keep your progress in one place.
Key facts
- In a histogram, area represents frequency: frequency density = frequency class width.
- The modal class is the tallest bar (highest frequency density).
- To estimate the frequency in part of a class, assume the data is evenly spread: density width of the part.
- In a relative frequency histogram the total area is 1, so areas are probabilities.
- Compare distributions with one comment on average and one on spread, in context.
Frequency density
In a histogram, area represents frequency, not height. The vertical axis is frequency density.
This matters when classes have different widths. Bars touch because the data is continuous.
Frequency frequency density class width. Only when all widths are equal does height compare frequencies directly.
- Frequency density
- Frequencydensity width
Worked example
Class 5 to 10 minutes has frequency 20. Class 10 to 20 minutes has frequency 30. Find each frequency density.
- 1
First class: width , so density .
- 2
Second class: width , so density .
A histogram bar for a class of width 4 has height 2.5. What is the frequency?
Reading a histogram
Convert bars into frequencies by multiplying density by width. The modal class is the tallest bar.
The modal class has the highest frequency density, not necessarily the highest frequency.
To estimate the number in part of a class, assume the data is spread evenly: multiply the density by the width of the part.
The shape shows the distribution: symmetric, or skewed with a long tail to the right (positive skew) or left (negative skew).
Worked example
The classes 0–2, 2–5, 5–10 and 10–20 minutes have densities 10, 8, 4 and 1.6. Estimate the number under 4 minutes and the number over 8 minutes.
- 1
Frequencies: , , , .
- 2
Under 4 minutes: all of 0–2, plus the part of 2–5 up to 4, which is width 2. So .
- 3
Over 8 minutes: the part of 5–10 above 8, width 2, plus all of 10–20. So .
Which class is the modal class in a histogram?
Histograms and probability
In a relative frequency histogram each bar's area is a relative frequency, so the total area is 1 and areas are probabilities.
Divide each frequency by the total to get relative frequency, and divide by the class width to get relative frequency density.
The area over an interval is then the probability of a randomly chosen item falling in it. This is how a histogram connects to a probability distribution. With finer data the histogram approaches a smooth curve of total area 1.
- Relative frequency density
- Total area1
Worked example
Classes 0–5, 5–10, 10–20 and 20–40 have frequencies 20, 40, 30 and 10 out of 100. Find the heights and .
- 1
Heights: , , , .
- 2
From 8 to 10, width , height : area .
- 3
From 10 to 15, width , height : area .
In a relative frequency histogram, what does the total area equal?
Other diagrams
Choose by data type: stem-and-leaf for shape, box plots and cumulative frequency for quartiles, bar and pie charts for categories.
For a pie chart, angle .
When interpreting any diagram, comment on average, spread and shape in the context of the question.
Stem-and-leaf
- Shows every value
- Include a key; order the leaves
Box plot
- Median, quartiles, extremes
- Outliers marked
Cumulative frequency
- Plot at upper class boundaries
- Read median and quartiles
Bar or pie chart
- Categorical data
- Compare by height or angle
A category has frequency 15 out of a total of 60. What angle is its pie chart sector?
Try an exam question
The table shows the times (minutes) taken by 95 customers: 0 to under 10, frequency 15; 10 to under 30, frequency 50; 30 to under 60, frequency 30. A histogram is drawn. Find the frequency density of each class and estimate the number of customers taking between 20 and 40 minutes.
[4 marks]
- [1]Uses frequency density = frequency ÷ class width.
- [1]Densities 1.5, 2.5 and 1.
- [1]From 20 to 30: 2.5 × 10 = 25; from 30 to 40: 1 × 10 = 10.
- [1]Estimate 35 customers.
That's the notes covered.
Carry on to the next subtopic.
Try a question
How many customers are in the class 2 to 5 minutes?
1 mark, marked against the mark scheme
How many customers are in the class 2 to 5 minutes?
1 mark, marked against the mark scheme