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

RE: st: RE: rank error?


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   RE: st: RE: rank error?
Date   Wed, 28 May 2003 12:51:12 +0100

Ernest Berkhout

> Somehwat rethoric question as I'm not sure:
> Can't that be accomplished also with:
> 
> sort X
> egen rankvar=group(X)
> 
> ?

That's my opinion too. Note that the prior -sort- is unnecessary. 

Nick 
[email protected] 
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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