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: recoding question
From
David Kantor <[email protected]>
To
[email protected]
Subject
RE: st: recoding question
Date
Mon, 24 Dec 2012 17:13:46 -0500
At 02:15 PM 12/24/2012, Peter A. Lachenbruch wrote:
thanks - works well.
[...]
________________________________________
From: [email protected]
[[email protected]] on behalf of Richard
Goldstein [[email protected]]
Sent: Monday, December 24, 2012 8:18 AM
[...]
Tony,
I think what you want is the "label" option to the -encode- command;
just be sure to set up the label (using -label define-) before you use
the -encode- command
Rich
[...]
I recommend that you also use the -noextend- option. This insures
that variant spellings and spurious values do not extend the label.
HTH
--David
*
* 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/