search for: mskew

Displaying 1 result from an estimated 1 matches for "mskew".

Did you mean: skew
2006 Sep 08
1
Computing skewness and kurtosis with the moments package
...glen <- log10(Length) With SPSS, I get Skewness -0.320 Kurtosis -1.138 With R: > skewness(loglen) [1] -0.317923 > kurtosis(loglen) [1] 1.860847 Using the example skew and kurtosis functions from M. J. Crawley's "Statistics: An introduction using R": pp 69 and 72: > mskew(loglen) [1] -0.3158337 > mkurtosis(loglen) [1] -1.155441 The kurtosis value here matches the SPSS calculation somewhat more closely, but is still not exactly the same. Looking at the functions, there is some difference between them: > skewness function (x, na.rm = FALSE) { if (is.matr...