My guess is about the same as Michael's. Perhaps
Lee should email the program author.
Nick
n.j.cox@durham.ac.uk
> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu
> [mailto:owner-statalist@hsphsun2.harvard.edu]On Behalf Of Michael
> Blasnik
> Sent: 30 September 2003 15:58
> To: statalist@hsphsun2.harvard.edu
> Subject: st: Re: Is this a bug I see before me?
>
>
> 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
> michael.blasnik@verizon.net
>
>
> ----- Original Message -----
> From: "Lee Sieswerda" <Lee.Sieswerda@tbdhu.com>
> To: <statalist@hsphsun2.harvard.edu>
> 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
> > Lee.Sieswerda@tbdhu.com
>
>
> *
> * 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/