Freedman–Diaconis rule
In statistics, the Freedman–Diaconis rule, named after David A. Freedman and Persi Diaconis, can be used to select the size of the bins to be used in a histogram. The general equation for the rule is:
where is the interquartile range of the data and
is the number of observations in the sample