It is a bug...looking at the code, the option is actually called summari,
not summarize, and the logic for checking that it is selected when using
sort(mean) doesn't pick this up. I assume the author figured that no one
would spell it out fully.
Michael Blasnik
[email protected]
----- Original Message -----
From: "Lee Sieswerda" <[email protected]>
To: <[email protected]>
Sent: Tuesday, September 30, 2003 10:48 AM
Subject: st: Is this a bug I see before me?
> Hi all,
> For some reason, this syntax returns an error:
>
> . tabsort phu_nam, summarize(rate) sort(mean)
> sort(mean) not allowed without summarize( )
> r(198);
>
> But this abbreviated syntax works without a hitch:
>
> . tabsort phu_nam, su(rate) so(mean)
>
> I haven't finished my first cup of coffee this morning, so maybe I'm
missing
> something obvious. But, yes, my Stata is up to date.
>
> Best,
> Lee
>
> Lee Sieswerda, Epidemiologist
> Thunder Bay District Health Unit
> [email protected]
*
* 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/