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

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


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   RE: st: Is this a bug I see before me?
Date   Tue, 7 Oct 2003 09:15:04 +0100

Fred Wolfe

> >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.
> 
> summari is allowed, but not summarize. tabsort is a version 
> 6 program. The 
> limit is a throw back to the time when macro names were 
> limited in length. 
> However, the error message is wrong.

This question has previously been answered. 
Fred's diagnosis is correct as far as the original 
program was concerned, but -tabsort- 
has already been updated on SSC to fix this; 
it is now a version 8 program. 

Nick 
[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/



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