powered by
kurtH
Kurtosis of a histogram (using the fourth standardized moment)
kurtH(object)# S4 method for distributionH kurtH(object)
# S4 method for distributionH kurtH(object)
A value for the kurtosis index, 3 is the kurtosis of a Gaussian distribution
a distributionH object
distributionH
Antonio Irpino
## ---- A mydist distribution ---- mydist <- distributionH(x = c(1, 2, 3, 10), p = c(0, 0.1, 0.5, 1)) ## ---- Compute the kurtosis of mydist ---- kurtH(mydist) #---> 1.473242
Run the code above in your browser using DataLab