Last chance! 50% off unlimited learning
Sale ends in
Computes the kurtosis.
kurtosis(x, na.rm = FALSE, type = 3)
The estimated kurtosis of x
.
a numeric vector containing the values whose kurtosis is to be computed.
a logical value indicating whether NA
values
should be stripped before the computation proceeds.
an integer between 1 and 3 selecting one of the algorithms for computing kurtosis detailed below.
If x
contains missings and these are not removed, the kurtosis
is NA
.
Otherwise, write x
,
Joanes and Gill (1998) discuss three methods for estimating kurtosis:
Only type = 2
) is unbiased under
normality.
D. N. Joanes and C. A. Gill (1998), Comparing measures of sample skewness and kurtosis. The Statistician, 47, 183--189.