[問題] Stata weight 問題
最近在使用一個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
→
10/13 18:03, , 1F
10/13 18:03, 1F