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]
Re: st: reverse tab y, gen(d)
From
daniel klein <[email protected]>
To
"[email protected]" <[email protected]>
Subject
Re: st: reverse tab y, gen(d)
Date
Fri, 27 Sep 2013 09:56:28 +0200
Also see -fromdummies- (part of dummies2) from the SSC.
Best
Daniel
--
Is there a command that does the reverse of -tab y, gen(d)-? Say I
have 10 dummy variables d1-d10, and I want to make a single
categorical variable d that has values 1-10?
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/