作者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