I am trying to get estout or esttab to give show IRR rather than coefficients. Below is an example. Anyone know how to get multiple regression tables with IRR?
Thanks,
Daniel
PHP Code:
. sysuse auto
(1978 Automobile Data)
.
. eststo clear
. . eststo: poisson price weight mpg, irr
Iteration 0: log likelihood = -28823.32
Iteration 1: log likelihood = -28823.314
Iteration 2: log likelihood = -28823.314
Poisson regression Number of obs = 74
LR chi2(2) = 30329.72
Prob > chi2 = 0.0000
Log likelihood = -28823.314 Pseudo R2 = 0.3447
------------------------------------------------------------------------------
price | IRR Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
weight | 1.000258 3.32e-06 77.59 0.000 1.000251 1.000264
mpg | .9876398 .0004757 -25.82 0.000 .9867078 .9885727
_cons | 3566.631 69.32684 420.80 0.000 3433.309 3705.131
------------------------------------------------------------------------------
(est1 stored)
.
.
. . eststo: poisson price weight mpg foreign, irr
Iteration 0: log likelihood = -17660.242
Iteration 1: log likelihood = -17660.22
Iteration 2: log likelihood = -17660.22
Poisson regression Number of obs = 74
LR chi2(3) = 52655.91
Prob > chi2 = 0.0000
Log likelihood = -17660.22 Pseudo R2 = 0.5985
------------------------------------------------------------------------------
price | IRR Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
weight | 1.000569 3.76e-06 151.17 0.000 1.000561 1.000576
mpg | 1.00189 .0004469 4.23 0.000 1.001015 1.002766
foreign | 1.919496 .0083556 149.79 0.000 1.903188 1.935942
_cons | 826.4164 16.88792 328.70 0.000 793.9707 860.1879
------------------------------------------------------------------------------
(est2 stored)
.
.
. . esttab
--------------------------------------------
(1) (2)
price price
--------------------------------------------
price
weight 0.000258*** 0.000568***
(77.59) (151.17)
mpg -0.0124*** 0.00189***
(-25.82) (4.23)
foreign 0.652***
(149.79)
_cons 8.179*** 6.717***
(420.80) (328.70)
--------------------------------------------
N 74 74
--------------------------------------------
t statistics in parentheses
* p<0.05, ** p<0.01, *** p<0.001
.
end of do-file
0 Response to Esttab or Estout for IRR
Post a Comment