# st: Re: basic ado question

 From Kit Baum To statalist@hsphsun2.harvard.edu Subject st: Re: basic ado question Date Tue, 24 Feb 2009 06:50:39 -0500

<>

Use some routine (such as estout or tabout) to produce a table from each of the 12 studies as an external file in smcl, html, tex or whatever you prefer. Then you can just examine them as a single document. In LaTeX that would be very simple because you could just

\begin{document}
\input{case01}
\input{case02}
...
\input{case12}
\end{document}

in a single .tex document.

Kit Baum, Boston College Economics and DIW Berlin
http://ideas.repec.org/e/pba1.html
An Introduction to Modern Econometrics Using Stata:
http://www.stata-press.com/books/imeus.html

On Feb 24, 2009, at 02:33 , Tom wrote:


I am trying to do a series of 12 event studies with 50 firms.  Rather
than code them in one giant do I moved to a structure with a master do
that accumulates the common information and a called do for each event
study using stata and mata to perform 50 separate regressions on each
of two explanatory variables accumulate values of interest and report
them in the results window.  As I would like to have a single
consistent explanatory equation for each of the two variables over all
of the event studies, it is very time consuming to scroll through the
mata code in between each of the 12 events even if I maximize use of
the quietly command.  Thus, I wanted to have the called module be a
program so I only had to scroll through the output results and that is
how I got to the ado.  That being said, I could have done this more
systematically as you mention, building it slowly instead trying to
jam the entire do into an ado off the bat.  As a matter of fact, that
is what I will need to do at this point going forward.


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/