Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Re: Is this a bug I see before me?


From   "Michael Blasnik" <michael.blasnik@verizon.net>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Re: Is this a bug I see before me?
Date   Tue, 30 Sep 2003 10:58:05 -0400

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/



© Copyright 1996–2021 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index