STATA|入門基礎(chǔ)08-F檢驗(yàn)、LM檢驗(yàn)、Hausman檢驗(yàn)
2023-08-20 17:28 作者:乘著風(fēng)兒駕著馬 | 我要投稿

不考慮異方差的豪斯曼檢驗(yàn)
1、xtreg xx xx..., fe
est store fe
xtreg xx xx..., fe
est store fe
hausman fe re
結(jié)果
- if chi2正數(shù)且p = 0 ,則固定效應(yīng)比隨機(jī)效應(yīng)更優(yōu)
- if chi2負(fù)數(shù),則輸入hausman re fe。如果仍未負(fù)數(shù),則往下
- 輸入 hausman fe re, constant sigmamore
標(biāo)簽: