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 (August 2010)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Tue, 3 Aug 2010 15:32:26 -0700
Reply-To:   J McClure <mc006@pacbell.net>
Sender:   "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:   J McClure <mc006@pacbell.net>
Subject:   calculating new variable by gender
Content-Type:   text/html; charset=ISO-8859-1

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head>

<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> </head> <body bgcolor="#ffffff" text="#000000"> <big><big>I want to calculate a new variable AUDITC_Score. It will be dichotomous with&nbsp; 0 (no) and 1 (yes). The threshold for </big></big><big><big>AUDITC_Score </big></big><big><big>'yes' for women is </big></big>&#8805; <big><big> 4 and for men &#8805; 5. The threshold is calculated as the sum of the points for three separate variables: AUDIT_Freq, AUDIT_Daily, and AUDIT_GT5. Gender is MR_sex with 1=male and 2=female. I can calculate the score (using the drop down menu <span class="moz-smiley-s2"><span> :-( </span></span>) but can't figure out how to make it different for men and women. I'm working on using syntax instead of the drop down so a syntax answer would be great. I'll use it as a template for other derived variables. (I am using PASW 18.)<br> Thanks for your help,<br> Jan<br> </big></big> </body> </html>

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