SPSS Statistics

SPSS Statistics

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


#Analytics
#SPSSStatistics
#Analyticstools
 View Only
  • 1.  Error

    Posted 03/17/21 12:56 PM

    Hello,

    I/m trying to delete cases who have a response rate of 16 or less. I use the following syntax: SELECT IF (Responded_sum >=17).

    EXECUTE. Unfortunately i get the following error: >Error # 4305 in column 30. Text: )

    >A relational operator may have two numeric operands or two character string

    >operands. To compare a character string to a numeric quantity, consider using

    >the STRING or NUMBER function.

    >Execution of this command stops.

    EXECUTE.

    I looked in variable view, but the variable is numeric. Can someone please tell me what I do wrong?

    Thanks in advance.

    Kind Regards,

    Diana Nieboer






    #SPSSStatistics
    #Support
    #SupportMigration


  • 2.  RE: Error

    Posted 03/17/21 01:38 PM

    I don't see anything wrong with that syntax, but if you want to send me a file with the exact syntax and a sav file with at least a few cases of data (jkpeckSupport Member) I'll take a look.






    #SPSSStatistics
    #Support
    #SupportMigration