kurtosis | R Documentation |
Computes the kurtosis.
kurtosis(x)
x |
a numeric vector containing the values whose kurtosis is to be computed. NA values are removed in the computation. |
If N = \mathrm{length}(x)
, then the kurtosis of x
is defined as:
N sum_i (x_i-\mathrm{mean}(x))^4 (sum_i
(x_i-\mathrm{mean}(x))^2)^(-2) -
3
The kurtosis of x
.
G. Snedecor, W. Cochran. Statistical Methods, Wiley-Blackwell, 1989
x <- rnorm(100)
kurtosis(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.