Thanks Nick, that is much easier.
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Nick Cox
Sent: Friday, February 13, 2009 12:09 PM
To: [email protected]
Subject: st: RE: mvencode numlist
I would not even try, as it seems much easier to use something else:
replace y = . if y < 0
Even if you have a batch of variables, you can do that within a
-foreach- loop.
Nick
[email protected]
Hugh Robinson
Can someone tell me the proper numlist coding to change all values less
than zero to "missing values".
*
* 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/