LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (March 2000, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 28 Mar 2000 16:54:20 -0500
Reply-To:     Eric Turkheimer <turkheimer@VIRGINIA.EDU>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Eric Turkheimer <turkheimer@VIRGINIA.EDU>
Organization: University of Virginia
Subject:      PROC FREQ Output Dataset
Content-Type: text/plain; charset=us-ascii

It seems like there must be a simple way to do this. I want to output a dataset from PROC freq that has one observation for each unique combination of variables in the table, with a varible that contains the freqency of that cell.

So for a dataset like:

X Y 3 3 3 2 3 2 2 3

proc freq;tables x*y; output.....

The output dataset would contain

X Y _FREQ_ 3 3 1 3 2 2 2 3 1

Thanks, Eric


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