kurtosis {cumstats}R Documentation

Pearson's Measure of Kurtosis

Description

This function computes the estimator of Pearson's measure of kurtosis.

Usage

kurtosis(x)

Arguments

x

a numeric vector.

Value

A numeric value of skewness. Returns NA if x contains NA value(s), and NaN if length(unique(x))==1 is TRUE.

Author(s)

Adapted by Arturo Erdely from moments R package by Lukasz Komsta.

References

Komsta, L. and Novomestky, F. (2015). moments: Moments, cumulants, skewness, kurtosis and related tests. R package version 0.14. https://CRAN.R-project.org/package=moments

See Also

cumkurt

Examples

kurtosis(c(9, 1, 3, 0))

[Package cumstats version 1.0 Index]