On Nov 28, 2007 12:32 AM, Deepayan Sarkar <[EMAIL PROTECTED]> wrote:
> > According to the Sturges rule, the number of classes of a histogram is
> > the closest integer to
> >
> > 1 + logb(n,base=2)
> >
> > where n is the number of observations. The function hist(), by
> > default, uses the Sturges
On 11/27/07, Paul Smith <[EMAIL PROTECTED]> wrote:
> Dear All,
>
> According to the Sturges rule, the number of classes of a histogram is
> the closest integer to
>
> 1 + logb(n,base=2)
>
> where n is the number of observations. The function hist(), by
> default, uses the Sturges rule. However, the
Dear All,
According to the Sturges rule, the number of classes of a histogram is
the closest integer to
1 + logb(n,base=2)
where n is the number of observations. The function hist(), by
default, uses the Sturges rule. However, the code
x <- 1:200
hist(x)
produces a histogram with 10 classes an
3 matches
Mail list logo