Adam Hardy wrote:
> If I want to distribute my data into buckets for a distribution bar
> chart or graph, is there a way to use commons math to get a sensible
> bucket size for the distribution?
> 
> I'm thinking about some fraction of the standard deviation, or am I on
> the wrong trail there?
> 
> I'd appreciate any tips!

The optimial bin size depends on the shape of the distribution and
the range of values represented in the data.  The
EmpiricalDistributionImpl class in the random package can be used to
 experiment with different bin sizes, computing bin counts and
descriptive statistics within bins.

Phil

> 
> Thanks
> Adam
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to