tomkyle/binning â Determine optimal number of bins đ for #histogram #creation and optimal bin width đ using various statistical methods in #PHP.
Included methods: Sturgesâ Rule, Doaneâs Rule, Freedman-Diaconis Rule, Terrell-Scottâs Rule, Rice Rule, Scottâs Rule, and Square Root Rule.
GitHub: https://github.com/tomkyle/binning
Issues: https://github.com/tomkyle/binning/issues
Available on #packagist via #composer. Heavily inspired by markrogoyski/math-php but written for #PHP 8.3+. â #math #statistics