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.
Nick
[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:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/