Friday, January 22, 2010

Tips & Tricks:: Getting Partial Least Squares {PLS} Module Working in SPSS 18-Mac

Note:: Here's an older blog on getting v.17 SPSS/PASW Statistics for Mac software to work in Snow Leopard {OS X 10.6}.

I was using SPSS v.16 on a 1.83GHz Core Duo MacBookPro and started using the Partial Least Squares module in the summer of 2008.  I now have a 2.2GHz Core 2 Duo Macbook running Snow Leopard {Mac OS X 10.6} and I upgraded to SPSS v.17 and v.18 {now PASW v.18}, but just noticed the PLS module wasn't working::




Just to be clear, the PLS module in SPSS is for PLS regression, not path modelling or structural equations modelling using the PLS algorithm.  The distinction can be found here.  I use SmartPLS for path models.


I won't go through all of the problems I had, but excellent advice from Jon Peck on the SPSS Developer Central Forums.

This is what worked for me:
  1. Installing the SPSS 18.0.1 patch [link] {you'll need a login. Go to patches tab}
  2. Installing Python 2.6.4 [link]
  3. Installing NumPy 1.4.0-py2.6 [link]
  4. Installing SciPy 0.7.1-py2.6 [link]
  5. Uninstalling any previous versions of the SPSS Python Integration Plug-in [go to the Applications/SPSSInc folder and look for the Uninstall_Python_Plug_in folder.  Run the app. inside.  Do the same for previous versions installed, if any.]
  6. Installing the SPSS Python Integration Plug-in for v.18.0.1 [link] {Select Operating System: Mac and Plugin Download: Python. Click Get & install}
  7. Restart SPSS/PASW 18.0.1.
I found a ton of insights on the SPSS Developer Central Forums.  If you have problems, I'd start with searches there.

Twitterversion:: Tips & Tricks on getting #PLS {Partial Least Squares} module to work in #SPSS #PASW v.18 for Mac running #SnowLeopard. @Prof_K




No comments: