kurtosis

0th

Percentile

Kurtosis

Computes the kurtosis of the values of x.

If $N = length(x)$, then the kurtosis of $x$ is defined as $$N^(-1) var(x)^(-2) sum_i (x_i - mean(x))^4 - 3$$

Usage
kurtosis(x, na.rm=FALSE)
Arguments
x
a numeric vector containing the values whose kurtosis is to be computed.
na.rm
a logical value indicating whether NA values should be stripped before the computation proceeds.
Value

  • Returns the kurtosis of x.

Aliases
Examples
x<-rnorm(100)
kurtosis(x)
Documentation reproduced from package e1071, version 0.9-2, License: GPL version 2 or newer

Community examples

Looks like there are no examples yet.