1. Why height is not frequency
A histogram groups numerical observations into adjacent intervals. With unequal class widths, bar area, not bar height, must represent the number of observations. A category bar chart follows a different convention; its category widths do not encode numerical intervals.
For class count and width , use frequency density . Then .
For relative frequency, divide once more by the total : , , .
Density has units: observations per minute for count density, or per minute for relative-frequency density. A relative-frequency density can exceed 1; its area, not its height, is the relative frequency. We use left-closed, right-open classes so boundary values are not counted twice.
2. Build a histogram
Worked example 1. A fictional sample of 70 waiting times gives these counts.
| Minutes | Width | Count | Density (observations/min) |
|---|---|---|---|
| [0, 5) | 5 | 10 | 2 |
| [5, 15) | 10 | 30 | 3 |
| [15, 30) | 15 | 30 | 2 |
, , . Draw adjacent rectangles with these exact interval widths and heights. The last rectangle is three times as wide as the first, but equally tall. Its area is three times as large.
. The middle class is most concentrated per minute. The middle and last classes contain the same number of observations. Plotting heights 10, 30, 30 would wrongly give areas 50, 300, 450.
3. Read counts and normalize
Worked example 2. A count-density histogram has the following intervals and heights. Multiply width by height before adding counts.
| Interval | Height | Count | Relative density |
|---|---|---|---|
| [0, 2) | 6 | 12 | 1/5 |
| [2, 5) | 4 | 12 | 2/15 |
| [5, 9) | 1.5 | 6 | 1/20 |
. Normalize each original height by 30, not by the sum of the heights.
. The last class holds of the observations, although its normalized height is only .
4. A partial class requires an assumption
Worked example 3. Counts are 20 in [0,10), 30 in [10,30), and 10 in [30,40). How many observations are below 20?
The grouped table does not locate observations inside the middle class. All 30 might be below 20, or none might be. Therefore the exact count cannot be recovered:
. If we explicitly assume a uniform spread within [10,30), half that class lies below 20. The histogram-area estimate is
, . This is an estimate under an assumption, not a fact about the raw sample. Do not silently split a class and claim exact new counts.
5. Graduated practice
1. Construct heights
Classes [0,4), [4,10), [10,20) have counts 8, 18, 10. Find count densities and check the total.
Hint
First subtract consecutive endpoints.
Explained solution
, . .
2. Recover counts
Count-density heights are 3, 2, 0.5 on [0,2), [2,7), [7,15). Find the counts and total.
Hint
Count equals rectangle area.
Explained solution
, .
3. Normalize correctly
Using exercise 1, find the relative-density heights and the share in [4,10).
Hint
Divide each count density by the total count, 36.
Explained solution
. . The middle height is not itself the share.
4. Merge adjacent classes
Merge [0,4) and [4,10) from exercise 1. What is the new count-density height?
Hint
Add counts and widths, not heights.
Explained solution
. The unweighted average of the old heights, 2.5, is wrong because the widths differ.
5. Height versus count
Class A has width 2 and count 12; class B has width 8 and count 24. Which is taller? Which contains more observations?
Hint
Compare densities separately from counts.
Explained solution
, . A is taller; B contains twice as many observations.
6. Bound, then estimate
There are 12 observations in [0,6) and 18 in [6,15). Bound the count below 9, then estimate it assuming uniform spread within each class.
Hint
Only part of the second class is below the threshold.
Explained solution
. . The estimate is 60% of the sample. The bound is exact from the grouping; the estimate needs the stated assumption.
6. Checks and next steps
Check the horizontal units, class boundaries, vertical-axis label and total area before interpreting a histogram. Count-density areas sum to N; relative-density areas sum to 1. Never compare heights from two histograms without checking both their units and normalization.
These original examples teach transferable descriptive-statistics skills; they are not a claim about a particular course syllabus or exam. The normalization convention is documented in the NIST Engineering Statistics Handbook.
Useful for
Work on the step you’re missing.
Tell us the subject and your preferred time. Nablio confirms the details by text or email.
Request a lesson