Label

Books (1) CARTO (3) Fun (21) GBDX (1) geoserver (1) GIS (57) greed (4) memo (4) movie (1) music (2) python (4) R (12) statistics (10) study (20) swim (5) tools (19) Ubuntu (7)

2011/01/17

Sturges' rule

one way to determine the number of classes making histogram.

k = 1 + log2 n

where, k is the number of class
n is the number of samples

when using excel
=1+(log(n,2))

substitute n with the number of samples

Sturges, H. A. (1926). "The choice of a class interval".J. American Statistical Association: 65–66