reshape long part wage, i(id) j(time)
After you see the power of reshape (and many other Stata features), you
probably will want to rethink how much you want to use Excel in managing, or
working with, data ;)
Michael Blasnik
[email protected]
----- Original Message -----
From: "is300gp" <[email protected]>
To: <[email protected]>
Sent: Wednesday, July 28, 2004 5:42 PM
Subject: st: Re: RE: Re: panel data command
> Thanks a lot, both of these work. Great!
>
> If you two don't mind, I'd like to ask a related question: how to convert
> the matched cross sectional data into standard panel in stata?
>
> I used to do this in excel as well, and everytime I change the varaible
> list, I have to change the code in excel, very tedious.
>
> Say, I used id to match two datasets from two period, I have id, part1,
and
> wage1 in data set one, and id, part2 and wage2 in dataset 2; after the
> matching, I have id, part1, wage1, part2 and wage2 as a cross-sectional
> dataset, then from here, what should I do to convert this format into the
> standard two year panel stata format? Thanks.
>
>
> Gang
>
>
*
* 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/