Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Destringing variable

From   "Shittu, Aminu" <>
To   "" <>
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-

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index