BookmarkSubscribeRSS Feed
ElaineLiu
Calcite | Level 5

Hi everyone,

 

I understand you can use the macro %psmatch. However, I installed a lower version of sas and I cannot use the psmatch macro. I found another one called "psmatch_multi" from https://support.sas.com/resources/papers/proceedings17/0812-2017.pdf

My problem is that I need to match by group. For example, I want to match the treatment and control sample by gender, or by age, that is, the treatment and control will have the exact gender by age. Can someone help me on this issue? by using the psmatch_multi macro. Or, if you have other method, that would also be great(only propensity score matching).

Thanks a lot!

2 REPLIES 2
OsoGris
SAS Employee

You can use the PROC PSMATCH procedure but I would recommend using at least SAS9.4 (TS1M6) = SAS/STAT 15.1 release of SAS to get the most current syntax.  Check out the EXACT= option on the MATCH statement to provide exact values of categorical variables. 

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1151 views
  • 0 likes
  • 3 in conversation