Histograms and Cumulative Frequency for the TMUA
Updated August 2025
Interpreting grouped data is a core requirement for the TMUA, necessitating a deep understanding of histograms and cumulative frequency graphs. This guide explains how to use frequency density for unequal class widths and how to estimate the median and quartiles from cumulative frequency curves.
Histograms represent frequency through the area of the bar using frequency density, while cumulative frequency graphs display the running total of frequencies to determine positional statistics like the median.
Understanding Histograms and Frequency Density
Histograms are the primary tool for representing continuous data or grouped discrete data where intervals are used. Unlike a standard bar chart, where the frequency is simply the height of the bar, a histogram represents frequency through the area of the bar. This principle is fundamental because it ensures that the visual 'weight' of a bar is proportional to the number of data points it contains, regardless of the width of the class interval.
To achieve this, we use Frequency Density on the vertical axis. Frequency density is defined as the frequency per unit of the class interval. The formula is:
When we plot frequency density against the class intervals, the area of each bar is:
Histograms with Unequal Class Intervals
In many data sets, class intervals are not equal. For example, a survey might group ages as 0 to 18, 18 to 30, 30 to 50, and 50 to 80. If we used frequency on the vertical axis, the 50 to 80 bar would appear disproportionately large even if its frequency were low. Frequency density corrects for this by thinning the bar height for wider classes.
Worked Example: Constructing a Histogram
A researcher records the mass () of 40 samples in grams:
- 0 to 10g: Frequency 8. Class width 10. .
- 10 to 15g: Frequency 10. Class width 5. .
- 15 to 20g: Frequency 12. Class width 5. .
- 20 to 40g: Frequency 10. Class width 20. .
When drawing this, the vertical axis must be labelled Frequency Density. The highest bar is the 15 to 20g class (height 2.4), and the lowest is the 20 to 40g class (height 0.5).
Cumulative Frequency Graphs
Cumulative frequency refers to the running total of the frequencies. It allows us to see how many data points fall below a certain value. These graphs are plotted with cumulative frequency on the vertical axis and the data values on the horizontal axis.
Construction and Plotting
To construct the graph, you must always plot the cumulative frequency at the upper class boundary of each interval. This is because, at the end of an interval, we know exactly how many items are less than or equal to that boundary value. We do not know the exact distribution within the interval, so we assume a steady increase and join the points with a smooth curve or a series of straight lines.
Worked Example: Estimating the Median
If we have a total frequency :
- Calculate the cumulative frequencies for each class.
- Plot the points (Upper Boundary, Cumulative Frequency).
- To find the Median (), find the value on the vertical axis. Draw a horizontal line to the curve, then a vertical line down to the horizontal axis. This value is the estimated median.
- To find the Lower Quartile (), use the value on the vertical axis.
- To find the Upper Quartile (), use the value on the vertical axis.
The Interquartile Range (IQR) is and provides a measure of the spread of the middle 50 percent of the data.
Appropriate Use of Diagrams
- Bar Charts: Best for discrete, non grouped data where categories are distinct.
- Histograms: Best for continuous data or grouped data where we want to observe the distribution or shape (skewness and modal class) of the data.
- Cumulative Frequency Graphs: Best when the objective is to find the median, quartiles, percentiles, or to compare the spread of two different data sets using box plots derived from the quartiles.
Key takeaways
- Frequency in a histogram is represented by the area of the bar, which is calculated as .
- Frequency density must be used on the y-axis of a histogram whenever class widths are unequal.
- Cumulative frequency points must always be plotted at the upper class boundary of the interval.
- The median and quartiles are estimated by finding the , , and positions on the cumulative frequency axis.
In TMUA questions, you are often asked to find a frequency from an existing histogram. Always multiply the height (frequency density) by the width of the bar to find the frequency of that specific class.
A common mistake is plotting cumulative frequency at the midpoint of the class interval. Midpoints are used for frequency polygons, but the upper boundary must be used for cumulative frequency curves.
Frequency density is essentially the 'probability density' of the sample. As the number of data points increases and the class widths decrease, the histogram shape approaches the continuous probability density function (PDF) of the underlying distribution.
Frequently asked questions
Can I use frequency on the y-axis of a histogram if all class widths are equal?
Technically, yes, because the area would remain proportional to the height. However, in the context of the TMUA and formal statistics, it is better practice to use frequency density to reinforce the area-frequency relationship.
What is the difference between a histogram and a bar chart?
A bar chart is for qualitative or discrete data and has gaps between bars. A histogram is for continuous data, the bars touch, and the area (not just height) represents the frequency.
Why do we plot cumulative frequency at the upper boundary?
Because the cumulative frequency represents the total number of data points up to that specific value. We only know for certain that all items in a class have been counted once we reach the end (upper boundary) of that class.