Statalist


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

st: Re: expanding on -egen rowmin()-


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: Re: expanding on -egen rowmin()-
Date   Thu, 23 Oct 2008 00:00:48 +0200

Try -ssc d rowsort-. I trust you will be able to take it from there...
HTH
Martin _______________________ ----- Original Message ----- From: "Augusto Cadenas" <[email protected]>
To: <[email protected]>
Sent: Wednesday, October 22, 2008 11:54 PM
Subject: st: expanding on -egen rowmin()-


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/


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