I'll answer to myself since a thorough search revealed the solution...
-findobs-
On 8/3/05, Fredrik Wallenberg <[email protected]> wrote:
> As a follow up on my earlier question regarding grouping observations
> I got (and built) solutions that work but that rely on sorts to put an
> observation meeting my criteria in position 1.
>
> If there was a way for me to set a scalar equal to the first
> observation that meets my criteria, I suspect I could speed up the
> algorithm a lot (and trust me, I need it... I'm probably about 1/4
> through the dataset and my program has been running for well over 12
> hrs).
>
> Thanks,
>
> Fredrik
>
> *
> * 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/