Skewness and kurtosis coefficients
Skewness and kurtosis coefficients.
skew(x, pvalue = FALSE) kurt(x, pvalue = FALSE)
x |
A numerical vector with data. |
pvalue |
If you want a hypothesis test that the skewness or kurtosis are significant set this to TRUE. This checks whether the skewness is significantly different from 0 and whether the kurtosis is significantly different from 3. |
The sample skewness and kurtosis coefficient are calculated. For the kurtosis we do not subtract 3.
If "pvalue" is FALSE (default value) the skewness or kurtosis coefficients are returned. Otherwise, the p-value of the significance of the coefficient is returned.
Klio Lakiotaki
R implementation and documentation: Klio Lakiotaki <kliolak@gmail.com>.
https://en.wikipedia.org/wiki/Skewness
https://en.wikipedia.org/wiki/Kurtosis
x <- rgamma(500,1, 4) res<-skew(x) res<-kurt(x, TRUE)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.