In: Statistics and Probability
-Explain the circumstances under which you would use a bar graph versus a histogram.
There are two differences, one is in the type of data that is presented and the other in the way they are drawn.
In bar graphs are usually used to display "categorical data",
that is data that fits into categories. For example suppose that I
offered to buy donuts for six people and three said they wanted
chocolate covered, 2 said plain and one said with icing sugar. I
would present this in a bar garph as:
Histograms on the other hand are usually used to present
"continuous data", that is data that represents measured quantity
where, at least in theory, the numbers can take on any value in a
certain range. A good example is weight. If you measure the weights
of a group of adults you might get and numbers between say 90
pounds and 240 pounds. We usually report our weights as pounds or
to the nearest half pound but we might do so to the nearest tenth
of a pound or however acurate the scale is. The data would then be
collected into categories to present a histogram. For
example:
might be a histogram for heights (with the appropriate scale on the vertical axis). Here the data has been collected into categories of width 30 pounds.
The difference in the way that bar graphs and histograms are drawn is that the bars in bar graphs are usually separated where in histograms the bars are adjacent to each other. This is not always true however. Sometimes you see bar graphs with no spaces between the bars but histograms are never drawn with spaces between the bars.