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

st: RE: Creating panel data


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: Creating panel data
Date   Fri, 14 May 2004 13:59:34 +0100

Yes. It is a -reshape- from -wide- to -long-. 

Nick 
[email protected] 

> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]On Behalf Of Mihalka,
> Michael
> 
> 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)?


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