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: Recode and Label problem


From   Prakash Singh <[email protected]>
To   [email protected]
Subject   Re: st: Recode and Label problem
Date   Wed, 17 Oct 2012 11:59:40 +0530

Dear Malay

I think this will do for you

recode var39 (2=0 "label of 2")

for instance suppose label in var39 is 1=yes and 2= no then
recode var39 (2=0 "no")

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