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 (May 2002, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Fri, 31 May 2002 20:30:18 GMT
Reply-To:   jasmin shah <jasmin_shah@HOTMAIL.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   jasmin shah <jasmin_shah@HOTMAIL.COM>
Organization:   AT&T Broadband
Subject:   Addin variables

This is the problem that i am having, I cannot Create a new variable called Ratio, that will display the quantity: FSIQ/(VIQ+PIQ). Which i am trying to Print Gender and Ratio.

data willerman;

input Gender $1-6 FSIQ 9-12 VIQ 13-16 PIQ Weight height MRI 33-38 ;

cards;

Female 133 132 124 118 64.5 816932

Male 140 150 124 . 72.5 1001121

Male 139 123 150 143 73.3 1038437

Male 133 129 128 172 68.8 965353

Female 137 132 134 147 65.0 951545

Female 99 90 110 146 69.0 928799

Female 138 136 131 138 64.5 991305

;

run;

data willerman;

set willerman;

Ratio=FSIQ/(VIQ+PIQ);

MRI=MRI_Count;

run;


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