So if you notice a mistake after you’ve recoded, you can’t fix it.īut you may not even notice the mistake, because you can’t even test it. Recoding Into Same Variables replaces the values in the existing variable. In almost every situation, you want to use Into Different Variables. The command I nto Same Variable replaces existing data with new values, but the command Into Different Variables adds a new variable to the data set.
#SPSS 20 SYNTAX HOW TO#
See Syntax Editor Window on the University Central Michigan's site if you do not know how to do that.
#SPSS 20 SYNTAX CODE#
It should be obvious that syntax leads to huge gains of productivity.Įven if John had not saved his analysis in a syntax file, it is easy to recover the code from the journal file. If John has saved his analysis in syntax file, he will be able to do any of the above in 2–3% of the time he would have needed to redo it manually using "point and click".
#SPSS 20 SYNTAX WINDOWS#
One of the key to syntax writing is the Paste Button which exists in most windows of the Graphic User Interface (GUI). General SPSS Learning Resources Key Items