Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Re: RE: RE: Label problem


From   "Alexandra de Montrichard" <ademontr@comcast.net>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Re: RE: RE: Label problem
Date   Wed, 5 Oct 2005 20:10:58 -0400

Nick and Michael- Thank you. I now understand how the recode works and
learn a whole new way of writing the same command!

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Michael
Blasnik
Sent: Wednesday, October 05, 2005 6:44 PM
To: statalist@hsphsun2.harvard.edu
Subject: st: Re: RE: RE: Label problem


It appears that you are misunderstanding the label option in recode.  It
is 
meant for naming a label that recode creates when you add text to the 
transformations like (1=4 good) (2=3 very good).  It does not appear to
be 
meant to accept an existing label and apply it.  So, you will need to
use a 
loop to apply the labels to the new variables or else specify the labels

explicity in the recode command.

Michael Blasnik
michael.blasnik@verizon.net

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index