Archive for December 7th, 2006

Recode missing values with Syntax

3.5

Today, Aleksandar sent us the following question:

“I’m having problems to recode system missing values to 0 with syntax
editor. How can I do that?”

In SPSS Syntax, missing values can be addressed via the keywords “sysmis” or “missing”. For this explanation we assume that in addition to the values 1 and 2, there are also values 3 and 4 which are defined as missing values. Please find some syntax below and an explanation of what they do. var2 stands for the variable name we are recoding.

RECODE var2 (missing = 3).

1 comment December 7th, 2006 andris


Calendar

December 2006
M T W T F S S
« Nov   Jan »
 123
45678910
11121314151617
18192021222324
25262728293031

Posts by Month

Posts by Category