ECO220Y5 Chapter Notes - Chapter 5: Bar Chart, Unimodality, Histogram
Document Summary
Chapter 5 displaying & describing quantitative data. Like a bar chart, a histogram plots the bin counts as the heights of bars. A bin is one of the groups of values on the horizontal axis of the histogram. Unlike a bar chart, which puts gaps between bars to separate the categories, no gaps appear between the bars of a histogram unless there are actual gaps in the data. Gaps can be important, so watch out for them. First, you would need to decide how wide to make the bins. The width of bins is important, because some features of the distribution may appear more obvious at different bin width choices. One rule of thumb is the number of bins depends on how much data we have. If we have n data points, we use about log2(n) bins. Ex: with n=29 data points, log2(n)=4. 86, so we round to 5 bins.