Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Reshape question


From   Alejandro "Ria�o" <[email protected]>
To   [email protected]
Subject   st: Reshape question
Date   Wed, 16 Apr 2003 18:30:36 -0700 (PDT)

Hello Statalisters, I have the following monthly
dataset:

date        Argentina     Brazil  Colombia .....
01/01/90       x1             y1       z1  
02/01/90       x2             y2       z2
   .           .              .        .
   .           .              .        .

and so on..

where Xi, Yi and Zi are values for a given time-series


I'd like this change this dataset into a long format,
like this:


date         Country       Serie
01/01/90      ARG           x1
02/01/90      ARG           x2
01/01/90      BRA           y1
02/01/90      BRA           y2
01/01/90      COL           z1
02/01/90      COL           z2

Thanks your for your help

__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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