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: reverse tab y, gen(d)
From
"Dimitriy V. Masterov" <[email protected]>
To
Statalist <[email protected]>
Subject
st: reverse tab y, gen(d)
Date
Thu, 26 Sep 2013 14:49:03 -0700
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?
DVM
*
* 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/