Re: [R] skewness and kurtosis in e1071 correct? (correction)

From: Dirk Enzmann <dirk.enzmann_at_jura.uni-hamburg.de>
Date: Tue 24 May 2005 - 22:49:24 EST


I'm sorry, but my previous message, as often happens, some brackets were wrong:

Here are the correct formulas:

sd = 1/n * sum((x-mean(x))^2) # (1)

sd = 1/(n-1) * sum((x-mean(x))^2) # (2)

This also occured in the last paragraph.

Dirk



Dr. Dirk Enzmann
Institute of Criminal Sciences
Dept. of Criminology
Edmund-Siemers-Allee 1
D-20146 Hamburg
Germany

phone: +49-040-42838.7498 (office)

        +49-040-42838.4591 (Billon)
fax: +49-040-42838.2344
email: dirk.enzmann@jura.uni-hamburg.de
www:
http://www2.jura.uni-hamburg.de/instkrim/kriminologie/Mitarbeiter/Enzmann/Enzmann.html



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue May 24 22:53:59 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:01 EST