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

Re: st: RE: rank error?


From   Ernest Berkhout <[email protected]>
To   [email protected]
Subject   Re: st: RE: rank error?
Date   Wed, 28 May 2003 13:48:03 +0200

At 13:29 28-5-2003, you wrote:
If one wants to do a certain operation on all obs with -var1-==X,
indexing through all the values of X, and do so in order of increasing
X, then the value of such a ranking becomes obvious.
Somehwat rethoric question as I'm not sure:
Can't that be accomplished also with:

sort X
egen rankvar=group(X)

?

Ernest Berkhout
SEO Amsterdam Economics
University of Amsterdam

Room 3.08
Roetersstraat 29
1018 WB Amsterdam
The Netherlands

tel.:+ 31 20 525 1657
fax:+ 31 20 525 1686
http://www.seo.nl
===========================
A statistician: someone who insists
on being certain about uncertainty
===========================

*
*   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