Learn R Programming

HistDAWass (version 1.0.8)

kurtH: Method kurtH: computes the kurthosis of a distribution

Description

Kurtosis of a histogram (using the fourth standardized moment)

Usage

kurtH(object)

# S4 method for distributionH kurtH(object)

Value

A value for the kurtosis index, 3 is the kurtosis of a Gaussian distribution

Arguments

object

a distributionH object

Author

Antonio Irpino

Examples

Run this code

## ---- 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