Hi everyone,
I investigate the effect of advertising bans on tobacco consumption, thus my dependent variable is tobacco consumption (logcons) and my explanatory variables are advertising ban dummies (weak, limited and comprehensive – only including limited “lim” and comprehensive “comp” due to multicollinearity). My control variables are price (logprice), income (loggdp) and unemployment rate (logunemp).
I’m estimating the model using a FE model and a RE model, but I have difficulties deciding which model might be better
When including all variables in the model the hausman test suggests using a FE model
. *test FE vs RE - Hausmann Test
. quietly xtreg logcons logprice logunemp loggdp lim compr, fe
. est store fixed
. quietly xtreg logcons logprice logunemp loggdp lim compr, re
. est store random
. hausman fixed random, sigmamore
---- Coefficients ----
| (b) (B) (b-B) sqrt(diag(V_b-V_B))
| fixed random Difference S.E.
-------------+----------------------------------------------------------------
logprice | -.2793116 -.292519 .0132073 .0050106
logunemp | -.0708074 -.0643395 -.0064679 .0021851
loggdp | -.4403702 -.3967151 -.0436551 .0137747
lim | .0201361 .0147369 .0053992 .0020572
compr | -.0198701 -.0286352 .0087651 .0034372
------------------------------------------------------------------------------
b = consistent under Ho and Ha; obtained from xtreg
B = inconsistent under Ha, efficient under Ho; obtained from xtreg
Test: Ho: difference in coefficients not systematic
chi2(5) = (b-B)'[(V_b-V_B)^(-1)](b-B)
= 12.57
Prob>chi2 = 0.0278
But when only using the ban variables “lim” and “compr” and the control variable “logprice” as the other variables are not significant in either model the hausman test suggests going with RE model
. *test FE vs RE - Hausmann Test (without unemployment and gdp)
. quietly xtreg logcons logprice lim compr, fe
. est store fixed
. quietly xtreg logcons logprice lim compr, re
. est store random
. hausman fixed random, sigmamore
---- Coefficients ----
| (b) (B) (b-B) sqrt(diag(V_b-V_B))
| fixed random Difference S.E.
-------------+----------------------------------------------------------------
logprice | -.4344597 -.4327692 -.0016904 .0019615
lim | -.0238279 -.0242847 .0004567 .0010905
compr | -.0999757 -.0999975 .0000218 .0016702
------------------------------------------------------------------------------
b = consistent under Ho and Ha; obtained from xtreg
B = inconsistent under Ha, efficient under Ho; obtained from xtreg
Test: Ho: difference in coefficients not systematic
chi2(3) = (b-B)'[(V_b-V_B)^(-1)](b-B)
= 0.93
Prob>chi2 = 0.8179
.
end of do-file
I would really appreciate any commets or help on this topic. I know that the hausman test is only valid under homoskedasticity and cannot include time fixed effects (which I included in both models and are significant).
Is there another test which might be more appropriate? Could it be reasonable going with a RE model?
I think that the model suffers from omitted variable bias as I cannot include a variable like "attitude towards helath" , "public image of smoking" or "social acceptance" which might be the main drivers in that model . But all of these unobserved variables change across time and thus a FE model is not much of a great help. Or am I wrong?
Thanks a lot
Best regards
Louisa
I investigate the effect of advertising bans on tobacco consumption, thus my dependent variable is tobacco consumption (logcons) and my explanatory variables are advertising ban dummies (weak, limited and comprehensive – only including limited “lim” and comprehensive “comp” due to multicollinearity). My control variables are price (logprice), income (loggdp) and unemployment rate (logunemp).
I’m estimating the model using a FE model and a RE model, but I have difficulties deciding which model might be better
When including all variables in the model the hausman test suggests using a FE model
. *test FE vs RE - Hausmann Test
. quietly xtreg logcons logprice logunemp loggdp lim compr, fe
. est store fixed
. quietly xtreg logcons logprice logunemp loggdp lim compr, re
. est store random
. hausman fixed random, sigmamore
---- Coefficients ----
| (b) (B) (b-B) sqrt(diag(V_b-V_B))
| fixed random Difference S.E.
-------------+----------------------------------------------------------------
logprice | -.2793116 -.292519 .0132073 .0050106
logunemp | -.0708074 -.0643395 -.0064679 .0021851
loggdp | -.4403702 -.3967151 -.0436551 .0137747
lim | .0201361 .0147369 .0053992 .0020572
compr | -.0198701 -.0286352 .0087651 .0034372
------------------------------------------------------------------------------
b = consistent under Ho and Ha; obtained from xtreg
B = inconsistent under Ha, efficient under Ho; obtained from xtreg
Test: Ho: difference in coefficients not systematic
chi2(5) = (b-B)'[(V_b-V_B)^(-1)](b-B)
= 12.57
Prob>chi2 = 0.0278
But when only using the ban variables “lim” and “compr” and the control variable “logprice” as the other variables are not significant in either model the hausman test suggests going with RE model
. *test FE vs RE - Hausmann Test (without unemployment and gdp)
. quietly xtreg logcons logprice lim compr, fe
. est store fixed
. quietly xtreg logcons logprice lim compr, re
. est store random
. hausman fixed random, sigmamore
---- Coefficients ----
| (b) (B) (b-B) sqrt(diag(V_b-V_B))
| fixed random Difference S.E.
-------------+----------------------------------------------------------------
logprice | -.4344597 -.4327692 -.0016904 .0019615
lim | -.0238279 -.0242847 .0004567 .0010905
compr | -.0999757 -.0999975 .0000218 .0016702
------------------------------------------------------------------------------
b = consistent under Ho and Ha; obtained from xtreg
B = inconsistent under Ha, efficient under Ho; obtained from xtreg
Test: Ho: difference in coefficients not systematic
chi2(3) = (b-B)'[(V_b-V_B)^(-1)](b-B)
= 0.93
Prob>chi2 = 0.8179
.
end of do-file
I would really appreciate any commets or help on this topic. I know that the hausman test is only valid under homoskedasticity and cannot include time fixed effects (which I included in both models and are significant).
Is there another test which might be more appropriate? Could it be reasonable going with a RE model?
I think that the model suffers from omitted variable bias as I cannot include a variable like "attitude towards helath" , "public image of smoking" or "social acceptance" which might be the main drivers in that model . But all of these unobserved variables change across time and thus a FE model is not much of a great help. Or am I wrong?
Thanks a lot
Best regards
Louisa
Comment