Description Usage Arguments Details Value Author(s) Examples
These functions calculate skewness and excess kurtosis of a vector of values. They were taken from the package 'moments'.
1 2 |
x |
a numeric vector, matrix or data frame. |
na.rm |
logical. Should missing values be removed? |
Skewness:
\frac{\frac{1}{n} ∑_{i=1}^n (x_i-\overline{x})^3}{≤ft(\frac{1}{n} ∑_{i=1}^n (x_i-\overline{x})^2\right)^{3/2}}
(excess) Kurtosis:
\frac{\frac{1}{n} ∑_{i=1}^n (x_i - \overline{x})^4}{≤ft(\frac{1}{n} ∑_{i=1}^n (x_i - \overline{x})^2\right)^2} - 3
The skewness/kurtosis values.
Andrej-Nikolai Spiess
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.