kurtH-methods: Method 'kurtH': computes the kurthosis of a distribution

kurtHR Documentation

Method kurtH: computes the kurthosis of a distribution

Description

Kurtosis of a histogram (using the fourth standardized moment)

Usage

kurtH(object)

## S4 method for signature 'distributionH'
kurtH(object)

Arguments

object

a distributionH object

Value

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

Author(s)

Antonio Irpino

Examples


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

Airpino/HistDAWass documentation built on Jan. 30, 2024, 7:53 p.m.