kurtosis: The Kurtosis of a Vector of Random Variables

Description Usage Arguments Details Value Note Author(s) References See Also Examples

View source: R/kurtosis.R

Description

The function computes the centred and reduced moment of order 4 of the vector x.

Usage

1

Arguments

x

numeric, vector of independent and identical random variables

Details

The function returns the value of

(1/n)sum_{k=1}^n[(x_i-mu_x)/sigma_x]^4

Value

A vector of i.i.d. normal random variable.

Note

For the skewness, see the skewness function.

Author(s)

Nicolas Baradel - PGM Solutions

References

https://en.wikipedia.org/wiki/Kurtosis

See Also

http://pgm-solutions.com/packages

Examples

1

Example output

[1] 3.000683

rpgm documentation built on March 18, 2018, 2:24 p.m.