Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: recode foreach with sysmis versus dot
From
annoporci <[email protected]>
To
[email protected]
Subject
Re: st: recode foreach with sysmis versus dot
Date
Tue, 25 Dec 2012 05:21:58 +0800
Nick:
See also -mvdecode- and -mvencode-.
Thanks Nick, that's great, especially the _all option
mvdecode _all, mv(0=.)
Daniel:
Also note that the loop is not necessary here, as -recode- allows a
varlist.
Thanks Daniel, I hadn't noticed, I'll look into that.
Thanks a lot to both of you.
--
Patrick Toche.
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/