BookmarkSubscribeRSS Feed
Chris9
Fluorite | Level 6

Should variables used in PROC PSMATCH (or PROC LOGISTIC prior to PSMATCH) be re-used in the outcome analysis?

 

For example, if we match on gender, should we use gender in the outcome analysis? Here are the imagined steps:

 

1. Calculate the propensity score with gender as a variable (e.g., treated = gender) in PROC LOGISTIC or PSMATCH

2. Match on gender with PSMATCH

3. Run the outcome analysis with PROC UNIVARIATE using gender in the model

 

See this for example:

 

https://documentation.sas.com/?docsetId=statug&docsetTarget=statug_psmatch_examples05.htm&docsetVers...

 

Why should gender be in the final analysis? Just to check that it's balanced and has no effect? Couldn't it be just left out if the standardized differences are low (e.g., less than 0.10)?

1 REPLY 1
Reeza
Super User

I think the match variables can be used since they have different purposes. 

 

When you match on gender with PSMATCH it's to ensure there's no different distributions of gender that could affect the outcome. Simpsons Paradox often occurs when you have mismatched sizes of groups, ie one group is larger than others. 

 

When you use it in the analysis, it's to determine if the different genders has an effect on the outcome between the different treatments. 

 


@Chris9 wrote:

Should variables used in PROC PSMATCH (or PROC LOGISTIC prior to PSMATCH) be re-used in the outcome analysis?

 

For example, if we match on gender, should we use gender in the outcome analysis? Here are the imagined steps:

 

1. Calculate the propensity score with gender as a variable (e.g., treated = gender) in PROC LOGISTIC or PSMATCH

2. Match on gender with PSMATCH

3. Run the outcome analysis with PROC UNIVARIATE using gender in the model

 

See this for example:

 

https://documentation.sas.com/?docsetId=statug&docsetTarget=statug_psmatch_examples05.htm&docsetVers...

 

Why should gender be in the final analysis? Just to check that it's balanced and has no effect? Couldn't it be just left out if the standardized differences are low (e.g., less than 0.10)?


 

 

 

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
  • 1 reply
  • 1203 views
  • 2 likes
  • 2 in conversation