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 2005, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Sun, 22 May 2005 23:20:09 -0700
Reply-To:   Jack Hamilton <jfh@STANFORDALUMNI.ORG>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Jack Hamilton <jfh@STANFORDALUMNI.ORG>
Subject:   Re: Conditional summary stats in Proc Report
Comments:   To: Diana Cannon <cannondj@AOL.COM>
In-Reply-To:   <200505202052.j4KKq3gU016005@listserv.cc.uga.edu>
Content-Type:   text/plain; charset="us-ascii"

I don't think you can do what you want directly, but you might be able to use a compute block to set the values for S1 and S2 to missing for appropriate values of the attribute.

> -----Original Message----- > From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On > Behalf Of Diana Cannon > Sent: Friday, May 20, 2005 1:52 pm > To: SAS-L@LISTSERV.UGA.EDU > Subject: [SAS-L] Conditional summary stats in Proc Report > > I'm trying to learn Proc Report and have a question. I have a list of > attributes that I need to summarize in the fashion > demonstrated below. How > can I show means of S1 and S2 for some attributes but not others? > > > S1 S2 > FLAVOR Definitely would buy 31 23 > Probably would buy 17 19 > Might or might not buy 23 18 > Probably would not buy 9 9 > Definitely would not buy 18 30 > > > Much too thick 1 1 > THICKNESS Somewhat too thick 10 4 > Just right 79 70 > Somewhat too thin 9 23 > Much too thin 0 1 >


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