作者chris0628 (Chris)
看板Statistics
標題[問題] 請問stata..
時間Fri Apr 20 15:44:58 2007
請問一下各位:
使用軟體是stata,資料是panel data,
但資料裡有許多分散的missing value,
在跑xtreg ....,fe時 不是會把有變數裡missing的整筆樣本忽略,
我想在xtreg後得到剛有參與xtreg這些樣本某些變數的平均數,
並且再拿來做別的運算,
請問該如何做?
謝謝!
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 59.117.197.244
1F:推 bcs:naive, but it is one of ways in missing data analysis. 04/20 16:52
2F:推 mha:mean varlist if e(sample) 04/20 23:46
3F:推 chris0628:錯誤訊息 <istmt>: 3499 _svy2() not found 04/21 01:04
4F:→ chris0628:Mata run-time error 04/21 01:05
5F:→ chris0628:用mha大的方法出現的訊息, 請問該怎麼解決? 04/21 01:05
6F:推 mha:no idea. After you run xtreg, type "ereturn list" 04/22 04:21
7F:→ mha:mean ... 04/22 04:26
8F:→ mha:If you see e(sample), the problem could be how you write 04/22 04:28
9F:→ mha:mean ... 04/22 04:29
10F:推 chris0628:thanks! 04/23 01:37