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: global macro syntax for recoding missing values
From
Rebecca Coates <[email protected]>
To
"[email protected]" <[email protected]>
Subject
st: global macro syntax for recoding missing values
Date
Tue, 9 Aug 2011 16:24:16 +1000
Dear Statalist users,
I am archiving a dataset that has used multiple different values for missing data and I need to standardise all 3 waves to one missing value. I have a very basic understanding of macros, but can't figure out how to write a macro that will basically recode "." | "99" | "-999" == "999".
Does anyone have any suggestions or know where I can look?
Thank You!
Rebecca
*
* 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/