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

st: data manipulation


From   jdubas@nd.edu
To   STATA list <statalist@hsphsun2.harvard.edu>
Subject   st: data manipulation
Date   Tue, 15 Jun 2004 16:53:57 -0500

Hello, 
I have what may be a basic question.  I have data like this:
country year series1 series2 series3
1          1      1000     .         .
1          2      1035     .         .
1         1        .        50        .
1          2       .         53       .
1         1        .          .        7 
1         2        .          .         8.5
2 etc


Is there anyway I can basically collapse these so that:
country  year  series1   series2  series3
1           1      1000       50        7
1           2      1035       53        8.5

for a number of countries?

Thanks for your help.
Justin


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