全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
2239 1
2024-09-25
这个control 和 compare group 已经选定,怎么使用这个propsensity score matching process 在SAS里应用呢? https://documentation.sas.com/do ... _psmatch_syntax.htm

The following statements are available in the PSMATCH procedure:

  • [color=var(--color-text-primary)]PROC PSMATCH <options>;

  • [color=var(--color-text-primary)]ASSESS <ALLCOV> <LPS> <PS> <VAR=(var-list)> </ assess-options> ;

  • [color=var(--color-text-primary)]BY variables;

  • [color=var(--color-text-primary)]CLASS variables;

  • [color=var(--color-text-primary)]FREQ variable;

  • [color=var(--color-text-primary)]ID variable;

  • [color=var(--color-text-primary)]MATCH <options>;

  • [color=var(--color-text-primary)]OUTPUT OUT <(OBS=obs-value)>=SAS-data-set <keyword=name <keyword=name …>> ;

  • [color=var(--color-text-primary)]PSDATA TREATVAR=treatvar <(trt-option)> ps-option;

  • [color=var(--color-text-primary)]PSMODEL treatvar <(trt-option)> = <effects> </ WEIGHT=weight> ;

  • [color=var(--color-text-primary)]PSWEIGHT <options>;

  • [color=var(--color-text-primary)]STRATA <options>;



The PROC PSMATCH statement invokes the PSMATCH procedure. The CLASS statement and either a PSMODEL or PSDATA statement are required. If a PSMODEL statement is specified, the CLASS statement must precede the PSMODEL statement.

The MATCH, PSWEIGHT, and STRATA statements perform matching, weighting, and stratification, respectively. Only one of these statements can be specified.


二维码

扫码加我 拉你入群

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

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

全部回复
2024-9-25 10:08:32
倾向性得分匹配,就用 proc psmatch,你已经给出了 SAS 官方文档的说明网页链接,网页里面有例子,甚至还提供了视频。

如果需要中文资料,也有不少论文,我刚刚搜到一篇供参考:
[1]张洪璐,于泽洋,宋德胜,等.多种倾向评分方法的SAS软件实现与比较[J].中国卫生统计, 2022(003):039.DOI:10.3969/j.issn.1002-3674.2022.03.035.
二维码

扫码加我 拉你入群

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

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

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群