Histogram Bins and Their Boundaries

A histogram groups numeric observations into intervals. State which interval contains a value lying exactly at a shared endpoint.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Trace three values
  2. Test the last edge

Trace three values

With bins \([0,5)\), \([5,10)\), and \([10,15)\), readings 4, 5, and 10 fall one into each bin. Half-open intervals prevent shared endpoints from being counted twice.

Test the last edge

A plotting library may include the final right edge under its own convention. Verify what happens to a value of 15 and to observations outside the selected range. Boundary tests make the handling explicit.[1]

References

  1. NIST/SEMATECH Engineering Statistics Handbook, Histogram ↩