Statalist


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

Re:st: difference between "Spearman" and "pwcorr / correlate"


From   Mike Lacy <Michael.Lacy@colostate.edu>
To   statalist@hsphsun2.harvard.edu
Subject   Re:st: difference between "Spearman" and "pwcorr / correlate"
Date   Wed, 07 Oct 2009 11:37:35 -0600


Stas Kolenikov <skolenik@gmail.com> wrote:

>
>Inference for Pearson's moment correlation relies on normality of the
>data. Spearman rank correlation is free of any assumptions, but there
>is no population characteristic that it estimates, which makes
>interpretation and asymptotic inference somewhat weird. If one is
>significant and the other is not, you are making either type I or type
>II error somewhere.
>
>On 10/6/09, Ashwin Ananthakrishnan <ashwinna@yahoo.com> wrote:
>> Hi,
>>
>>  In examining the correlation between two variables, what is the
>difference in utility of the Spearman correlation co-efficient (stata
>command 'spearman') and the Pearson correlation co-efficient (stata
>command "pwcorr" or "correlate")?

In the angels on the head of a pin vein:
Of possible interest in this regard is that the Spearman coefficient is the same as the Pearson calculated on the ranked values of the variables (ties getting the average rank). I would agree that this is not a terribly interesting population parameter, but isn't this nevertheless an estimable/testable population characteristic?

Regards,
=-=-=-=-=-=-=-=-=-=-=-=-=
Mike Lacy
Fort Collins CO USA
(970) 491-6721 office






*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index