4.3 Histograms & Frequency Distributions in Civil Service Reporting
Key Takeaways
Histograms group numerical data into adjacent intervals; the axis label determines whether heights show frequency or density.
On a frequency-density histogram, height is frequency divided by class width and bar area equals frequency; normalized density gives relative-frequency area, with total area one.
The tallest density bar identifies a modal interval. A grouped median estimated at cumulative level N/2 requires an explicit within-class interpolation assumption.
An ogive is non-decreasing but need not be S-shaped; grouped quantiles read from it are estimates between known boundaries.
Histograms vs. Bar Charts: The Continuous Data Distinction
Histograms group a numerical variable into intervals. The variable can be continuous, such as measured duration, or discrete numerical data grouped for display, such as ages recorded in whole years. Bar charts instead compare categories; a year-by-year bar chart can also display time observations.
- Spacing: Adjacent histogram bins follow the numerical scale. A zero-frequency interval has zero height; do not insert arbitrary gaps between nonempty adjacent bins.
- Equal widths: With frequency on the vertical axis, heights show counts and areas are proportional to counts.
- Frequency-density scale: Height is frequency divided by class width, so area equals frequency in the axis units. This gives a fair area comparison when widths differ.
- Relative-density scale: If height is frequency divided by total observations and width, areas show proportions and sum to one. Always read the axis label before interpreting height or area.
Class Intervals & Equal vs. Unequal Bin Widths
Continuous variables are grouped into class intervals (or bins). Use non-overlapping intervals with explicit boundary conventions. Let and denote the lower and upper boundaries, not just the printed smallest and largest integer labels. The class width () is the difference between these boundaries:
Equal Class Widths
When all intervals share an identical width (e.g., age groups , , , using boundaries 19.5–29.5, 29.5–39.5 and 39.5–49.5 for whole-year records, each of width 10 years), the vertical axis can display raw frequency directly. Because widths are identical, a bar with twice the frequency has twice the height and twice the area.
Unequal Class Widths: The Distortion Trap
A practice display may use unequal intervals. For example, administrative earnings data might group salaries into €10,000 bands at lower pay scales, but widen to €20,000 or €30,000 bands at senior management levels.
If raw frequency were plotted on the vertical axis for unequal intervals:
- A wide interval covering €60,000 to €90,000 () might contain 1,500 employees.
- A narrower interval covering €45,000 to €60,000 () might contain 1,200 employees.
- Plotting raw frequency would make the €60k–€90k bar taller (1,500 vs. 1,200), falsely suggesting higher staff concentration. In reality, employees are far more densely clustered in the narrower €45k–€60k band (80 staff per €1k width vs. 50 staff per €1k width).
The Frequency Density Principle
To eliminate visual and mathematical distortion when class widths vary, a density histogram scales the vertical axis using frequency density:
Rearranging this formula confirms that the physical area of the bar equals the frequency:
Important
Read the vertical scale. On a frequency-density histogram, multiply height by class width to recover the count. On a normalized-density histogram, that area is a relative frequency; multiply it by the total number of observations to recover the count. Raw frequency heights give counts directly, but unequal-width bars then have areas that do not fairly compare counts.
Identifying the Modal Interval & Estimating the Median Class
Two fundamental measures of central tendency tested in public service frequency distributions are the modal interval and the median class.
1. The Modal Interval (Mode)
For a density histogram, call the interval with the highest frequency density the modal interval. This describes the tallest density bar, rather than necessarily the interval containing the most observations. Grouped counts do not establish the exact mode within a bin:
- For equal class intervals, it is simply the interval with the highest raw frequency.
- For unequal class intervals, it is the interval with the highest frequency density, NOT necessarily the highest raw frequency. A wide bin with a large raw frequency may have a low density, disqualifying it as the modal group.
2. The Median Class & Continuous Linear Interpolation
The median is a 50th-percentile measure. For raw data with an even number of observations, the sample median is the average of the two middle ordered values. Grouped counts generally cannot recover those exact values.
To estimate a grouped median, use the cumulative-frequency level . Locate where that level falls, then assume observations are spread uniformly within that bin. Linear interpolation gives:
This is an estimate under a within-class assumption, not a precise raw-data median. If the cumulative halfway level is exactly a class boundary, interpolation reaches that boundary; do not infer that both central raw observations belong to the same class.
Where:
- = Lower boundary of the median class interval
- = Total number of observations across all classes
- = Cumulative frequency of the class immediately preceding the median class
- = Frequency of the median class itself
- = Class width of the median class interval
Cumulative Frequency Distributions & Ogives
A cumulative frequency distribution records the running total of frequencies up to the upper boundary of each class interval. When plotted on a graph, this gives a non-decreasing cumulative graph known as an ogive. Its shape need not be S-shaped. Between known boundaries, a straight segment implies uniform within-class interpolation.
Reading Quantiles from an Ogive
- Median (): Read across horizontally from the cumulative frequency level () to intersect the curve, then drop vertically to read the median value on the horizontal axis.
- Lower Quartile (): Read across from the level ().
- Upper Quartile (): Read across from the level ().
- Interquartile Range (): Calculated as , measuring the dispersion of the central of the distribution, less sensitive than the mean to the magnitudes of extreme tail values. Quantile estimates from grouped data depend on the grouping and interpolation method.
Case Study: Civil Service Passport Application Processing Times
The following hypothetical dataset contains 1,200 processing durations, recorded to the nearest whole working day. For histogram interpolation, use boundaries 0.5–5.5, 5.5–10.5, 10.5–15.5, 15.5–25.5, 25.5–40.5 and 40.5–65.5 days. Thus the printed 1–5 group has width 5, rather than 5 - 1. These are exercise data, not a claim about the Passport Service’s actual performance.
| Processing Duration (Working Days) | Number of Applications (Frequency ) | Cumulative Frequency () | Class Width () | Frequency Density (Cases per Day) |
|---|---|---|---|---|
| 1 to 5 days | 180 | 180 | 5 | |
| 6 to 10 days | 340 | 520 | 5 | |
| 11 to 15 days | 420 | 940 | 5 | |
| 16 to 25 days | 160 | 1,100 | 10 | |
| 26 to 40 days | 75 | 1,175 | 15 | |
| 41 to 65 days | 25 | 1,200 | 25 | |
| Total | 1,200 | — | — | — |
Worked Walkthrough: Modal Group, Median & SLA Compliance
1. Determining the Modal Class
Comparing frequency densities across all classes:
- 1–5 days: 36.0 cases/day
- 6–10 days: 68.0 cases/day
- 11–15 days: 84.0 cases/day
- 16–25 days: 16.0 cases/day
- 26–40 days: 5.0 cases/day
- 41–65 days: 1.0 cases/day
The modal class is 11 to 15 days, as it possesses the highest frequency density (84.0 cases per day).
2. Calculating Estimated Median via Linear Interpolation
- Total applications . The grouped interpolation level is . The exact sample median would average ordered observations 600 and 601.
- Both central observations lie within the 11 to 15 days class (since cumulative frequency reaches 520 at 10 days and 940 at 15 days).
- Variables: (continuous lower boundary), , , .
3. Evaluating Service Level Agreement (SLA) Compliance
Scenario: A hypothetical service target requires that at least of complex renewals must be resolved within 15 working days.
- Cumulative applications resolved within 15 days .
- Percentage achieved: .
- Conclusion: The Department exceeded the stipulated target by percentage points ().
Tip
In questions asking for "the proportion of cases exceeding days", subtract the cumulative frequency from the total: for applications exceeding 25 days, the count is cases, or .
An Irish public sector workforce audit groups 4,800 administrative staff into annual salary bands. The non-overlapping salary band €45,000 ≤ salary < €60,000 contains 1,200 employees, while the band €60,000 ≤ salary < €90,000 contains 1,500 employees. On a correctly plotted frequency density histogram where the horizontal axis measures salary in thousands of euros (€k) and the vertical axis measures frequency density (employees per €1,000 band width), what are the heights of the bars for these two salary bands?
€45k–€60k band: height 1,200; €60k–€90k band: height 1,500
€45k–€60k band: height 60.0; €60k–€90k band: height 75.0
€45k–€60k band: height 80.0; €60k–€90k band: height 50.0
€45k–€60k band: height 50.0; €60k–€90k band: height 80.0
For the hypothetical processing-time table, which class contains both central observations, and what grouped median estimate results from uniform within-class interpolation using lower boundary 10.5 days and width 5 days? Round to two decimal places.
Interval: 6 to 10 days; Estimated Median: 8.50 working days
Interval: 16 to 25 days; Estimated Median: 18.75 working days
Interval: 11 to 15 days; Estimated Median: 13.00 working days
Interval: 11 to 15 days; Estimated Median: 11.45 working days
A local authority tracks the resolution time (in calendar days) for 800 public infrastructure maintenance requests across four reporting intervals: 1 to 10 days (240 requests), 11 to 20 days (280 requests), 21 to 40 days (200 requests), and 41 to 100 days (80 requests). Treat the integer-labelled intervals as contiguous bins with half-day boundaries. Which interval is the tallest density bar (the modal interval here), and what is its density?
Modal Class: 11 to 20 days; Frequency Density: 28.0 requests per day
Modal Class: 21 to 40 days; Frequency Density: 10.0 requests per day
Modal Class: 11 to 20 days; Frequency Density: 280.0 requests per day
Modal Class: 1 to 10 days; Frequency Density: 24.0 requests per day
Under a public service customer charter, a government agency aims to process at least 85.0% of regulatory license applications within 25 working days. A review of 2,000 applications reveals the following cumulative processing record: Up to 10 days: 650 applications; Up to 20 days: 1,420 applications; Up to 25 days: 1,740 applications; Up to 35 days: 1,920 applications; Up to 50 days: 2,000 applications. What percentage of applications were resolved within the 25-day charter commitment, did the agency meet its target, and how many applications exceeded the 25-day threshold?
71.0% resolved within target; Target Not Met; 580 applications exceeded
87.0% resolved within target; Target Met; 260 applications exceeded
96.0% resolved within target; Target Met; 80 applications exceeded
85.0% resolved within target; Target Exactly Met; 300 applications exceeded
Sections you finish are checked off in the contents.