Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | daniel klein <klein.daniel.81@gmail.com> |
To | "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |
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/