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

st: RE: Label problem


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: Label problem
Date   Wed, 5 Oct 2005 22:21:31 +0100

As Michael Blasnik said in a recent thread 

It's not very helpful to say "but it doesn't work" -- if you want help 
you should say why it doesn't work -- did Stata give you an error?  Were the 
results not what you expected? 

Nick 
[email protected] 

Alexandra de Montrichard
 
> I'm trying to attach labels as part of a recode but although 
> it looks to
> me as if I have the same code as in one of the stata help examples it
> doesn't work. 
> 
> recode q143 q144 q145 q146 q147 q149 q150 q151 q152  (1=4) (2=3) (3=2)
> (4=1), gen(q143r q144r q145r q146r q147r q149r q150r q151r q152r)
> label(agreesc)
> 
> The regular label assignment syntax works fine: label values q143r
> agreesc
> 
> Any pointers as to what the problem might be would be greatly
> appreciated.

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index