Bookmark and Share

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: AW: Create Dummy Variable


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: AW: Create Dummy Variable
Date   Tue, 29 Jun 2010 18:21:17 +0200

<> 


See - h xi-, -h fvvarlist- or -h tab- with the -gen()- option.



HTH
Martin


-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Hobst
Gesendet: Dienstag, 29. Juni 2010 18:19
An: [email protected]
Betreff: st: Create Dummy Variable

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-tp5235676p52356
76.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/


*
*   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/


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