Hi all,
I am trying out various matching methods to do run regressions. Kudos to the fact that
PROC PSMATCH
was added a few years ago. So I was able to carry out propensity score matching sucessfully.
But I also wanted to try out entropy balancing and found this recently added document. (https://documentation.sas.com/doc/en/pgmsascdc/v_031/statug/statug_psmatch_examples10.htm).
So I followed it.
However, my sas spits out an error message.
proc psmatch data=drugs;
class Drug Gender;
eweight treatvar=Drug(Treated='Drug_X') balancevars=(Gender Age BMI) nlargestwgt=5;
-------
180
ERROR 180-322: Statement is not valid or it is used out of proper order.
FYI, running PROC PRODUCT_STATUS gives me below. Basically Base SAS version is 9.4M6, SAS/STAT 15.1.
For Base SAS Software ...
Custom version information: 9.4_M6
Image version information: 9.04.01M6P110718
For SAS/STAT ...
Custom version information: 15.1
For SAS/GRAPH ...
Custom version information: 9.4_M6
For SAS/ETS ...
Custom version information: 15.1
For SAS/FSP ...
Custom version information: 9.4_M6
For SAS/OR ...
Custom version information: 15.1
For SAS/AF ...
Custom version information: 9.4_M6
For SAS/IML ...
Custom version information: 15.1
For SAS/QC ...
Custom version information: 15.1
For SAS/SHARE ...
Custom version information: 9.4_M5
For SAS/ASSIST ...
Custom version information: 9.4
Image version information: 9.04.01M0P061913
For SAS/CONNECT ...
Custom version information: 9.4_M6
For SAS/EIS ...
Custom version information: 9.4_M6
For SAS/GIS ...
Custom version information: 9.4_M6
For SAS Integration Technologies ...
Custom version information: 9.4_M6
For High Performance Suite ...
Custom version information: 2.2_M7
For SAS/ACCESS Interface to PC Files ...
Custom version information: 9.4_M6
For SAS/ACCESS Interface to Teradata ...
Custom version information: 9.46
Any help is much appreciated. Thanks.
Ha you're right! Thanks.
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!
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.