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: How to include postestimation results (matrix form) in a regression table created by outreg2?


From   Martin Stürmer <[email protected]>
To   <[email protected]>
Subject   st: How to include postestimation results (matrix form) in a regression table created by outreg2?
Date   Thu, 14 Jun 2012 09:19:21 +0200

Dear all,

sorry for reposting. I would be very grateful, if somebody could help me. I
would like to include a matrix of post-estimation results in a table created
by outreg2.

In more detail, I run a regression of the type:
regress x l.x y l.y

I than run a Breusch-Godfrey Test of serial correlation of order 1 and 2:
estat bgodfrey, lags(2)

I would like to add the two sided p-values of this test to a regression
table using outreg2. These values are saved in the 1x2 matrix r(p).

Using
outreg2 using myfile, tex addstat(BG-test p-value, r(p)) I obtain the error
"type mismatch" due to the fact that r(p) is a 1x2 matrix 

How to add this matrix to the regression table?

Thank you so much for your help,

Martin






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