Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[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 <>
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   |
                              An Introduction to Stata Programming  |
   An Introduction to Modern Econometrics Using Stata  |

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index