Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: RE: Changing -correlate- results

From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   RE: st: RE: Changing -correlate- results
Date   Mon, 21 Mar 2005 14:21:38 -0000

Well, yes it is. Here, and almost always 
elsewhere, there is presumably no substantive
difference, but I'd argue that equal values
should get equal ranks. 

[email protected] 

louis boakye-yiadom
> I've tried both the -egen- and -sort, stable- approaches; 
> each gives me 
> identical results after each execution of the do file. With 
> -egen- the 
> correlation coefficient is always 0.7498, and with -sort, 
> stable-, the 
> result is always 0.7608. I suppose the difference in the two 
> results lies in how tied ranks are treated. 

*   For searches and help try:

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