• Support PF! Buy your school textbooks, materials and every day products Here!

Histogram with # on edge of bin?

  • Thread starter doubled
  • Start date
  • #1
27
0
let's say I have 10 data points. And one of my data points is 270.

Then let's say two of my bins are 260-270 and 270-280. Which bin would you put the 270 in?
Or would such a choice of bin range be inappropriate and new ranges have to be chosen?
 

Answers and Replies

  • #2
Office_Shredder
Staff Emeritus
Science Advisor
Gold Member
3,750
99
When you construct your bins they should be literally non-overlapping - how you decide to do this is up to you. If your values are all integers, then most people would probably think it's more natural for the bins to be 260-269 and 270-279, if your values are arbitrary real numbers then the probability you pulled an integer is zero and you should be rethinking what the heck is going on (or more likely just arbitrarily picking whether everyone rounds down or up).

I have seen histograms often described as having intervals for example as 259.5 to 269.5 and 269.5 to 279.5 in order to encompass the same integer range, but look like there aren't any gaps.
 

Related Threads on Histogram with # on edge of bin?

Replies
4
Views
1K
  • Last Post
Replies
1
Views
4K
  • Last Post
Replies
10
Views
888
Replies
2
Views
652
  • Last Post
Replies
6
Views
9K
Replies
1
Views
2K
Replies
3
Views
4K
Replies
4
Views
593
Replies
5
Views
149
  • Last Post
Replies
4
Views
2K
Top