Hello,
I am using Stata 8.2 (up to date) and have two problems with - recode -:
1. Can I somehow label within - recode - as I have tried below:
recode alter_j (min/1=1 "0-1 Jahr") (1/4=2 ">1-4 Jahre") (4/10=3 ">4-10 Jahre") (10/16=4 ">10-16 Jahre") ///
gen(alter_cat2) label(alter_cat2)
2. Why do I get the error code "r(110)" after the following - recode -. I have a very regular do-file with -generate-, - replace- and -recode- before this error appears:
recode alter_m min/3=1 3/6=2 6/9=3 9/12=4 12/18=5 18/24=6, gen(alter_cat)
__000000 already defined
r(110);
Thanks for your help
Veit Grote
----------------------------------------
Dr. Veit Grote, MSc
University of Munich
Dr. v. Hauner Children's Hospital
Lindwurmstr. 4
D-80337 Munich
Germany
Tel.: +49 (89) 5160-7798
Fax: +49 (89) 5160-2951
[email protected]
----------------------------------------
----------------------------------------
Dr. Veit Grote, MSc
Klinikum der Universit�t M�nchen
Dr. v. Haunersches Kinderspital
Lindwurmstr. 4
D-80337 M�nchen
Tel.: +49 (89) 5160-7798
Fax: +49 (89) 5160-2951
[email protected]
----------------------------------------
*
* 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/