[問題] 請問stata..

看板Statistics作者 (Chris)時間19年前 (2007/04/20 15:45), 編輯推噓5(505)
留言10則, 3人參與, 最新討論串1/1
請問一下各位: 使用軟體是stata,資料是panel data, 但資料裡有許多分散的missing value, 在跑xtreg ....,fe時 不是會把有變數裡missing的整筆樣本忽略, 我想在xtreg後得到剛有參與xtreg這些樣本某些變數的平均數, 並且再拿來做別的運算, 請問該如何做? 謝謝! -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 59.117.197.244

04/20 16:52, , 1F
naive, but it is one of ways in missing data analysis.
04/20 16:52, 1F

04/20 23:46, , 2F
mean varlist if e(sample)
04/20 23:46, 2F

04/21 01:04, , 3F
錯誤訊息 <istmt>: 3499 _svy2() not found
04/21 01:04, 3F

04/21 01:05, , 4F
Mata run-time error
04/21 01:05, 4F

04/21 01:05, , 5F
用mha大的方法出現的訊息, 請問該怎麼解決?
04/21 01:05, 5F

04/22 04:21, , 6F
no idea. After you run xtreg, type "ereturn list"
04/22 04:21, 6F

04/22 04:26, , 7F
mean ...
04/22 04:26, 7F

04/22 04:28, , 8F
If you see e(sample), the problem could be how you write
04/22 04:28, 8F

04/22 04:29, , 9F
mean ...
04/22 04:29, 9F

04/23 01:37, , 10F
thanks!
04/23 01:37, 10F
文章代碼(AID): #16A6z-GD (Statistics)