Exemplo 2.10 de Statistics, 2.2 Histograms, Frequency Polygons, and Time Series Graphs
Problema e solução em inglês, como no livro original.
Calculate the width of each bar/bin size/interval size.
Resolva no papel primeiro. Depois abra a solução um passo de cada vez e pare assim que conseguir terminar sozinho.
The smallest data value is 1, and the largest data value is 6. To make sure each is included in an interval, we can use 0.5 as the smallest value and 6.5 as the largest value by subtracting and adding 0.5 to these values. We have a small range here of 6 (6.5 –– 0.5), so we will want a fewer number of bins; let’'s say six this time. So, six divided by six bins gives a bin size (or interval size) of one.
Notice that we may choose different rational numbers to add to, or subtract from, our maximum and minimum values when calculating bin size. In the previous example, we added and subtracted .05, while this time, we added and subtracted .5. Given a data set, you will be able to determine what is appropriate and reasonable.
The following histogram displays the number of books on the x-axis and the frequency on the y-axis.
Como foi?