Hello Statalist,
I am trying to add the results of the lincom postesimation command to a table of regression output created by outreg2 using the "addstat" option. I am having two problems, the first is that I am only able to add the estimate, not the standard error or t-statistic, and that I cannot get the syntax correct to have the table created as an excel file.
The following will add the estimate of x2+x3:
reg y x1 x2 x3
lincom x2 + x3
local F1 = r(estimate)
outreg2 using "myfile", addstat(Test1, `r(estimate)')
I'm having trouble with the proper syntax to add the standard error and/or t-statistic, and have the table written as an excel file.
Thank you for any suggestions!
Joshua A. Shindell
*
* 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/