comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Histogram shift
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Histogram [message #44555 is a reply to message #42715] Tue, 28 June 2005 11:29 Go to previous message
James Kuyper is currently offline  James Kuyper
Messages: 425
Registered: March 2000
Senior Member
James wrote:
> Hi guys !
>
> I have a question regarding histograms in general. Is there a "right"
> criteria (e.g. strict matmematical rule, etc..) of chosing the bin size ?
> I'm playing with some data and obviously the histogram looks differently
> with different bin sizes. Any help and references would be extremely
> helpful !

About 3 decades ago I read an argument, based upon the binomial
distribution, that the maximum number of bins you should use was 1 more
than the logarithm base 2 of the number of data points you're
analyzing, rounded upward. Sorry - I can't give you a reference. I've
no idea how reasonable that argument is in general.

My impression, trying to use this criteria over many years, is that it
works best for data with a distribution that has a wide dynamic range,
like the binomial distribution. For data that is more nearly uniform in
distribution, a larger number of bins seems to give better results.
I've never seen it give more bins than I thought was justified, but it
often gives fewer.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: backing store
Next Topic: Swap even/odd elements in array

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 05:02:25 PDT 2025

Total time taken to generate the page: 2.07879 seconds