Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: transposing a dataset


From   "Howrey, Bret T." <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   st: RE: transposing a dataset
Date   Fri, 18 Jul 2008 08:47:51 -0500

.
.
 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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index