Statalist


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

st: expanding on -egen rowmin()-


From   "Augusto Cadenas" <[email protected]>
To   [email protected]
Subject   st: expanding on -egen rowmin()-
Date   Wed, 22 Oct 2008 17:54:58 -0400

Hello,

I wanted to go beyond the command -egen rowmin(/varlist/)- and create
a new variable containing the second-smallest value in /varlist/,
another one with the third-smallest and so one. Could anyone suggest
me a way to do this? I searched among the extensions of egen, but I
could not find anything suitable.

Thanks in advance,

Augusto
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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