Statalist The Stata Listserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: bys

From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: bys
Date   Fri, 21 Apr 2006 18:55:07 +0100

I guess that whatever you do a main header will still be displayed
after the first group header. 

I think this needs a change to Stata, e.g. an option added 
to -bysort- specifying a header. 

Alternatively, it may be possible indirectly, 
by calling a program (or do file) that displays
a header, then fires up a byable program, but 
at first sight the passing of arguments would be
somewhat awkward.  

[email protected] 

Fred Wolfe
> I am interested in displaying a title for an analysis program 
> that is byable.
> However, when I write the Stata code for the title it is 
> executed once for 
> every by group. Is there a way within such a program to 
> execute the display 
> code only once? Would using _byindex() == 1 work to do that?

*   For searches and help try:

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