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]

st: Indicate fixed-effects from -xtreg, fe- in -esttab- or -estout-


From   Bert Jung <[email protected]>
To   [email protected]
Subject   st: Indicate fixed-effects from -xtreg, fe- in -esttab- or -estout-
Date   Wed, 30 May 2012 22:47:11 -0400

Dear Statalisters,

I would like to output estimates from a -xtreg, fe- model with
-esttab- and want a row at the bottom of the table that indicates
"Yes" for the fixed-effects.  Since -xtreg- does not estimate these
coefficients, I cannot use the -estout- option -indicate( )- to do
this.

A silly example:

eststo: xtreg weight length turn , fe i(rep78)
esttab , cells(b) indicate("Turn var = turn")


Which generates the following:


-------------------------
                      (1)
                   weight
                        b
-------------------------
length           27.79437
_cons           -3262.035
Turn var              Yes
-------------------------
N                      69
-------------------------


I would like a row just like the "Turn var" that indicates that fixed
effects are present.  I don't need the name of the FE variable just
the indicator as such:

-------------------------
length           27.79437
_cons           -3262.035
Turn var              Yes
Fixed effects      Yes
-------------------------
N                      69
-------------------------


This problem was raised but not answered in
http://www.stata.com/statalist/archive/2010-11/msg00799.html

I am hoping that someone may have found the answer.  Thanks for any pointers.

Best Bert
*
*   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