欢迎光临散文网 会员登陆 & 注册

STATA|入门基础08-F检验、LM检验、Hausman检验

2023-08-20 17:28 作者:乘着风儿驾着马  | 我要投稿

不考虑异方差的豪斯曼检验

1、xtreg xx xx..., fe

est store fe

xtreg xx xx..., fe

est store fe

hausman fe re

结果

  • if chi2正数且p = 0 ,则固定效应比随机效应更优
  • if chi2负数,则输入hausman re fe。如果仍未负数,则往下
  • 输入 hausman fe re, constant sigmamore

STATA|入门基础08-F检验、LM检验、Hausman检验的评论 (共 条)

分享到微博请遵守国家法律