Optimal Data-Based Binning for Histograms
Kevin H. Knuth · arXiv (Cornell University) · 2006
Histograms are convenient non-parametric density estimators, which continue to be used ubiquitously. Summary quantities estimated from histogram-based probability density models depend on the choice of the number of bins. We introduce a straightforward data-based method of determining the optimal number of bins in a uniform bin-width histogram. By assigning a multinomial likelihood and a non-informative prior, we derive the posterior probability for the number of bins in a piecewise-constant density model given the data. In addition, we estimate the mean and standard deviations of the resulting bin heights, examine the effects of small sample sizes and digitized data, and demonstrate the application to multi-dimensional histograms.
Cited by 130 works. doi:10.48550/arxiv.physics/0605197 Open-access PDF
Authors
References
- A new look at the statistical model identification
- The Theory of Probability
- Handbook of Mathematical Functions
- Bayesian Inference in Statistical Analysis.
- Book Review: Pattern Recognition and Machine Learning
- Reversible Jump Markov Chain Monte Carlo Computation and Bayesian Model Determination
- Mathematical Methods for Physicists
- Multivariate Density Estimation, Theory, Practice, and Visualbation
- On Optimal and Data-Based Histograms
- Empirical Choice of Histograms and Kernel Density Estimators