News from the SPSS Community

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

News from the SPSS Community

Jon K Peck
Two new extension commands have been added to the SPSS Community website (www.ibm.com/developerworks/spssdevcentral) in the Extension Commands collection.

STATS CATEGORY ORDER creates macros or multiple dichotomy sets with a specified variable order.  Items are created in sorted order of the count but allowing for special values such as "other" to be moved out of the sort order.  Inputs can be a collection of ordinary variables or one or more multiple dichotomy sets.  The macros can be used in the CATEGORIES subcommand of CTABLES.

STATS MCSET CONVERT converts a multiple category set to a multiple dichotomy set.  This may be useful in conjunction with STATS CATEGORY ORDER or when tabulating individual values or generating dummy variables for procedures such as REGRESSION.

Both of these require the Python plugin and work with Statistics V18 or later.

This brings the number of extension commands available from the SPSS Community site to 72.

Regards,

Jon Peck (no "h") aka Kim
Senior Software Engineer, IBM
[hidden email]
phone: 720-342-5621
Reply | Threaded
Open this post in threaded view
|

Re: News from the SPSS Community

King Douglas
Very cool and useful, Jon.  Thanks...and thanks for delivering on what you promised.

King Douglas
Texas Instruments


From: Jon K Peck <[hidden email]>
To: [hidden email]
Sent: Tuesday, July 30, 2013 12:03 PM
Subject: News from the SPSS Community

Two new extension commands have been added to the SPSS Community website (www.ibm.com/developerworks/spssdevcentral) in the Extension Commands collection.

STATS CATEGORY ORDER creates macros or multiple dichotomy sets with a specified variable order.  Items are created in sorted order of the count but allowing for special values such as "other" to be moved out of the sort order.  Inputs can be a collection of ordinary variables or one or more multiple dichotomy sets.  The macros can be used in the CATEGORIES subcommand of CTABLES.

STATS MCSET CONVERT converts a multiple category set to a multiple dichotomy set.  This may be useful in conjunction with STATS CATEGORY ORDER or when tabulating individual values or generating dummy variables for procedures such as REGRESSION.

Both of these require the Python plugin and work with Statistics V18 or later.

This brings the number of extension commands available from the SPSS Community site to 72.

Regards,

Jon Peck (no "h") aka Kim
Senior Software Engineer, IBM
[hidden email]
phone: 720-342-5621