The 365 Data Science team is proud to invite you to our own community forum. A very well built system to support your queries, questions and give the chance to show your knowledge and help others in their path of becoming Data Science specialists.
Ask
Anybody can ask a question
Answer
Anybody can answer
Vote
The best answers are voted up and moderated by our team

How to determine the right bin width?

How to determine the right bin width?

0
Votes
1
Answer

Hello, I have questions regarding bin width:

  1. How to determine the right bin width when creating the graphs?
  2. What kind of graphs use bin width? I think except scatter plot?

More explanation about bin width would be highly appreciated.
Thank you.

1 Answer

365 Team
0
Votes

Hi Melissa,
First the bin width is usually used for a histogram. A scatter plot does not have bin width, as there are no bins involved.
Usually we are talking about a histgoram.
The bin width itself really depends on your problem. 
I am usually aiming for number of bins (and not a specific bin width). 5 to 10 bins are optimal for most problems. 
Best,
Iliya

Hi Iliya, thank you! I will try to use 5 – 10 for the number of bins on my data.

5 months