Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

st: egen nth highest or lowest value


From   <Caterina.ASTARITA@ec.europa.eu>
To   <statalist@hsphsun2.harvard.edu>
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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index