Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: RE: Smallest observation


From   "Scott Merryman" <[email protected]>
To   <[email protected]>
Subject   RE: st: RE: Smallest observation
Date   Thu, 30 Mar 2006 07:40:36 -0600

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



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index