BookmarkSubscribeRSS Feed
Elisa97
Fluorite | Level 6

Hi everyone,

 

I would like to calculate Standardized Difference. 

 

I found that I can calculate Standardized Mean Difference (SMD) with PROC PSMATCH, but it's also calculate SMD for categorical variables and I don't understand how.

 

I have a sample with 155 subjects, 77 in GROUPE 1 and 78 in GROUPE 2.

 

proc format; 
value sexe
1  = "Masculin"
2  = "Féminin"; 
value groupe
1  = "Groupe 1"
2  = "Groupe 2";
run;

proc psmatch data=table;
   class groupe sexe;
   psmodel groupe(Treated='Groupe 2')= age taille poids sexe;
   assess lps var=(age sexe taille poids) / plots=all weight=none;
run;

OUTPUT of PROC PSMATCH :

 

Elisa97_4-1709810372990.pngElisa97_5-1709810387408.png

 

Description of SEXE's variable:

Elisa97_6-1709810480332.png

 

I have Standardized Mean Difference for quantitave variable (age, taille and poids) in the row ALL. But how SAS find 0.32697 for the SEXE's variable ?

 

Thank you.

 

 

 

 

1 REPLY 1
Mike_N
SAS Employee

Take a look at the example here: https://go.documentation.sas.com/doc/en/pgmsascdc/v_048/statug/statug_psmatch_examples04.htm . For binary classification variables, in your case, for the SEXE variable, the computed value is the difference in the proportion of the first ordered level of the variable between treated and control groups. 

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

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
  • 3283 views
  • 0 likes
  • 2 in conversation