SPSS IF – A Quick Tutorial

In SPSS, IF is a conditional COMPUTE command. It calculates a (possibly new) variable but only for those cases that satisfy some condition(s). This tutorial walks you through some typical examples of the IF command. Example 1 – Replace Missing Values With the syntax below we’ll first create some test data. Next we’ll set the existing variable score […]

SPSS Data Editor Window

SPSS Data Editor window is SPSS’ main window. This is the only window that’s always open whenever we run SPSS. It’s recognized by a red icon  in its left top corner. The Data Editor has two tabs in the left bottom corner: we can click Data View for inspecting our data values. Alternatively, Variable View shows information regarding the meaning […]