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. 

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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