skewness | R Documentation |
Compute the moment coefficient of skewness of a continuous, possibly non-normal variable.
skewness(x)
x |
Numeric vector, the values of the variable of interest. |
A numerical value: the moment coefficient of skewness of x
.
Alessandro Samuel-Rosa alessandrosamuelrosa@gmail.com
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.
x <- rlnorm(10) skw <- skewness(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.