kurtosis | R Documentation |
Kurtosis computed from the from the unbiased estimates of variance and of the fourth moment about the mean.
kurtosis(x, na.rm=TRUE)
x |
Variable from which to compute kurtosis. |
na.rm |
A logical value indicating whether NA values should be stripped before the computation proceeds. |
Kurtosis as implemented by SAS, Type 2 formula as classified by Joanes and Gill (1998). This version of the formula relies upon the unbiased estimates of variance and of the fourth moment about the mean. A perfect normal distribution would have a kurtosis of 0.
kurtosis.
David W. Gerbing (Portland State University; gerbing@pdx.edu)
Joanes, D.N. and Gill, C.A (1998). Comparing measures of sample skewness and kurtosis. The Statistician, 47, 183-189.
x <- rnorm(100)
kurtosis(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.