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 (November 2011)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 3 Nov 2011 12:26:12 -0400
Reply-To:     Jan McClure <mc006@PACBELL.NET>
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         Jan McClure <mc006@PACBELL.NET>
Subject:      Compute command and System User missing

Hi, I'm a doctoral student (epidemiology)and have not used SPSS in awhile. I'm trying to do something quite simple but am running into a problem with system missing and user missing values. Old variables are H_now (no missing values) and H_12mo which has 3 system missing and 7 user missing (99). I want to create a new variable (hosp). I set the new variable to 8 so that any cases that "fall thru" will be evident to me. Indeed, 10 cases fall thru and are listed as an "8". These are the 3 sysmis and the 7 user missing (99). compute hosp=8. if H_now EQ 1 hosp = 1. if (H_now EQ 0 and H_12mo EQ 1) hosp = 2. if (H_now EQ 0 and H_12mo EQ 0) hosp = 3. If H_12mo EQ 99 hosp = 98. Variable labels hosp 'outcome'. Value labels hosp 3 'no event' 2'12 mo event' 1'immediate event'. Freq /var=hosp /missing=include. Thanks for any help, Jan

===================== 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


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