Statalist


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

st: transposing a dataset


From   Alexander Severinsen <[email protected]>
To   statalist <[email protected]>
Subject   st: transposing a dataset
Date   Fri, 18 Jul 2008 10:08:09 +0200

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/



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