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: Create Dummy Variable
From
Hobst <[email protected]>
To
[email protected]
Subject
st: Create Dummy Variable
Date
Tue, 29 Jun 2010 09:19:08 -0700 (PDT)
I have a Variable called New_Brand, it consists of 56 different Brand names.
Is there a command, which lets me create a dummy variable for each of the
brand? Sorry for the noob question, but i dont get it.
I tried it with foreach but didnt get it right
--
View this message in context: http://statalist.1588530.n2.nabble.com/Create-Dummy-Variable-tp5235676p5235676.html
Sent from the Statalist mailing list archive at Nabble.com.
*
* 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/