Date: Wed, 26 May 2010 14:52:42 -0400
Reply-To: Keith McCormick <email@example.com>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Keith McCormick <firstname.lastname@example.org>
Subject: Re: Effect Coding Syntax
This is my favorite way to do this in syntax (I did not test this code, but
use this often). There are others as well.
COMPUTE married_yn = marital_status = 1.
COMPUTE single_yn = marital_status = 2.
COMPUTE divorced_yn = marital_status = 3.
On Wed, May 26, 2010 at 1:59 PM, Courtney M. Cronley <
> Simple question. Does anyone have an example of syntax for effect coding? I
> have one variable with five categories that I need to recode using effect
> Courtney Cronley, Ph.D.
> Postdoctoral Associate
> Center of Alcohol Studies
> Rutgers University
> 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