Doing things quietly in Stata

Stata's quietly command allows commands to be run without outputting to the results window. This is useful if you only require the returned results.

To demonstrate, I use the automobile dataset. For example, if I type the following in the command pane, there is no output in the results window:

quietly summarize mpg, detail

We can also combine quietly with { }:

However, if you wish to see specific output in a quiet block, you can add noisily to this:

NOTE: quietly is often used in programs, and is useful when you are using Stata interactively and want to temporarily suppress the terminal output. noisily turns back on terminal output, it is useful only in programs.

For more information, please type:

help quietly

4,355 views0 comments

Recent Posts

See All