52. 2。混合回归还是随机效应?
xtreg invest mvalue kstock ,re
xttest0(BP检验)
原假设: ai 没有干扰,可以用混合回归。
备则假设: ai 的方差不为0,有干扰性,必须使用随机效应。
53. 3。固定效应还是随机效应?
Hausman检验
基本思想:如果 , Fe 和 Re 都是一致的,但Re更有效。
如果 , Fe 仍然一致,但Re是有偏的。
因此
原假设: 即应该采用随机效应。
备则假设 应该采用固定效应。
54. xtreg invest mvalue kstock ,fe
est store fixed
xtreg invest mvalue kstock ,re
est store random
hausman fixed random
本题接受原假设,即应该用随机效应。多数实证研究都采用固定效应模型或双向固定效应模型