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: how to replace two different repeated value in the whole dataset
From
Raffaele Palladino <[email protected]>
To
[email protected]
Subject
st: how to replace two different repeated value in the whole dataset
Date
Mon, 30 Dec 2013 10:53:46 +0000
Dear statalist users, I am dealing with this problem
I have a whole dataset with several variables where two specific negative values mean, respectively, "I do not know", "I refuse to tell". Apart for these, the other values are all positive so I know that every time there is one of these two specific negative values, they stand for these sentences. Before starting the analysis I should consider both of them as missing values, how can I run a command able to do all this at once? Since the values are "labeled" I guess that Stata would recognize both them if I list as the specific negative value or as label.
Thank you in advance
with kind of regards
Raffaele
*
* 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/