BookmarkSubscribeRSS Feed
Callam1
Obsidian | Level 7
Hi, can someone advise on how to change the default setting in proc psmatch so that the standardised difference calculates the difference in the proportion of observations in the second ordered level of a binary (0,1) variable? So it calculates the difference in the proportion of observation where binary_var= 1 rather than =0. I am not keen on re-processing the standardised difference after running the psmatch.
2 REPLIES 2
quickbluefish
Barite | Level 11
I don't think there is an option for that, but the result would simply be the calculated std diff * -1.
Callam1
Obsidian | Level 7
Yes it is just that the default plot causes confusion. Until now we have re-done it on excel but I was wondering if there is a way to change the standardised difference plot that comes with proc psmatch so that it is referencing the proportion for 1 rather than 0.

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 490 views
  • 0 likes
  • 2 in conversation