Learn R Programming

confintr (version 1.0.2)

kurtosis: Pearson's Measure of Kurtosis

Description

Defined as the ratio of the 4th central moment and the squared second central moment. Under perfect normality, the kurtosis equals 3. Put differently, we do not show "excess kurtosis" but rather kurtosis.

Usage

kurtosis(z, na.rm = TRUE)

Value

Numeric vector of length 1.

Arguments

z

A numeric vector.

na.rm

Logical flag indicating whether to remove missing values or not. Default is TRUE.

See Also

moment(), skewness()

Examples

Run this code
kurtosis(1:10)
kurtosis(rnorm(1000))

Run the code above in your browser using DataLab