Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: egen nth highest or lowest value
From
<[email protected]>
To
<[email protected]>
Subject
st: egen nth highest or lowest value
Date
Thu, 11 Apr 2013 07:18:27 +0000
Dear Statalisters,
is that possible to generate a new variable containing the nth lowest or nth highest value of another variable?
Thanks
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/