From | Richard Williams <Richard.A.Williams.5@nd.edu> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: identify group of observations |
Date | Wed, 28 Apr 2004 22:54:18 -0500 |
At 09:47 PM 4/28/2004 -0500, Doug Owens wrote:
That is good; I was trying to think of how to do this without subscripts. And slightly simpler,Then you can just gen grp = flag=="01" replace grp = sum(grp)
© Copyright 1996–2023 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |