+ Reply to Thread
Results 1 to 2 of 2

Thread: How to tell SPSS what missing values are?

  1. #1
    Points: 116, Level: 2
    Level completed: 32%, Points required for next Level: 34

    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How to tell SPSS what missing values are?




    I have imported a dataset into SPSS from Excel. In the Excel file, not all cells contained a value (=missing value). Once imported into SPSS, those cells now contain a dot (.), as follows:
    Code: 
    VAR_X	VAR_Y	VAR_Z
    ------------------------
    5,6384	5,9269	     .
         .	5,6384	     .
    6,0186	5,6168       .
    6,0039	6,0186	4,5322
         .	6,0039	4,1564
    6,1420	6,0568	     .
    5,9428	     .	     .
    5,5373	5,9428	     .
    However, looking at the "variable view" pane, it says there are no missing values in any of the variables. How can I tell SPSS to interpret the dot (.) as a missing value?

  2. #2
    Pirate
    Points: 11,202, Level: 69
    Level completed: 88%, Points required for next Level: 48
    victorxstc's Avatar
    Posts
    968
    Thanks
    231
    Thanked 289 Times in 261 Posts

    Re: How to tell SPSS what missing values are?


    Missing values are "missing values" when other necessary data exist but some cells are empty, so the test disregards the other data as well and reports "missing values". Otherwise, if all the cells needed for a particular task or test are empty together, it won't report a missing value. And, again if no tests have been done, there is no missing value by default. But the default can be tweaked by editing the rules for missing values. This is quoted from the help of SPSS (I don't know is it breaching copyright or not, but if it did, please moderate it):

    "Missing values

    Missing Values defines specified data values as user-missing. For example, you might want to distinguish between data that are missing because a respondent refused to answer and data that are missing because the question didn't apply to that respondent. Data values that are specified as user-missing are flagged for special treatment and are excluded from most calculations.

    User-missing value specifications are saved with the data file. You do not need to redefine user-missing values each time you open the data file.

    You can enter up to three discrete (individual) missing values, a range of missing values, or a range plus one discrete value.

    Ranges can be specified only for numeric variables.

    All string values, including null or blank values, are considered to be valid unless you explicitly define them as missing.

    Missing values for string variables cannot exceed eight bytes. (There is no limit on the defined width of the string variable, but defined missing values cannot exceed eight bytes.)

    To define null or blank values as missing for a string variable, enter a single space in one of the fields under the Discrete missing values selection."

+ Reply to Thread

           




Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts






Advertise on Talk Stats