Re: [問題]STATA中如何選擇OLS或固定效果模型?
※ 引述《Dechow (尼布爾祈禱文)》之銘言:
: ※ 引述《closerself37 (體力無限 健康第一)》之銘言:
: : 如果要檢定是使用傳統OLS或是Fixed effect model,在stata中要如何下
: : 指令? 若拒絕H0,代表是要用OLS還是Fixed effect model?
: : 麻煩大家了 謝謝
: 建議你測 fixed effect model 與 random effect model
: xtreg y x, fe
: est store fixed
: xtreg y x, re
: hausman fixed
: 若顯著,則建議用 fixed effect model
: 以上謹供參考
雖然是去年的文章,但看到還是想問一下
這個步驟直接是直接進行Hausman檢定了
但在檢定後如果要選用fixed effect model的話
不用再作F檢定來判斷是Fixed effect model較佳還是OLS較佳嗎?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 59.112.21.9
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 3 之 3 篇):