I used Hausman test in R in order to decide whether I should use fixed effects or random effects model. This is the result I got:
Hausman Test
data: Deviation ~ Concentration
chisq = 1.721, df = 1, p-value = 0.1896
alternative hypothesis: one model is inconsistent
I would appreciate some help in interpreting this result (I have not studied Statistics ever, and I am yet facing this challenge), and which model should I use – fe or re?
thank you!!
Best Answer
When the $p$-value is low, commonly less than $0.05$, the $H_0$ must go!
In short the Hausman test (sometimes also called Durbin--Wu--Hausman test) in
R
assumes $H_{0}$ is that the preferred model is random effects, i.e. no significant correlation vs. the alternative, $H_{a}$, the fixed effects, i.e. whether the errors ($\mu_i$) are correlated with the regressors, see see Section 4.3 in Baltagi (2005).Running
?plm::phtest
inR
would give you further details and refrences.--
Baltagi (2005), Econometric Analysis Of Panel Data