Hello when i run psmatch statement as follows:
PROC PSMATCH data=pscorem region=cs;
TREAT AGE EDUC MARR
psmodel TREAT(p='1')=AGE EDUC MARR;
match method=optimal(k=1) stat=lps exact=educ caliper=0.25;
output out (obs=match)=radwan matchid=_natchid;
run;
i got error messsage as follows
117 PROC PSMATCH data=pscorem region=cs;
ERROR: Procedure PSMATCH not found.
118 TREAT AGE EDUC MARR
119 psmodel TREAT(p='1')=AGE EDUC MARR;
120 match method=optimal(k=1) stat=lps exact=educ caliper=0.25;
121 output out (obs=match)=radwan matchid=_natchid;
122 run;
please why and what does that mean?
You can't hope for help here. Installing SAS is a duty of the respective organization that uses it, and there it is the duty of the local SAS administrator.
Usually it's not that big a thing to be one or 2 maintenance levels behind, but in your case it's an issue, and you have to bring it to the attention of the people tasked with setting up your SAS installation.
Run proc setinit to see if you have SAS/STAT licensed. psmatch is a stat procedure.
What version of SAS are you running? PSMATCH is a new procedure in SAS/STAT.
does that mean i can not use my version for analyzing propensity score matching ?
please look at my response below
what am i suppose to do ?
PSMATCH was indeed added with SAS/STAT 14.2, which came with SAS 9.4M4:
What's New in SAS 9.4, SAS/STAT
Since software for the current release is included for free in your license, have your SAS Administrator get the current release and install it.
@Radwan wrote:
i m not sure about the current release coz i got the version from my supervisor.
so please what i have to do ?
Get the responsible people to update to the current version. Or make your supervisor aware that you will have to work around the lack of proc psmatch, at additional cost.
You can't hope for help here. Installing SAS is a duty of the respective organization that uses it, and there it is the duty of the local SAS administrator.
Usually it's not that big a thing to be one or 2 maintenance levels behind, but in your case it's an issue, and you have to bring it to the attention of the people tasked with setting up your SAS installation.
i have run that code
i got the following message
For Base SAS Software ...
Custom version information: 9.4_M2
Image version information: 9.04.01M2P072314
For SAS/STAT ...
Custom version information: 13.2
For SAS/GRAPH ...
Custom version information: 9.4_M2
For SAS/ETS ...
Custom version information: 13.2
For SAS/FSP ...
Custom version information: 9.4_M2
For SAS/OR ...
Custom version information: 13.2
For SAS/AF ...
Custom version information: 9.4_M2
For SAS/IML ...
Custom version information: 13.2
For SAS/QC ...
Custom version information: 13.2
For SAS/SHARE ...
Custom version information: 9.4
Image version information: 9.04.01M0P061913
For SAS/ASSIST ...
Custom version information: 9.4
Image version information: 9.04.01M0P061913
For SAS/CONNECT ...
Custom version information: 9.4_M2
For SAS/EIS ...
Custom version information: 9.4
Image version information: 9.04.01M0P061913
For SAS/ACCESS Interface to Netezza ...
Custom version information: 9.4_M2
For SAS/ACCESS to Hadoop ...
Custom version information: 9.4_M2
For SAS Enterprise Miner ...
Custom version information: 13.2_M1
For SAS/ACCESS to Vertica ...
Custom version information: 9.4_M2
For SAS/ACCESS to Postgres ...
Custom version information: 9.4_M2
For SAS/ACCESS Reserved Slot 565 ...
Custom version information: 9.41
Image version information: 9.04.01M0P072314
For SAS Integration Technologies ...
Custom version information: 9.4_M2
For SAS Text Miner ...
Custom version information: 13.2_M1
For High Performance Suite ...
Custom version information: 2.2_M1
For SAS/ACCESS Interface to DB2 ...
Custom version information: 9.4_M2
For SAS/ACCESS Interface to Oracle ...
Custom version information: 9.4_M2
For SAS/ACCESS Interface to Sybase ...
Custom version information: 9.4_M1
For SAS/ACCESS Interface to PC Files ...
Custom version information: 9.4_M2
For SAS/ACCESS Interface to ODBC ...
Custom version information: 9.4_M2
For SAS/ACCESS Interface to OLE DB ...
Custom version information: 9.4_M2
For SAS/ACCESS Interface to Teradata ...
Custom version information: 9.4_M2
For SAS/ACCESS Interface to MySQL ...
Custom version information: 9.4_M2
NOTE: PROCEDURE PRODUCT_STATUS used (Total process time):
real time 3.59 seconds
cpu time 0.18 seconds
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!
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.