Sample Moments {HyperbolicDist} | R Documentation |
Sample Skewness and Kurtosis
Description
Computes the sample skewness and sample kurtosis.
Usage
skewness(x, na.rm = FALSE)
kurtosis(x, na.rm = FALSE)
Arguments
x |
A numeric vector containing the values whose skewness or kurtosis is to be computed. |
na.rm |
A logical value indicating whether |
Details
If , then the skewness of
is defined as
If , then the kurtosis of
is defined as
Value
The skewness or kurtosis of x
.
Note
These functions and the description of them are taken from the
package e1071
. They are included to avoid having to require an
additional package.
Author(s)
Evgenia Dimitriadou, Kurt Hornik, Friedrich Leisch, David Meyer, and Andreas Weingessel
Examples
x <- rnorm(100)
skewness(x)
kurtosis(x)
[Package HyperbolicDist version 0.6-5 Index]