skewH-methods: Method 'skewH': computes the skewness of a distribution

skewHR Documentation

Method skewH: computes the skewness of a distribution

Description

Skewness of a histogram (using the third standardized moment)

Usage

skewH(object)

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

Arguments

object

a distributionH object

Value

A value for the skewness index

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 skewness of mydist ----
skewH(mydist) #---> -1.186017

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