[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: using *one* (random) observation meeting an -if- criteria
I'll answer to myself since a thorough search revealed the solution...
On 8/3/05, Fredrik Wallenberg <firstname.lastname@example.org> 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
> * 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: