From | "Nick Cox" <[email protected]> |
To | <[email protected]> |
Subject | st: RE: how to tag the seqence in unbalanced panel data? |
Date | Tue, 25 May 2004 17:04:31 +0100 |
These are panel data. Somewhere you have
a time variable. So
bysort ID (time) : gen order = _n
Nick
[email protected]
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]On Behalf Of chen jie
> Sent: 25 May 2004 16:42
> To: [email protected]
> Subject: st: how to tag the seqence in unbalanced panel data?
>
>
> Dear statalist friends
>
> How to create the variable of "order" in this
> unbalanced panel data by stata?
>
> ID order
> A 1
> A 2
> A 3
> A 4
> B 1
> B 2
> C 1
> C 2
> C 3
> ....(remaining data omitted)
>
> Thanks!
>
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Friends. Fun. Try the all-new Yahoo! Messenger.
> http://messenger.yahoo.com/
> *
> * 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 |