## Publicly Available Code Packages

### optBINS (also known as the Knuth Method or Knuth's Rule)

Optimal binning methods for histogram models (piecewise-constant probability densities) **For details** please see the paper at: http://arxiv.org/abs/physics/0605197**Please cite as:**

Knuth K.H. 2006. Optimal Data-Based Binning for Histograms, arXiv:physics/0605197 [physics.data-an]

This data-based method for determining the number of bins in a histogram is now implemented in Mathematica as the Knuth Method and in AstroML as Knuth's Rule.

Download optBINS here