Scott's Algorithm - Aster Analytics

Teradata Aster Analytics Foundation User Guide

Product
Aster Analytics
Release Number
6.21
Published
November 2016
Language
English (United States)
Last Update
2018-04-14
dita:mapPath
kiu1466024880662.ditamap
dita:ditavalPath
AA-notempfilter_pdf_output.ditaval
dita:id
B700-1021
lifecycle
previous
Product Category
Software

Scott's algorithm for calculating bin width can be written as:

w = 3.49s/(n 1/3)

where w is the bin width, s is the standard deviation of the data values and n is the number of elements in the data set. The number of bins is r/w, where r is the range of the data values.

This algorithm performs best on normally distributed data.