Bookmark and Share

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: how to replace two different repeated value in the whole dataset


From   Nick Cox <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: how to replace two different repeated value in the whole dataset
Date   Mon, 30 Dec 2013 11:46:57 +0000

<>

-mvdecode- is what you seek. Start with its help. You would be well
served by using codes such as .a and .b.

Nick
[email protected]


On 30 December 2013 10:53, Raffaele Palladino
<[email protected]> wrote:
> 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/

*
*   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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index