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: RE: I can't get outreg to post e(at) results after margins


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: I can't get outreg to post e(at) results after margins
Date   Mon, 17 May 2010 19:58:50 +0100

Is this a question about -outreg- or -estout-? They are completely different programs. 

Nick 
[email protected] 

Carlos Zambrana


I want to post e(at) results after margins, together with e(b) and the
significance stars of each coefficient.

Suppose I'm trying to do something like:

clear
webuse auto
regress mpg weight c.weight#c.weight
margins, dydx("weight") at("weight"=(1760(200)4840)) post chainrule

And after that I would like to outreg a table with the e(at) points together
with the e(b) coefficients and their respective significance stars. I tried

estout, cells("b&_star at")

and

estadd matrix At=e(at)'
estout, cells("b&_star at At")

 (I also tried "estadd matrix At=e(at)" just in case matrix dimensions
mattered)

But i always get a table with the e(b) coefficients and empty spaces for the
e(at) or e(At) points. I can turn e(b) into a matrix and estout the joined
(AT\e(b)) matrix but then I can't add the significance stars to this matrix.


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