Now come on please. There is on-line help
on -reshape-. There are FAQs on -reshape-.
Possibly, you have access to the manual
and thus [R] reshape. All these give
answers.
Sorry, but your question is not an
appropriate use of Statalist. Please
learn to help yourself first.
Nick
[email protected]
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]On Behalf Of is300gp
> Sent: 28 July 2004 23:32
> To: [email protected]
> Subject: st: Re: Re: Re: RE: Re: panel data command
>
>
> 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/
>
*
* 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/