[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: RE: transposing a dataset
.
.
Lookup -reshape- it's a very useful function.
Bret
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Alexander Severinsen
Sent: Friday, July 18, 2008 3:08 AM
To: statalist
Subject: st: transposing a dataset
Dear Statalist,
I have a dataset with the following three variables:
dmu x1 x2
1 10 20
2 30 40
I want to transpose it into a structure like:
dmu x1 x2 1 10 20 2 30 40
Any hints would be greatly appreciated.
Best wishes,
Alexander Severinsen
*
* 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/