Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

kurtosis

Kurtosis


Description

Computes the kurtosis.

Usage

kurtosis(x)

Arguments

x

a numeric vector containing the values whose kurtosis is to be computed. NA values are removed in the computation.

Details

If N = length(x), then the kurtosis of x is defined as:

N sum_i (x_i-mean(x))^4 (sum_i (x_i-mean(x))^2)^(-2) - 3

N sum_i (x_i-mean(x))^4 (sum_i (x_i-mean(x))^2)^(-2) - 3

Value

The kurtosis of x.

References

G. Snedecor, W. Cochran. Statistical Methods, Wiley-Blackwell, 1989

Examples

x <- rnorm(100)
kurtosis(x)

npde

Normalised Prediction Distribution Errors for Nonlinear Mixed-Effect Models

v3.1
GPL (>= 2)
Authors
Emmanuelle Comets [aut, cre] (<https://orcid.org/0000-0002-9150-9886>), Karl Brendel [ctb], Thi Huyen Tram Nguyen [ctb], Romain Leroux [ctb], France Mentre [ctb]
Initial release
2021-04-07

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.