Date: Thu, 2 Jul 2009 08:34:47 -0400
Reply-To: Alison America <alison.america@MED.NAVY.MIL>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Alison America <alison.america@MED.NAVY.MIL>
Subject: Recode onto the next case
I have syntax that says:
RECODE EVENT (100=1) (ELSE=0) INTO EVENT2.
VARIABLE LABELS EVENT2 'EVENT2'.
EXECUTE.
I want this command to happen, but the recoded variable should appear on
the next case, not the case on which the origninal EVENT code happened.
In the data set, there are 2 cases per person and I want the "1" in EVENT2
to appear in the person's second case.
Any ideas?
Thanks, alison
=====================
To manage your subscription to SPSSX-L, send a message to
LISTSERV@LISTSERV.UGA.EDU (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
|