propensity score matching spss25 on macbook- need help pls


New Member
I try to do PSM on spss25 macbook. after installing the needed extensions psm does not work. how can I fix the problem?

error message:
1: In doTryCatch(return(expr), name, parentenv, handler) :
kann shared object '/Library/Frameworks/R.framework/Versions/3.3/Resources/modules//' nicht laden:
dlopen(/Library/Frameworks/R.framework/Versions/3.3/Resources/modules//, 6): Library not loaded: /opt/X11/lib/libSM.6.dylib
Referenced from: /Library/Frameworks/R.framework/Versions/3.3/Resources/modules//
Reason: image not found
2: In redirection() : Unable to open connection to X11 display.
Loading required package: optmatch
Loading required package: survival
The optmatch package has an academic license. Enter relaxinfo() for more information.
Loading required package: RItools
Loading required package: SparseM

Attaching package: ‘SparseM’

The following object is masked from ‘package:base’:



Less is more. Stay pure. Stay poor.
Not an spss person, but why dont you use R. Also, why are you using matching instead of weights. I am a big fan of stabilized inverse weights.
Last edited:


Less is more. Stay pure. Stay poor.
I was just thinking about this post, and I wanted to clarify that I like stabilized inverse weights, but if there is poor (partial) overlap in score values, then matching may be an option to salvage the overall process.