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


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: RE: Re: AW: Create Dummy Variable
Date   Tue, 29 Jun 2010 17:59:28 +0100

See also -dummieslab- from SSC. 

Nick 
[email protected] 


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Nick Cox
Sent: 29 June 2010 17:52
To: [email protected]
Subject: st: RE: Re: AW: Create Dummy Variable

That depends on whether those names could be legal variable names. You
are better off getting the real names into variable labels. 

(It's best not to delete what you are replying to. That's over-zealous,
although sometimes better than the opposite extreme of deleting
nothing.) 

Nick 
[email protected] 

Hobst

the gen() option worked out great. Thank you. Is it also possible, that
these
newly generated variables are named after the brand name in new_brand?
instead of name1, name1, etc

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