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]
st: Problem with -recode- and temporary variables
From
Alan Neustadtl <[email protected]>
To
[email protected]
Subject
st: Problem with -recode- and temporary variables
Date
Thu, 11 Nov 2010 14:26:24 -0500
I am trying to recode a variable and getting an error that a temporary
variable is already defined. I have rebooted and restarted Stata but
still get the same error message.
If anyone can shed some light I would appreciate it. The code I am running is:
. recode region (1/4 9=0 "Blue")(4/8=1 "Red"), gen(redblue)
__000000 already defined
r(110);
Sincerely,
Alan
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/