作者Jer1983 (stanley)
看板Statistics
标题[问题] Stata weight 问题
时间Sat Oct 13 15:33:52 2012
最近在使用一个panel data的资料库, 在每个样本中会附上权重,
ID weight
1 1307
2 1435
该网站对於这个权重的解释是: 第一个样本代表1307人, 第二个代表1435人.
请问在这种情况下, Stata的weight该使用aweight还是fweight?
我个人是觉得是fweight, 因为Stata的手册提到:
"the weight tells the command how many observations each observation really
represents."
可是在使用sum var1 var2 [fweight = weight]指令的时候, 表格里面出现的
observation会非常大(比如接近200,000),
然而样本中只有4302 observations(使用count指令),
请问该如何解释这个现象呢?
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.109.122.68
1F:→ KirinGuess:把完整资料列出来, 或至少把var1和var2也列出来看看. 10/13 18:03