请选择 进入手机版 | 继续访问电脑版
楼主: badboymissing
14778 7

[回归分析求助] PSM怎么实现一对一的匹配 [推广有奖]

  • 0关注
  • 0粉丝

初中生

38%

还不是VIP/贵宾

-

威望
0
论坛币
10 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
53 点
帖子
2
精华
0
在线时间
27 小时
注册时间
2012-2-18
最后登录
2020-10-25

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
请教高手,我在stata里边使用了attnd和psmatch2两种方法进行倾向得分匹配法,但是处理组和对照组样本都不是相等的。
1、怎么实现处理组和对照组样本相等的方法,需要什么具体的命令?
2、如果进行了一对一的匹配,怎么对匹配过的样本进行标记输出?
多谢了。
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:PSM 一对一 psmatch2 倾向得分匹配法 倾向得分匹配 一对一

bobguy 发表于 2013-4-28 11:49:25 |显示全部楼层 |坛友微信交流群
The surveyselect procedure can achieve your goal. Please tale a look the stratified sampling method.

Syntax: SURVEYSELECT Procedure

The following statements are available in PROC SURVEYSELECT:

PROC SURVEYSELECT options ;
STRATA variables </ options> ;
SAMPLINGUNIT | CLUSTER variables </ options> ;
CONTROL variables ;
SIZE variable ;
ID variables ;
The PROC SURVEYSELECT statement invokes the procedure and optionally identifies input and output data sets. It also specifies the selection method, the sample size, and other sample design parameters. The PROC SURVEYSELECT statement is required.

The SIZE statement identifies the variable that contains the size measures of the sampling units. This statement is required for any probability proportional to size (PPS) selection method unless you specify the PPS option in the SAMPLINGUNIT statement.

The remaining statements are optional. The STRATA statement identifies a variable or set of variables that stratify the input data set. When you specify a STRATA statement, PROC SURVEYSELECT selects samples independently from the strata that are formed by the STRATA variables. The STRATA statement also provides options to allocate the total sample size among the strata.

The SAMPLINGUNIT statement identifies a variable or set of variables that group the input data set observations into sampling units (clusters). Sampling units are nested within strata. When you specify a SAMPLINGUNIT statement, PROC SURVEYSELECT selects clusters instead of individual observations.

The CONTROL statement identifies variables for ordering units within strata. It can be used for systematic and sequential sampling methods. The ID statement identifies variables to copy from the input data set to the output data set of selected units.

The rest of this section gives detailed syntax information about the CONTROL, ID, SAMPLINGUNIT, SIZE, and STRATA statements in alphabetical order after the description of the PROC SURVEYSELECT statement.

使用道具

忧忧LJ 发表于 2014-8-2 23:10:01 |显示全部楼层 |坛友微信交流群
楼上的太高端了,理解能力有限。。。
研究了下help文件,使用psmatch2的时候option里面加一个noreplacement即可,但是有一定的限制,你可以help psmatch2看一下。
已有 1 人评分学术水平 热心指数 信用等级 收起 理由
阿斯匹泠 + 1 + 1 + 1 观点有启发

总评分: 学术水平 + 1  热心指数 + 1  信用等级 + 1   查看全部评分

使用道具

xingyuehuang 发表于 2015-2-27 20:54:05 |显示全部楼层 |坛友微信交流群
忧忧LJ 发表于 2014-8-2 23:10
楼上的太高端了,理解能力有限。。。
研究了下help文件,使用psmatch2的时候option里面加一个noreplacemen ...
最近做一对一匹配也遇到了问题,请教大神帮忙。谢谢!

使用道具

xingyuehuang 发表于 2015-2-27 20:54:42 |显示全部楼层 |坛友微信交流群
忧忧LJ 发表于 2014-8-2 23:10
楼上的太高端了,理解能力有限。。。
研究了下help文件,使用psmatch2的时候option里面加一个noreplacemen ...
最近做一对一匹配也遇到了问题,请教大神帮忙。谢谢!

使用道具

天下一棋 发表于 2017-4-19 16:34:45 |显示全部楼层 |坛友微信交流群
xingyuehuang 发表于 2015-2-27 20:54
最近做一对一匹配也遇到了问题,请教大神帮忙。谢谢!
请问,你的问题解决了吗,能否请教一下

使用道具

gppra 发表于 2017-7-5 09:24:32 |显示全部楼层 |坛友微信交流群
天下一棋 发表于 2017-4-19 16:34
请问,你的问题解决了吗,能否请教一下
请问你后来有做好吗?

使用道具

wangctik2015 发表于 2017-11-8 21:27:37 |显示全部楼层 |坛友微信交流群
你好,我最近也遇到这个问题,方便的话加Q交流一下1025955490

使用道具

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

本版微信群
加好友,备注jltj
拉您入交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-3-29 14:43