Frequency Diagrams
Frequency diagrams display how often values occur. This topic covers bar charts, frequency polygons, histograms, and cumulative frequency graphs โ each suited to different data types.
๐ Learn
Bar Charts and Vertical Line Charts
Used for discrete or categorical data. The height (or length) of each bar represents the frequency.
- Bars do NOT touch (gaps between them for categorical/discrete)
- y-axis labelled "Frequency"
- All bars the same width
๐ก A vertical line chart (frequency diagram) is like a bar chart with lines instead of bars โ used for discrete data.
Frequency Polygons
Used for grouped continuous data. Plot the frequency against the midpoint of each class, then join with straight lines.
Midpoint of class a โค x < b = (a + b) / 2
Plot (midpoint, frequency) and join with lines.
Frequency polygons allow easy comparison of two data sets on the same axes.
๐ก Start and end the polygon at the midpoints of imaginary empty classes at each end (zero frequency).
Histograms
Used for continuous grouped data, especially with unequal class widths. The y-axis shows frequency density, not frequency.
Frequency Density = Frequency รท Class Width
Frequency = Frequency Density ร Class Width
Area of bar = Frequency
If class widths are equal, histograms look like bar charts but bars must touch.
๐ก In a histogram, bars touch each other. The area of each bar represents the frequency, not the height!
Cumulative Frequency Graphs
Plot cumulative frequency (running total) against the upper boundary of each class. Join with a smooth S-curve.
Cumulative frequency after each class = sum of all frequencies up to and including that class.
Median โ value at n/2
Lower quartile (Q1) โ value at n/4
Upper quartile (Q3) โ value at 3n/4
IQR = Q3 โ Q1
๐ก Always start the cumulative frequency graph at (lower boundary of first class, 0).
โ๏ธ Worked Examples
Example 1: Frequency polygon midpoints
Classes: 0โคx<10, 10โคx<20, 20โคx<30. Find midpoints.
Midpoint 1 = (0+10)/2 = 5
Midpoint 2 = (10+20)/2 = 15
Midpoint 3 = (20+30)/2 = 25
Example 2: Frequency density
Class 20โคx<30, frequency = 15. Class 30โคx<50, frequency = 20. Find frequency density for each.
Class 20โ30: width = 10. FD = 15/10 = 1.5
Class 30โ50: width = 20. FD = 20/20 = 1.0
Example 3: Reading a histogram
A histogram bar has height (FD) = 2.5 and class width = 4. What is the frequency?
Frequency = FD ร class width = 2.5 ร 4 = 10
Example 4: Cumulative frequency โ finding median
Cumulative frequencies at x = 10, 20, 30, 40, 50 are: 5, 18, 32, 44, 50. Find the median (n=50).
Median at n/2 = 25th value
25 falls between cumulative 18 (at x=20) and 32 (at x=30)
Interpolate: median โ 20 + (25โ18)/(32โ18) ร 10 = 20 + 7/14 ร 10 = 20 + 5 = 25