Date: Wed, 15 May 2002 16:24:34 -0600
Reply-To: jet_li@SOFTHOME.NET
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Jet Li <jet_li@SOFTHOME.NET>
Subject: Re: Help please
In-Reply-To: <009a01c1fc5b$c32ffc90$520e6a81@PEDUCT225>
Content-Type: text/plain; format=flowed; charset="iso-8859-1"
There are 2 visits and I want to get the percentage of patients who answered
either 1 or 4 for each question by each visit.
foe eg.:
question no. visit % of patients(who scored 1 or 4)
1 1 25%
1 2 35%
2 1 26%
2 2 37%
.
.
20
Each of the patients has to answer all the 20 questions which will be scored
1,2,3, & 4. But I need to find the percentage of patients who scored either
1 or 4 only by question & visit.
Thanks,
jet.
Paul R Swank writes:
> How do you want to handle the visits? I assume some have different numbers
> of visits. Do you want to aggregate across visits or do it separately by
> visit? Do they have to answer 1 or 4 to any question, or all of the
> questions, or do you want it by question?
>
> Paul R. Swank, Ph.D.
> Professor, Developmental Pediatrics
> Medical School
> UT Health Science Center at Houston
>
>
>
> -----Original Message-----
> From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU]On Behalf Of Jet
> Li
> Sent: Wednesday, May 15, 2002 4:26 PM
> To: SAS-L@LISTSERV.UGA.EDU
> Subject: Help please
>
>
> Hi all,
> I have 100 patients answering 20 questions on each of their visit. Their
> answers are scored as 1,2,3&4
> I want to find the percentage of each patients on each visit who's answers
> were either 1 or 4
>
> I tried creating a flag for each of the question and i think that is not the
> real solution. Can anyone provide me with a simpler solution?
>
>
|