楼主: hiderm
5408 2

[Stata] 倾向得分匹配法(propensity score matching)的模块: [推广有奖]

已卖:5228份资源

院士

59%

还不是VIP/贵宾

-

威望
1
论坛币
59515 个
通用积分
4044.5748
学术水平
253 点
热心指数
332 点
信用等级
219 点
经验
76220 点
帖子
2202
精华
1
在线时间
2767 小时
注册时间
2006-6-3
最后登录
2025-9-20

楼主
hiderm 发表于 2015-2-15 20:33:35 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
翻译+参考 +补充




大家可以参阅印地安那大学的网页关于【倾向得分匹配】方法的介绍

里面推荐了以下三个用户编写的程序:
psmatch2.ado  
pscore.ado  
nnmatch.ado



1、翻译



我在这里粗略翻译一下:
In Stata, how do I perform propensity score matching?
在Stata中,我如何实施倾向得分匹配法?

  Stata does not have a built-in command for propensityscore matching, a non-experimental method of sampling that produces acontrol group whose distribution of covariates is similar to that ofthe treated group. However, there are several user-written modules forthis method. The following modules are among the most popular:
  Stata没有内置的命令来实施倾向得分匹配法,这是一种非实验性抽样方法:它生成一个控制组(对照组),该组的协变量分布类似于诊疗组。不过,有若干用户编写的模块来执行这一方法。下述模块是其中最流行的:
psmatch2.ado
pscore.ado
nnmatch.ado


  psmatch2.ado




      was developed by Leuven and Sianesi (2003)and pscore.ado by Becker and Ichino (2002). Morerecently, Abadie, Drukker, Herr, and Imbens (2004) introduced nnmatch.ado. All three modules support pair-matching aswell as subclassification.

  【psmatch2.ado】 由Leuven和Sianesi(2003)开发,而【pscore.ado】由Becker和Ichino(2002)开发。较新近地,是Abadie等(2004)引入的【nnmatch.ado】。所有这三个模型都支持配对和子分类。




You can find these modules using the .net command as follows:
你能够使用如下【.net】命令来找到这些模块:

  .net search psmatch2   // 经测试,在Stata12中,只需直接在stata命令窗口中输入 search+模块名称(比如pscore)即可
.net search pscore         // st0026_2 中的模块包应该是较新的,其中包含了pscore.ado
  .net search nnmatch




You can install these modules using the .ssc or.net command, for example:
你可以用【.ssc】或【.net】命令来安装这些模块,比如:



  1.   .ssc install psmatch2, replace
复制代码


楼主补充:pscore模块是包含在st0026_2 中的,可使用如下命令:

  1. .net install st0026_2.pkg, replace
复制代码



After installation, read the help files to find the correct usage, forexample:
在安装完成后,阅读帮助文件以找到正确的使用方法,例如:


  1. .help psmatch2
复制代码


If you have questions about using statistical and mathematicalsoftware at Indiana University,
email UITSResearch Analytics (formerly known as the Stat/MathCenter). Research Analytics is located on the IU Bloomington campus atWoodburn Hall 200, and is open for consultation by appointmentMonday-Friday 9am-5pm. For more, visit ResearchAnalytics on the web, or call 812-855-4724 (IUB) or 317-278-4740(IUPUI).

This is document avll in domain all.
Last modified on August 02, 2013.



2、参考




【倾向得分匹配法(PSM)举例及stata实现】
https://bbs.pinggu.org/thread-1490982-1-1.html

【The Stata Journal Volume 8 Number 4: pp. 532-539】Erratum and discussion of propensity–score reweighting

【The Stata Journal Volume 7 Number 4: pp. 507-541】Causal inference with observational data



3、补充




补充01:根据二楼坛友的提醒,stata13中已有官方的propensity score matching的命令。

    在网上查了一下,是在stata13的手册[TE] Treatment Effects 中的命令 teffects psmatch
    不过,根据
re: st: Propensity Score Matching command in Stata 13

    官方的-psmatch- 命令和用户编写的命令 -psmatch2- 在功能上还是有差别的,简单的说,-psmatch2- 的灵活度要大一些,详细的情形请参看上述链接。


    本帖来源:倾向得分匹配法(propensity score matching)的模块: psmatch2、pscore、nnmatch




二维码

扫码加我 拉你入群

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

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

关键词:propensity matching 倾向得分匹配法 倾向得分匹配 Match 程序 大学 网页 用户 matching 程序 大学 网页 用户 matching

已有 2 人评分经验 论坛币 学术水平 热心指数 信用等级 收起 理由
niuniuyiwan + 100 + 100 + 5 + 5 + 5 精彩帖子
xddlovejiao1314 + 100 + 100 精彩帖子

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

本帖被以下文库推荐

[b][color=Red]提请应助者注意:请不要上传draft或者wp版本,谢谢!因为这些版本我自己用谷歌搜索就可以搜到并免费下载

沙发
voodoo 发表于 2015-2-15 20:49:02
总结得不错,




已有 1 人评分经验 论坛币 收起 理由
xddlovejiao1314 + 10 + 3 鼓励积极发帖讨论

总评分: 经验 + 10  论坛币 + 3   查看全部评分

藤椅
xddlovejiao1314 学生认证  发表于 2015-10-9 11:38:18
谢谢分享。
已有 1 人评分论坛币 热心指数 收起 理由
niuniuyiwan + 10 + 1 精彩帖子

总评分: 论坛币 + 10  热心指数 + 1   查看全部评分

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

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