> -----Original Message-----
> From: [email protected] [mailto:owner-
> [email protected]] On Behalf Of n j cox
> Sent: Thursday, March 30, 2006 7:31 AM
> To: [email protected]
> Subject: Re: st: RE: Smallest observation
>
> Not quite.
>
> bysort indiv (year) : gen byte index = _n != 1
>
> The sorting by individuals doesn't guarantee
> year order within panels.
>
True. Thanks.
Scott
*
* 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/