LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (April 2005)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 7 Apr 2005 19:28:26 +0200
Reply-To:     Jan Hofmeyr <jhofmeyr@ijr.org.za>
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         Jan Hofmeyr <jhofmeyr@ijr.org.za>
Subject:      Reverse coding
Content-Type: text/plain; charset="us-ascii"

Dear list, I have reverse coded an income variable and used it to split the file output for crosstabulations between population group and a number of other variables. Whenever I introduce the "split file" command with the new reversed income variable, the totals for my population groups are different from those that I had before the introduction of the income variable. What am I doing wrong here? Is my recoding incorrect? Does it have something to do with my treatment of missing values (I have coded the "don't know" and "refuse" values as "system missing"). Please see my syntax below. Best, Jan RECODE

income

(1=19) (2=18) (3=17) (4=16) (5=15) (6=14) (7=13) (8=12) (9=11) (10=10) (11=9) (12=8) (13=7) (14=6) (15=5)

(16=4) (17=3) (18=2) (19=1) (ELSE=SYSMIS) INTO newincome1 .

VARIABLE LABELS newincome1 'New recoded income'.

EXECUTE .


Back to: Top of message | Previous page | Main SPSSX-L page