Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Skewness and kurtosis


From   Ari Samaranayaka <[email protected]>
To   [email protected]
Subject   Re: st: Skewness and kurtosis
Date   Tue, 17 Mar 2009 13:40:00 +1300

Matt
Thank you very much. That answered my question.
Ari

Matt Spittal wrote:
Dear Ari,

I presume that you are referring to the formulas using the -summarize-
command.  These are given in the manual [R] Q-Z on page 371 for Stata 10.
Briefly, if

m_r = /frac{1}{n} /sum_{i = 1}^n w_i (x_i - /bar{x})^r

then the coefficient of skewness is m_3 m_2 ^{-3/2} and the coefficient of
kurtosis is m_4 m_2 ^{-2}.

-- Matt
[email protected]



On 17/3/09 10:52 AM, "Ari Samaranayaka" <[email protected]>
wrote:

Dear statalist,
Can someone tell me the exact formulas used by Stata to calculate
skewness and kurtosis. This question is because several types of
skewness and kurtosis are defined in literature, and the terminology and
notation are not consistent.
Thanks
Ari

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/




--
Dr. Ari Samaranayaka
IPRU
Dept of Preventive and Social Medicine
University of Otago
Dunedin, New Zealand
(03) 479 7168
http://www.otago.ac.nz/ipru/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index