Statalist


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

st: AW:AW: an egen command


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: AW:AW: an egen command
Date   Tue, 16 Feb 2010 12:58:16 +0100

<> 

" I am using egen to create new variables."



BTW, the call to -egen- would have looked something like this:


*************
egen byte var2 = cut(mpg),  /* 
*/ at(`r(min)' ,`r(mean)' ,`=r(max)+1') /* 
*/ icodes
*************



HTH
Martin





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