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: Re: st: Estout after xtmixed with ar(1) residuals


From   Kit Baum <[email protected]>
To   [email protected]
Subject   re: Re: st: Estout after xtmixed with ar(1) residuals
Date   Sun, 21 Mar 2010 12:19:34 -0400

<>
not sure how you do it in estout. If there is no easier way, you can
always calculate the needed value, add it to the estimation results
and then run estout.


Use -estadd- (part of the estout package) to add the scalar(s) calcuiated with the scalar command to the stored estimates, and then stat() can be used to call them out.

silly example from auto:

reg price mpg weight
scalar nr2 = e(N)*e(r2)
estadd scalar nr2
esttab, stat(N r2 nr2)

Kit Baum   |   Boston College Economics & DIW Berlin   |   http://ideas.repec.org/e/pba1.html
                              An Introduction to Stata Programming  |   http://www.stata-press.com/books/isp.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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index