[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: egen rowmin rowmax
Can you give an example? Is there an error-code? (For example, Are you
sure you don't include, say, a string variable in the varlist?)
The following seems to work:
sysuse auto, clear
egen min=rowmin(price weight turn)
egen max=rowmax(price weight turn)
list price weight turn min max
HTH,
Philipp
Teresa Dale Nelson wrote:
Hello,
Does anyone know why egen's rowmax command would work but its rowmin
would not? My data have cases that should suffice in either case.
Thank you,
Terri
*
* 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/
*
* 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/