I am writing a piece of code in the Syntax of SPSS-statistics-25.0. The code is the following.
GET DATA /TYPE=XLSX
/FILE='file'
/SHEET=name 'Sheet2'
/CELLRANGE=full
/READNAMES=on
/ASSUMEDSTRWIDTH=32767.
EXECUTE.
DATASET NAME DataSet1 WINDOW=FRONT.
RANK VARIABLES= WA CI (D) /RANK /PRINT=YES /TIES=MEAN.
SELECT IF( RWA EQ 1 AND RCI EQ 1).
The problem is at the last line of the above code. SPSS selects the right data and then, SPSS creates two variables called RWA and RCI. So far, things are fine. Then, SPSS should select cases only when the two variables assume value 1 and 1 simultaneously. Unfortunately, the latter does not happen.
Am I wrong somewhere in the code?
#SPSSStatistics#Support#SupportMigration