Optimal Data-Based Binning for Histograms
Kevin H. Knuth
Abstract
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.
Create a lesson
Related papers
Multivariate amplitude analysis of the cascade particle decays based on the Nearest Neighbors fitting
I. V. Yeletskikh, A. O. Vasyukov
The geometry of uncertainty decomposition in profile-likelihood fits
Rafael Coelho Lopes de Sá
Statistical validation of calorimeter inpainting with generative diffusion priors
Himanshu Raj, Roli Esha
Unknown Unknowns: Model Misspecification in Machine Learning for Physics
Juan Cruz-Martinez, Carolina Cuesta-Lazaro, Alexander Held et al.
Exploring new directions in enhancing the ACTS parameter optimization suite
Chance LaVoie, Qi Bin Lei, Rocky Bala Garg et al.
Analytically Consistent Reconstruction of Finite Data Using Padé Sequences
Emerson Díaz, Balma Duch, Pere Masjuan