grouping data

Anthonyk2013

Junior Member
Joined
Sep 15, 2013
Messages
132
i have 50 measurements between 4.2 and 4.9 and I have to group them in 8 equal classes. How do I calculate these out evenly?
 
i have 50 measurements between 4.2 and 4.9 and I have to group them in 8 equal classes. How do I calculate these out evenly?

width of interval = (4.9 - 4.2)/8 = 0.0875

4.2 ≤ x < 4.2875, 4.2875 ≤ x < 4.375, ..... and so on
 
i have 50 measurements between 4.2 and 4.9 and I have to group them in 8 equal classes. How do I calculate these out evenly?
I wouldn't think it is necessary to limit the bins to exactly the range of the data. I would choose the class interval to be exactly 0.1, and begin at 4.15 instead of 4.2:

4.15, 4.25, . . . 4.95

Much easier to drop the data into these bins. Note also that the bin centers are 4.2, 4.3, ... 4.9.
 
Top