powered by
The function computes the centred and reduced moment of order 4 of the vector x.
x
kurtosis(x)
numeric, vector of independent and identical random variables
A vector of i.i.d. normal random variable.
The function returns the value of
$$\frac{1}{n}\sum_{k=1}^{n}[(x_{i} - \mu_{x})/\sigma_{x}]^4$$
https://en.wikipedia.org/wiki/Kurtosis
http://pgm-solutions.com/packages
# NOT RUN { kurtosis(rpgm.rnorm(10^5)) # }
Run the code above in your browser using DataLab