![]() |
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: RE: mvencode numlist
From
"Nick Cox" <n.j.cox@durham.ac.uk>
To
<statalist@hsphsun2.harvard.edu>
Subject
st: RE: mvencode numlist
Date
Fri, 13 Feb 2009 19:09:00 -0000
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
n.j.cox@durham.ac.uk
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/
© Copyright 1996–2023 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |