Lably
Skip to content

Histogram

Graphical representation of the distribution of numerical data

  • 9 min read
  • 4 chapters
  • 3 labs on Lably

Learn it on Lably

Histograms give a rough sense of the density of the underlying distribution of the data, and often for density estimation: estimating the probability density function of the underlying variable. The total area of a histogram used for probability density is always normalized to 1. If the length of the intervals on the x-axis are all 1, then a histogram is identical to a relative frequency plot.

Histograms are sometimes confused with bar charts. In a histogram, each bin is for a different range of values, so altogether the histogram illustrates the distribution of values. But in a bar chart, each bar is for a different category of observations (e.g., each bar might be for a different population), so altogether the bar chart can be used to compare different categories. Some authors recommend that bar charts always have gaps between the bars to clarify that they are not histograms.

Etymology

The term histogram was first introduced by Karl Pearson, the founder of mathematical statistics, in lectures delivered in 1892 at University College London. Pearson's term is sometimes incorrectly said to combine the Greek root γραμμα (gramma; 'figure' or 'drawing') with the root ἱστορία (historia; 'inquiry or 'history'). Alternatively the root ἱστίον (histion) is also proposed, meaning 'web' or 'tissue' (as in histology, the study of biological tissue). Both of these etymologies are incorrect, and in fact Pearson, who knew Ancient Greek well, derived the term from a different if homophonous Greek root, ἱστός ('something set upright' or 'mast'), referring to the vertical bars in the graph. Pearson's new term was embedded in a series of other analogous neologisms, such as stigmogram and radiogram.

Pearson himself noted in 1895 that, although the term histogram was new, the type of graph it designates was "a common form of graphical representation". In fact the technique of using a bar graph to represent statistical measurements was devised by the Scottish economist, William Playfair, in his Commercial and political atlas (1786).

Sign in to keep reading

3 more chapters are free with a Lably account.

More in Statistics and probability