Learn R Programming

cumstats (version 1.0)

kurtosis: 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.

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

Run this code
kurtosis(c(9, 1, 3, 0))

Run the code above in your browser using DataLab