xtreg city gender arrange country,fe<br>
est store fe<br>
hausman fe re //豪斯曼检验,结果拒绝原假设,选用固定效应模型
outreg2 using "豪斯曼检验",word ctitle(FE) adds(Hausman, r (chi2)',p-value, r(p)')replace //输出hausman结果<br>
如果这个一起运行的话,显示<br>
must specify panelvar ;use xtset r(459)