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

st: Creating panel data


From   "Mihalka, Michael" <MihalkaM@marshallcenter.org>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Creating panel data
Date   Fri, 14 May 2004 14:54:48 +0200

Folks,

I have data in the form:

Country1 XYR1 XYR2 XYR3
Country2 XYR1 XYR2 XYR3

and would like to have it in the form:

Country1 YR1 X
Country1 YR2 X
Country1 YR3 X
Country2 YR1 X
Country2 YR2 X
Country2 YR3 X

Is there an easy way to do this in stata (or some other way)?

Thanks!
Michael



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