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

st: RE: repeated time


From   "Yaojun Li" <y.li.3@bham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: repeated time
Date   Sat, 2 Oct 2004 18:26:47 +0100

Could you just try

sort id year sex income

best wishes

-----Original Message-----
From: Paulo Loureiro [mailto:loureiro77@hotmail.com] 
Sent: 02 October 2004 18:22
To: statalist@hsphsun2.harvard.edu
Subject: st: repeated time 

Dear list members

Please, I would really appreciate some help on this.

I would like to convert these repeated time panel data (pooled data)

                     id   year   sex    inc
                      -----------------------
                       1     80     0   5000
                       2     80     1   2000
                       3     80     0   3000
                       1     81     0   5500
                       2     81     0   2200
                       3     81     1   2000
                       1     82     0   6000
                       2     82     1   3300
                       3     82     0   1000
in the form of data of panel in series of time.
Data should be in long format:

                      id   year   sex    inc
                      -----------------------
                       1     80     0   5000
                       1     81     0   5500
                       1     82     0   6000
                       2     80     1   2000
                       2     81     1   2200
                       2     82     1   3300
                       3     80     0   3000
                       3     81     0   2000
                       3     82     0   1000

I will be very happy if you can help me!

Thanks a lot.

Paulo Loureiro

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's
FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

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

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index