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 (June 2006, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Thu, 22 Jun 2006 12:14:41 -0700
Reply-To:   Irin later <irinfigvam@YAHOO.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Irin later <irinfigvam@YAHOO.COM>
Subject:   Proc Freq with BY option for break down; Sum function for total amnt
Content-Type:   text/plain; charset=iso-8859-1

I have a list of patients of different age and a certain dollar amount is assigned to each of them I need to break down a total dollar amount by age category In other words I need to know what is the total dollars amount for each age category Amnt agecat 926.84 “0-18” 1000.12 “19-34” 2300.36 “ >=35”

I wonder if I can use Proc Freq for this purpose. Try as I might I was unable to find an appropriate syntax: how to use By option and if I can use sum function in such a case like sum(amnt)

Thank you in advance

Irin

--------------------------------- Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.


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