楼主: wxylzh
11188 9

[一般统计问题] stata中的fweight,pweight,aweight和iweight等权重问题 [推广有奖]

  • 0关注
  • 3粉丝

已卖:26份资源

教授

14%

还不是VIP/贵宾

-

威望
0
论坛币
563 个
通用积分
80.7555
学术水平
6 点
热心指数
9 点
信用等级
5 点
经验
97178 点
帖子
401
精华
0
在线时间
1640 小时
注册时间
2012-9-27
最后登录
2026-1-8

楼主
wxylzh 发表于 2022-10-25 09:30:26 |AI写论文
100论坛币
stata中允许的四种权重: 1.  fweights, or frequency weights, are weights that indicate the number of duplicated observations.
    2.  pweights, or sampling weights, are weights that denote the inverse of the probability that the
        observation is included because of the sampling design.

    3.  aweights, or analytic weights, are weights that are inversely proportional to the variance of an
        observation; that is, the variance of the jth observation is assumed to be sigma^2/w_j, where w_j
        are the weights.  Typically, the observations represent averages and the weights are the number
        of elements that gave rise to the average.  For most Stata commands, the recorded scale of
        aweights is irrelevant; Stata internally rescales them to sum to N, the number of observations in
        your data, when it uses them.

    4.  iweights, or importance weights, are weights that indicate the "importance" of the observation in
        some vague sense.  iweights have no formal statistical definition; any command that supports
        iweights will define exactly how they are treated.  Usually, they are intended for use by
        programmers who want to produce a certain computation.
什么含义,特别aweight表示什么意思?具体应用到什么情况下?例如CGSS数据中weight变量的数值为0.9275444,1.334958,0.1913974等等,那么这个权重怎么用?

关键词:fweight Weight weigh Eight Stata

沙发
917968079 发表于 2022-10-25 09:54:44
已有 1 人评分论坛币 学术水平 热心指数 信用等级 收起 理由
wxylzh + 5 + 4 + 4 + 4 热心帮助其他会员

总评分: 论坛币 + 5  学术水平 + 4  热心指数 + 4  信用等级 + 4   查看全部评分

藤椅
wxylzh 发表于 2022-10-27 09:54:03
917968079 发表于 2022-10-25 09:54
https://www.lianxh.cn/news/4dbc40eb41c3d.html可以参考这个推文
谢谢你的回复,我清楚了stata中四个权重的含义,但CGSS中的weight变量具体是什么含义?以我的理解它怎么和stata中的四个权重中的任何一个都对应不上呢?

板凳
wxylzh 发表于 2022-10-27 16:53:44
https://bbs.pinggu.org/thread-10 ... rce=attachRecommend  这个推文中有CGSS权重的介绍,有些复杂,一时间还没弄明白在stata中如何应用。继续求助!

报纸
卓德啊涵 在职认证  学生认证  发表于 2022-10-30 09:50:20
想问问您,我在学习倾向得分匹配法的时候,发现有些_weight得出的不是正整数,譬如1.5、2.5,之类的,这是什么原因您知道吗

地板
wxylzh 发表于 2022-10-31 09:50:45
卓德啊涵 发表于 2022-10-30 09:50
想问问您,我在学习倾向得分匹配法的时候,发现有些_weight得出的不是正整数,譬如1.5、2.5,之类的,这是 ...
数据中weight并不一定是抽样概率的倒数,所以就不一定是正整数。首先要明白数据中weight是怎么定义的,才能在软件中选择用pweight还是fweight等,还是需要做处理后应用。我们现在是还不明白数据中的weight是什么意思。

7
卓德啊涵 在职认证  学生认证  发表于 2022-10-31 18:30:31
wxylzh 发表于 2022-10-31 09:50
数据中weight并不一定是抽样概率的倒数,所以就不一定是正整数。首先要明白数据中weight是怎么定义的,才 ...
https://bbs.pinggu.org/thread-10383325-1-1.html
看看这个吧

8
wxylzh 发表于 2022-11-3 09:16:48
卓德啊涵 发表于 2022-10-31 18:30
https://bbs.pinggu.org/thread-10383325-1-1.html
看看这个吧
现在明白了,咱俩说的权重不是一回事。我说的是CGSS中的weight在stata中如何用的问题。

9
卓德啊涵 在职认证  学生认证  发表于 2022-11-4 09:33:36
wxylzh 发表于 2022-11-3 09:16
现在明白了,咱俩说的权重不是一回事。我说的是CGSS中的weight在stata中如何用的问题。
好滴,嘻嘻

10
shuchenfan 发表于 2023-5-28 17:38:42
楼主对CGSS数据中的权重搞懂了吗?我也是对这个问题不解,如果就只是抽样概率的导数的话,根据热心人的推文,我认为使用pweight就行了,但是对于原数据给的权重,实在是不了解。

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2026-1-9 21:17