kurtosis {npde} | 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 = length(x), then the kurtosis of x is defined as:
N sum_i (x_i-mean(x))^4 (sum_i (x_i-mean(x))^2)^(-2) - 3
The kurtosis of x
.
x <- rnorm(100) kurtosis(x)