Dear Forum,
I have a problem regarding random and fixed effects with the Hausmann test in a logit regression.
I have as independent variable a binary variable reflecting industries (1 for dirty, 0 for clean). As dependent variable I also have a binary variable (purpose). The command is as follows:
xtlogit purpose dirty_l2 cf_l2 growth_l2 capexi_l2 adexi_l2 sl_l2 fs_l2 om_l2, fe
estimates store FE
xtlogit purpose dirty_l2 cf_l2 growth_l2 capexi_l2 adexi_l2 sl_l2 fs_l2 om_l2, re
estimates store RE
hausman FE RE
The Hausmann test shows me a significant result and that means that I should use fixed effects.
The problem is that the regression with fixed effects is omitted. I guess it is because the independent variable is industry related:
purpose | Coefficient Std. err. z P>|z| [95% conf. interval]
-------------+----------------------------------------------------------------
dirty_l2 | 0 (omitted)
cf_l2 | .03374 .0515483 0.65 0.513 -.0672928 .1347729
growth_l2 | 1.032585 .8782802 1.18 0.240 -.6888127 2.753983
capexi_l2 | .4081369 6.973933 0.06 0.953 -13.26052 14.07679
adexi_l2 | 11.63989 9.286588 1.25 0.210 -6.561483 29.84127
sl_l2 | -.0486311 .1810182 -0.27 0.788 -.4034202 .3061579
fs_l2 | .4090683 .4382702 0.93 0.351 -.4499255 1.268062
om_l2 | -.2673203 1.438415 -0.19 0.853 -3.086561 2.551921
For my work, I am now wondering whether I should simply leave out the Hausman test and use random effects, or whether the results of the Hausman test are important and the regression then outputs nothing. I would be very happy about an assessment and / or literature!
Thank you,
Jana
I have a problem regarding random and fixed effects with the Hausmann test in a logit regression.
I have as independent variable a binary variable reflecting industries (1 for dirty, 0 for clean). As dependent variable I also have a binary variable (purpose). The command is as follows:
xtlogit purpose dirty_l2 cf_l2 growth_l2 capexi_l2 adexi_l2 sl_l2 fs_l2 om_l2, fe
estimates store FE
xtlogit purpose dirty_l2 cf_l2 growth_l2 capexi_l2 adexi_l2 sl_l2 fs_l2 om_l2, re
estimates store RE
hausman FE RE
The Hausmann test shows me a significant result and that means that I should use fixed effects.
The problem is that the regression with fixed effects is omitted. I guess it is because the independent variable is industry related:
purpose | Coefficient Std. err. z P>|z| [95% conf. interval]
-------------+----------------------------------------------------------------
dirty_l2 | 0 (omitted)
cf_l2 | .03374 .0515483 0.65 0.513 -.0672928 .1347729
growth_l2 | 1.032585 .8782802 1.18 0.240 -.6888127 2.753983
capexi_l2 | .4081369 6.973933 0.06 0.953 -13.26052 14.07679
adexi_l2 | 11.63989 9.286588 1.25 0.210 -6.561483 29.84127
sl_l2 | -.0486311 .1810182 -0.27 0.788 -.4034202 .3061579
fs_l2 | .4090683 .4382702 0.93 0.351 -.4499255 1.268062
om_l2 | -.2673203 1.438415 -0.19 0.853 -3.086561 2.551921
For my work, I am now wondering whether I should simply leave out the Hausman test and use random effects, or whether the results of the Hausman test are important and the regression then outputs nothing. I would be very happy about an assessment and / or literature!
Thank you,
Jana

Comment