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

st: Label problem


From   "Alexandra de Montrichard" <[email protected]>
To   <[email protected]>
Subject   st: Label problem
Date   Wed, 5 Oct 2005 17:08:01 -0400

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.

Thank you,
Alexandra


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