kurtosis {npde}R Documentation

Kurtosis

Description

Computes the kurtosis.

Usage

kurtosis(x)

Arguments

x

a numeric vector containing the values whose kurtosis is to be computed. NA values are removed in the computation.

Details

If N=length(x)N = \mathrm{length}(x), then the kurtosis of xx is defined as:

Nsumi(ximean(x))4(sumi(ximean(x))2)(2)N sum_i (x_i-\mathrm{mean}(x))^4 (sum_i (x_i-\mathrm{mean}(x))^2)^(-2) -

33

Value

The kurtosis of x.

References

G. Snedecor, W. Cochran. Statistical Methods, Wiley-Blackwell, 1989

Examples

x <- rnorm(100)
kurtosis(x)

[Package npde version 3.5 Index]