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 2005, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Wed, 2 Mar 2005 11:25:05 -0500
Reply-To:   Tracy Clegg <tracy.clegg@UCD.IE>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Tracy Clegg <tracy.clegg@UCD.IE>
Subject:   expanding data sets

Hi,

Can anyone help me with the code to expand from summarised data back to single records. My dataset is set out as follows I have 2 variables X1, X2 that have been summarised by freq:

X1 X2 Freq 1 1 6 1 2 10 1 3 5 2 1 2 2 2 7 2 3 8

I now want a file so that for X1 = 1 and X2 = 1 I have 6 records. For X1 = 1 and X2 = 2 I have 10 records etc.

Does anyone know how to do this - or even which procedure I need to look at?

Thanks

Tracy


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