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 2010, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Wed, 16 Jun 2010 04:38:07 +0000
Reply-To:   SAS_L@LISTSERV.EDU.AU
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Laughing Beggar <laughing_beggar@HOTMAIL.COM>
Content-Type:   text/plain; charset="iso-8859-1"

Hi all, I'm working with a dataset where the records are births in a year - one birth per child born. I need to get counts of mothers - obviously one mother could have, say, up to 4 births records (in the case of quads). [Lets not worry about mothers who gave birth twice in one year - 9-12 months apart.] I can countthe mothers by using PROC FREQ on the variable that gives plurality of birth (coded as '1' for singletons, '2' for twins, 3 for triplets etc). By this method the number of mothers=(frequency count of singletons)+(frequency count of twins/2)+(frequency count of triplets/3)+etc. Ive been doing this on my calculator from the PROC FREQ output. But I'd love to be able to do this in SAS itself. Any ideas? Cheers L_B _________________________________________________________________ New, Used, Demo, Dealer or Private? Find it at CarPoint.com.au http://clk.atdmt.com/NMN/go/206222968/direct/01/


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