Statistics and Mechanics Year 1, chapter 3 (Representations of data), section 3.4
Frequency density
In a histogram with unequal class widths, the area of each bar is proportional to the frequency. The height is the frequency density:
There are no gaps between bars for continuous data, and the horizontal axis is a continuous scale.
Worked example 1: drawing
| Class | – | – | – |
|---|---|---|---|
| 10 | 30 | 20 | |
| Width | 5 | 10 | 20 |
| Frequency density | 2 | 3 | 1 |
Draw bars of height , and over the three classes.
Worked example 2: reading a frequency
A bar of width and frequency density has area , so the frequency is .
If a bar has frequency for a class of width , its frequency density is .
Estimating from a histogram
To estimate the frequency in part of a class, use the part of the area: assume the data are spread evenly in each class.
Worked example 3
How many values are between and in the class – (frequency density )? The width is , so the estimate is .
Axis label
The vertical axis is labelled frequency density, not frequency.
Common mistake: plotting frequency instead of frequency density when class widths differ. Using frequency makes wide classes look too important. Also, label the vertical axis correctly.
Exam tip: add a column for class width and one for frequency density in your table. If a key is given (such as "1 cm represents 5 items"), use it to find frequencies from areas.
Check yourself
What does the area of a bar represent?
The frequency.
A class of width has frequency . Find its frequency density.
.
A bar has width and height . What is the frequency?
.