skewness: Moment coefficient of skewness

View source: R/skewness.R

skewnessR Documentation

Moment coefficient of skewness

Description

Compute the moment coefficient of skewness of a continuous, possibly non-normal variable.

Usage

skewness(x)

Arguments

x

Numeric vector, the values of the variable of interest.

Value

A numerical value: the moment coefficient of skewness of x.

Author(s)

Alessandro Samuel-Rosa alessandrosamuelrosa@gmail.com

References

B. S. Everitt, The Cambridge Dictionary of Statistics, 3rd ed. Cambridge: Cambridge University Press, 2006, p. 432.

D. N. Joanes and C. A. Gill, Comparing measures of sample skewness and kurtosis, J Royal Statistical Soc D, vol. 47, no. 1, pp. 183–189, Mar. 1998, doi: 10.1111/1467-9884.00122.

H. Cramér, Mathematical Methods of Statistics. Princeton: Princeton University Press, 1946, p. 575.

Examples

x <- rlnorm(10)
skw <- skewness(x)

samuel-rosa/pedometrics documentation built on June 21, 2022, 11:32 p.m.