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

st: Re: Re: Re: RE: Re: panel data command


From   "is300gp" <[email protected]>
To   <[email protected]>
Subject   st: Re: Re: Re: RE: Re: panel data command
Date   Wed, 28 Jul 2004 15:32:18 -0700

So for reshape to work, all the to-be-reshaped variables got to have the
same prefix, e.g. part or wage and time is automatically determined by
stata, is this correct? then what are the acceptable suffix, is part1 and
partt acceptable?

Thanks.

Gang
----- Original Message ----- 
From: "Michael Blasnik" <[email protected]>
To: <[email protected]>
Sent: Wednesday, July 28, 2004 2:52 PM
Subject: st: Re: Re: RE: Re: panel data command


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

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