> Is there any way that I can select all the numerical variable
> in a dataset? For example, I want to use:
>
> for var equity net_income cash_fixinv : replace X=. if X==0.0001
You can just put a cap on it.
for var _all : cap replace X=. if X==0.0001
Roy
_________________________________________________________________
Hotmail® has ever-growing storage! Don’t worry about storage limits.
http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutorial_Storage_062009
*
* 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/