SPSS Statistics

SPSS Statistics

Your hub for statistical analysis, data management, and data documentation. Connect, learn, and share with your peers! 

 View Only
  • 1.  Create Dummy Variables in SPSS 29

    Posted Mon February 27, 2023 10:30 AM

    Hello. I just noticed that SPSS 29 does not have under Transform - Create Dummy Variables anymore... Is this just 'my' version or is there a trick how to create dummy variables without going thru Transform - Recode into Different Variables?

    Thanks,

    Anita



    ------------------------------
    Anita Panov
    ------------------------------


  • 2.  RE: Create Dummy Variables in SPSS 29

    Posted Mon February 27, 2023 01:16 PM
    The V29 install should have installed that procedure, which is an extension command, but you can go to Extensions > Extension Hub in SPSS Statistics and install it from there.

    --





  • 3.  RE: Create Dummy Variables in SPSS 29

    Posted Tue February 28, 2023 10:23 AM

    Is there a way to get SPSS to generate meaningful names for dummy variables, i.e. names derived from the original variable and its values?



    ------------------------------
    Robert Cale
    ------------------------------



  • 4.  RE: Create Dummy Variables in SPSS 29

    Posted Tue February 28, 2023 10:33 AM

    Hi. If you are talking about:

    Transform > Create Dummy Variables

    The requirement is minimal: You have to supply rootnames, to which underscores and ordinals are added. As far ask I know, that's as automatic as the program gets for this task, short of writing another custom Python program to do it.



    ------------------------------
    Rick Marcantonio
    Quality Assurance
    IBM
    ------------------------------



  • 5.  RE: Create Dummy Variables in SPSS 29

    Posted Tue February 28, 2023 10:42 AM
    That command does have the option to create variable labels from the labels of the associated values.  It does not use those to create the variable names for the dummies, because label text is not in general valid as a variable name.


    --