Hello Statlist,
I am using est sto and estout to export regression results to excel. I know it should be able to export interaction coefficient but in my case this is not working:
I am using est sto and estout to export regression results to excel. I know it should be able to export interaction coefficient but in my case this is not working:
PHP Code:
sysuse auto
(1978 automobile data)
. reg price rep78##c.mpg
Source | SS df MS Number of obs = 69
-------------+---------------------------------- F(9, 59) = 3.65
Model | 206362465 9 22929162.7 Prob > F = 0.0011
Residual | 370434494 59 6278550.75 R-squared = 0.3578
-------------+---------------------------------- Adj R-squared = 0.2598
Total | 576796959 68 8482308.22 Root MSE = 2505.7
------------------------------------------------------------------------------
price | Coefficient Std. err. t P>|t| [95% conf. interval]
-------------+----------------------------------------------------------------
rep78 |
2 | 10881.12 13452.68 0.81 0.422 -16037.64 37799.87
3 | 8973.281 12725.58 0.71 0.483 -16490.55 34437.11
4 | 651.7399 12823.1 0.05 0.960 -25007.23 26310.71
5 | 4363.191 12794.52 0.34 0.734 -21238.58 29964.96
|
mpg | -123.1667 590.6 -0.21 0.836 -1304.955 1058.621
|
rep78#c.mpg |
2 | -507.6563 642.1123 -0.79 0.432 -1792.52 777.2075
3 | -375.7209 601.1921 -0.62 0.534 -1578.704 827.2618
4 | 43.26329 603.3025 0.07 0.943 -1163.942 1250.469
5 | -81.52802 597.53 -0.14 0.892 -1277.183 1114.127
|
_cons | 7151 12528.52 0.57 0.570 -17918.51 32220.51
------------------------------------------------------------------------------
. est sto ols1
. estout ols1, cells(b(star fmt(%9.3f)) se(par fmt(%9.2f)) N) keep(rep78#c.mpg) //
coefficient rep78#c.mpg not found
r(111);

Comment