40% off

Early-bird ends 15 Aug, 9am

Lock in £90

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.

Core concept

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:

Frequency Density=FrequencyClass WidthFrequency\ Density = \frac{Frequency}{Class\ Width}

When we plot frequency density against the class intervals, the area of each bar is:

Area=Class Width×Frequency Density=Class Width×FrequencyClass Width=FrequencyArea = Class\ Width \times Frequency\ Density = Class\ Width \times \frac{Frequency}{Class\ Width} = Frequency

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 (mm) of 40 samples in grams:

  1. 0 to 10g: Frequency 8. Class width 10. Frequency Density=8/10=0.8Frequency\ Density = 8 / 10 = 0.8.
  2. 10 to 15g: Frequency 10. Class width 5. Frequency Density=10/5=2.0Frequency\ Density = 10 / 5 = 2.0.
  3. 15 to 20g: Frequency 12. Class width 5. Frequency Density=12/5=2.4Frequency\ Density = 12 / 5 = 2.4.
  4. 20 to 40g: Frequency 10. Class width 20. Frequency Density=10/20=0.5Frequency\ Density = 10 / 20 = 0.5.

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 n=100n = 100:

  1. Calculate the cumulative frequencies for each class.
  2. Plot the points (Upper Boundary, Cumulative Frequency).
  3. To find the Median (Q2Q_2), find the value n/2=50n / 2 = 50 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.
  4. To find the Lower Quartile (Q1Q_1), use the value n/4=25n / 4 = 25 on the vertical axis.
  5. To find the Upper Quartile (Q3Q_3), use the value 3n/4=753n / 4 = 75 on the vertical axis.

The Interquartile Range (IQR) is Q3Q1Q_3 - Q_1 and provides a measure of the spread of the middle 50 percent of the data.

Appropriate Use of Diagrams

  1. Bar Charts: Best for discrete, non grouped data where categories are distinct.
  2. Histograms: Best for continuous data or grouped data where we want to observe the distribution or shape (skewness and modal class) of the data.
  3. 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 Class Width×Frequency DensityClass\ Width \times Frequency\ Density.
  • 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 n/2n/2, n/4n/4, and 3n/43n/4 positions on the cumulative frequency axis.
Tips

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.

Cautions

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.

Insight

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.

Ready to test your knowledge?

You've reached the end of this section. Start a practice session to solidify your understanding and master this topic.