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 (March 2009, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Tue, 31 Mar 2009 07:38:06 -0500
Reply-To:   "./ ADD NAME=Data _null_;" <iebupdte@GMAIL.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   "./ ADD NAME=Data _null_;" <iebupdte@GMAIL.COM>
Subject:   Re: Producing a Questionaire Table with Sub Questions
Comments:   To: David Friedman <harrypotterdhf@earthlink.net>
In-Reply-To:   <200903302116.n2UKB557028183@malibu.cc.uga.edu>
Content-Type:   text/plain; charset=ISO-8859-1

I would like to see some of the data that makes up this table. To me how one might proceed would depend partly on the starting point, do you have lots of variables or lots of rows. Post some of your data in an e-mail friendly format.

On 3/30/09, David Friedman <harrypotterdhf@earthlink.net> wrote: > Hi, i am trying to make a table like the example below. When a patient > answers a question "No" there is no further question, however if he > answers the question "Yes" then there are other questions. The denominator > is Total treated, however, when a question is answered "yes" the response > below "Yes" is a percentage of the "Yes" question. Do you know what is the > best way to do a table like this? Thanks!!!! I am struggling. Since this > is an example table, the Treatment2 column was purposely not filled in, > and there can be more than 2 questions. In this case there is an eye and > foot question. > > Treatment1 Treatment2 > Total Treated 60 (100.0) 60 (100.0) > > Eyes are bad? > No 30 (50.0) > Yes 30 (50.0) > Cornea stain 15 (25.0) > Cataracts 15 (25.0) > > Foot Injury > No 20 (33.3) > Yes 40 (66.7) > Ingrown nail 10 (16.7) > Bunion 30 (50.0) >


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