next up previous contents
Next: About this document Up: RHUL Department of Physics Previous: Pitfalls   Contents


D. Histograms

A histogram is a way of representing the frequency distribution of a quantity which changes randomly each time it is measured. Most other types of graph are used to show the correlation between different variables. The key difference between a histogram and other types of graph is that there is only one variable and the aim is to show how its values are distributed.

A histogram is similar in appearance to a bar (or column) chart where categories are marked along the x-axis and the height of columns above these categories shows their relative frequency. A bar chart, although it looks similar to a histogram, has discrete categories on the x-axis rather than a continuous variable. The x-axis of a histogram represents a quantity which is continuous, but the the axis is still divided into bins. The column heights in each bin show the relative frequency of data with a value between the lower and upper edges of the bin. Figure D.6 shows an example of such a histogram.

Histograms are typically used to show data which are collected by repeated measurements of a quantity whose value varies according to some probability density, such as the lifetime of an unstable nucleus or particle before it decays.

Figure D.6: Example of a histogram with a continuous variable. Part of the data collected in the histogram is shown on the left.
Data
2.11181
2.2664
1.93247
4.13048
4.54348
3.35372
3.9448
1.83678
2.72451
6.02379
10.7733
...
Image histcont


next up previous contents
Next: About this document Up: RHUL Department of Physics Previous: Pitfalls   Contents
RHUL Dept. of Physics