Using SAS 9.4
I have a data set with 299 obs. I want to propensity match the data set between 2 groups. Group 1 has 98 obs and group 2 has 201 obs. I would like to propensity match based on procedure_type (exact), age, sex, BMI, size. What would be the best way to get propensity match and get data set output? Below is my attempt but I am not sure this is correct. Thank you
proc logistic data=lw.analysis;
class procedure_type;
model group = procedure_type age bmi size / link=glogit rsquare;
output out = ps_los pred = ps xbeta=logit_ps;
run;