FreedmanDiaconis
Freedman–Diaconis is a statistical guideline for choosing the bin width in histograms. Named after mathematician David Freedman and statistician Persi Diaconis, the rule was introduced in a 1981 paper on histogram density estimation and robust data analysis. It aims to provide a practical balance between bias and variance in the histogram representation of data.
The rule specifies the bin width h as h = 2 × IQR / n^(1/3), where IQR is the
Compared with other common rules, the Freedman–Diaconis rule is more robust to outliers than Scott’s rule, which
Limitations include sensitivity to the accuracy of the IQR estimate in very small samples and potential over-