SPSS Statistics

 View Only
  • 1.  Importing a Multiple Imputed Data Set into SPSS

    Posted Wed February 03, 2021 12:15 PM
    Dear SPSS Statistics list,

    I received multiple imputed data from other software, that I'd like to analyze in SPSS. 
    I tried renaming the variable "imp" that indicates the imputed data number (0=original data, 1=first imputed data set, 2=second imputed data set, etc.) into "_Imputation" using

    RENAME VARIABLES (imp=_Imputation).

    thus hoping that SPSS would understand that we are dealing with a multiple imputed data set, but this throws an error

    >Error # 5219 in column 22. Text: _
    >Invalid symbol in the RENAME new variable list. SPSS Statistics encountered
    >something other than a variable name or the TO keyword.
    >Execution of this command stops.

    so my solution breaks down. Do you know how I can solve this issue? 

    Kind regards, Adriaan Hoogendoorn

    ------------------------------
    Adriaan Hoogendoorn
    ------------------------------

    #SPSSStatistics


  • 2.  RE: Importing a Multiple Imputed Data Set into SPSS

    IBM Champion
    Posted Wed February 03, 2021 12:25 PM
    The imputation variable is
    Imputation_
    not
    _Imputation



    --





  • 3.  RE: Importing a Multiple Imputed Data Set into SPSS

    Posted Wed February 03, 2021 12:26 PM
    According to the Command Syntax Reference:

    "The output dataset contains the original (nonmissing) data and data for one or more imputations. Each imputation includes all of the observed data and imputed data values. The original and imputed data are stacked in the output dataset. A special variable, Imputation_, identifies whether a case represents original data (Imputation_ = 0) or imputed data (Imputation_ =1...m)."

    Try Imputation_ , not _Imputation.

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



  • 4.  RE: Importing a Multiple Imputed Data Set into SPSS

    Posted Thu February 04, 2021 02:38 AM
    Dear Rick Marcantonio, 

    Thank you for your reply! Apparently I mixed up where to add the underscore ("_") to the "Imputation" name. 
    This now works perfectly. Thanks again!

    Kind regards, Adriaan Hoogendoorn


    ------------------------------
    Adriaan Hoogendoorn
    ------------------------------