|Date: ||Tue, 15 May 2007 14:03:13 -0700|
|Reply-To: ||besheer mohamed <firstname.lastname@example.org>|
|Sender: ||"SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>|
|From: ||besheer mohamed <email@example.com>|
|Subject: ||recode from a variable?|
|Content-Type: ||text/plain; charset=iso-8859-1|
Is it possible in SPSS to recode a variable into a specific value. For example something like the following (which does not work but I think gets at conceptually what I'm trying to do.
recode Comp_Decision (0 = Error_Code).
In theory I'd like to see Comp_Decision set to Error_Code but only if Comp_Decision is currently 0.
I can think of a number of other ways to get this done, but wanted to know if it can be done with recode.