In my last post I wrote about my new extension command, SPSSINC TRANS.  That command makes it very easy to apply Python functions to the case data by handling all the data passing, variable creation, etc, so you just have to write one line of Python code to call the function.

I have now posted a substantial rework of the initial beta version.  As the saying goes, plan to throw one away: you will anyway.  The difficult part of designing and implementing this command was getting the Python function expression through the SPSS Universal Parser, which doesn’t speak Python, and then taking it apart and setting up the requisite connections with the data.

Read more

Bookmark and Share
Print This Post   Email This Post  

One of my frustrations with programmability is the learning barrier.  On the one hand, the resources and capabilities available through Python programmability combined with the plug-in for PASW Statistics are tremendous.  Often a problem can be solved in a few lines of Python code that would take a page of code in PASW Statistics or be practically impossible.  On the other, the Python language is very different from the Statistics syntax language, so many of those who would benefit from the capabilities Python brings to Statistics are frustrated.  Python is an easy language to learn, but it’s a programming language, and many of our users are not programmers.

Read more

Bookmark and Share
Print This Post   Email This Post  

The Output Translator

Posted By Jon Peck on Jun 29, 2009 at 08:06 PM
Filed Under Python, SPSS Statistics v17, Uncategorized | 1 Comment

Although SPSS translates the user interface and output to many languages, there is often a need for some output in other languages.  The translator package provides tools for user-created translations.

Read more

Bookmark and Share
Print This Post   Email This Post