Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

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

st: AW: Create Dummy Variable

From   "Martin Weiss" <>
To   <>
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.


-----Ursprüngliche Nachricht-----
[] Im Auftrag von Hobst
Gesendet: Dienstag, 29. Juni 2010 18:19
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:
Sent from the Statalist mailing list archive at
*   For searches and help try:

*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index