search for: myskewness

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

1999 Jul 28
1
skewness, kurtosis
...oppers, Currently R does not include functions to compute the skewness and kurtosis. I programmed it myself in the following way, but probably *real* programmers/statisticians can do that better: mykurtosis <- function(x) { m4 <- mean((x-mean(x))^4) kurt <- m4/(sd(x)^4)-3 kurt } myskewness <- function(x) { m3 <- mean((x-mean(x))^3) skew <- m3/(sd(x)^3) skew } I would also suggest to include the quartile-coefficient of skewness (sorry if this translation from German is not correct). This measure is confined to the interval [0,1] and much easier to interpret. My try: myq...