Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: Partially suppressing output


From   Maarten buis <[email protected]>
To   [email protected]
Subject   Re: st: Partially suppressing output
Date   Tue, 22 Feb 2011 15:14:11 +0000 (GMT)

--- On Tue, 22/2/11, Dmitriy Krichevskiy wrote:
>  I am running a regression (on Stata 11) which includes a
> large number of dummy variables. I want to use them as
> controls but do not care to see the output for those
> particular variables. Is there a way to suppress a
> particular variable from reported results?

Typically, when you do something like that you are trying
to manually recreate a fixed effects regression. If that is
what you want to do, then you should not use -regress- but
-xtreg- instead, see -help xtreg-.

There is no way to suppress part of the output, but you can
suppress the entire output and later display only some 
parameters using -est table-, like so:

*-------------- begin example ---------------
sysuse auto, clear
qui reg price i.rep78 mpg foreign
est table, keep(mpg foreign) b se
*--------------- end example ----------------
(For more on examples I sent to the Statalist see: 
http://www.maartenbuis.nl/example_faq )

Hope this helps,
Maarten

--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany

http://www.maartenbuis.nl
--------------------------


      

*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index