Programmability Vs Traditional Syntax in IBM SPSS Statistics: Counting Number of Distinct Values in a Case

Recently this problem was posed on the SPSSX-L listserv (linked on the SPSS Community site): Count the number of distinct values in a set of variables for each case. This led to a lively discussions of alternative solutions. Most used traditional syntax. I used Python programmability.  Continue reading Programmability Vs Traditional Syntax in IBM SPSS Statistics: Counting Number of Distinct Values in a Case