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]
st: Mvdecode Problem
From
James Jensen <[email protected]>
To
"[email protected]" <[email protected]>
Subject
st: Mvdecode Problem
Date
Fri, 23 Aug 2013 15:27:34 +0100 (BST)
Hi all,
I want to code whatever negative or zero in the dataset to missing.
If I use mvdecode _all, mv(0/-9) or mvdecode _all, mv(-9/0)
Then I notice when I used mvdecode _all, mv(0/-9) , the -9 did not become missing.
The second thing is that I want to recode whatever negative to missing.
If I use mvdecode _all, mv(-1/-9) or mvdecode _all, mv(-9/-1)
Would it make a difference whichever way I put the -1 or -9 first?
*
* 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/