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: Destringing variable
From
"Shittu, Aminu" <[email protected]>
To
"[email protected]" <[email protected]>
Subject
st: Destringing variable
Date
Sat, 12 May 2012 10:04:12 -0700 (PDT)
Hi all,
I am trying to destring the var name -month- using the following command but the response was "january not found." Was it due to error in writing the command or because all months (JANUARY to DECEMBER) were entered in UPPERCASE letter?
gen month2=0
replace month2=1 if (month2==january)
-january not found-
Aminu
*
* 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/