Sample Skewness and Kurtosis
Computes the sample skewness and sample kurtosis.
A numeric vector containing the values whose skewness or kurtosis is to be computed.
A logical value indicating whether
If N = length(x), then the skewness of x is defined as
N^(-1) sd(x)^(-3) sum_i (x_i - mean(x))^3.
If N = length(x), then the kurtosis of x is defined as
N^(-1) sd(x)^(-4) sum_i (x_i - mean(x))^4 - 3.
The skewness or kurtosis of
These functions and the description of them are taken from the package e1071. They are included to avoid having to require an additional package.
Evgenia Dimitriadou, Kurt Hornik, Friedrich Leisch, David Meyer, and Andreas Weingessel
1 2 3
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.