Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: re: Controlling Output in the Results Window


From   Thomas Jacobs <[email protected]>
To   [email protected]
Subject   Re: st: re: Controlling Output in the Results Window
Date   Tue, 17 Feb 2009 12:02:29 -0600

Kit,

Thanks for the reply.  Please forgive my ignorance but I am unsure how
to follow your advice.  My Stata programming experience only recently
extended to successfully calling a do file from another do with
arguments, etc.  Is creating a function simply creating an ado file?
If not, is there anywhere in the manuals that I might find an example?

Tom

On Tue, Feb 17, 2009 at 11:44 AM, Christopher Baum <[email protected]> wrote:
>
> <>
> Tom said
>
> I would appreciate any suggestions and comments on a workaround for the following problem. I am trying to constrain what appears in the results window to just the printf statements the mata portion of my stata program produces and have used the quietly command in a do file that is repeatedly called by another do file to suppress the remainder of the program. Yet I cannot figure out how to hide the actual mata code that writes the output I need to see.
>
> Put the Mata code in a function and call the function.  E.g. when you run -hprescott-, you do not see any code, but it is calling Mata.
>
> 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
>
> *
> *   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/



--
Thomas Jacobs

*
*   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/



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