作者sean771231 (達克特)
看板Statistics
標題[問題] STATA
時間Mon Mar 4 16:04:45 2013
要使用stata跑固定效果
要固定人的變數,像是性別male
這些不會隨時間改變的變數應該要被drop掉,
但是我跑出來的結果沒有drop掉...
我打的程式:
xtreg y male x z,fe i(id)
est store fixed
xtreg y male x z,re i(id)
hausman fixed
跑出來的性別還在,想請問
是回歸式中直接將male去除,
還是有其他的指令或方法會讓male被drop掉
謝謝~
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.116.182.210