Hi,I'm having problems with the syntax script used to analyse a Brief Implicit Association Test. I basically used the Brief IAT/w Pictures and changed the images and names used. I'm trying to use the BriefIAT SPSS Script but I keep getting these error messages: 39 IF 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. 40 IF 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. Which refer to:line 38 COMPUTE Pairing = 0.line 39 IF (blockcode = 'A' ) Pairing = 1.line 40 IF (blockcode = 'B' ) Pairing = 2.Blockcode was originally a string value so I changed it to a numerical value using the ALTER TYPE command (ALTER TYPE blockcode (f8.2)).What do I have to do to get rid of this error?And also, does this error make any difference to the D scores I have been given?Thank you.
Then obviously you have to adapt
to account for that change. In the above blockcode is expected to be a string variable.
For questions regarding SPSS usage, please refer to the support resources provided by its vendor.