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 (August 2007, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Wed, 29 Aug 2007 15:42:24 +0000
Reply-To:   toby dunn <tobydunn@HOTMAIL.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   toby dunn <tobydunn@HOTMAIL.COM>
Subject:   Re: Multiple variables in one frequency table
Comments:   To: h3L93.ph1l1pp@GMAIL.COM
In-Reply-To:   <1188400573.475725.141340@50g2000hsm.googlegroups.com>
Content-Type:   text/plain; format=flowed

Helge ,

I hve a macro Call %FreqAll which generates a data set that can be reported off of, essentually it allows you the programmer to create the output table anyway you want.

The core of the code is simple enough:

ODS Listing Close ; ODS Output OneWayFreqs = MyFreqs ;

Proc Freq Data = Whatever ; Table<Your Vars Here> ; Run ;

ODS Listing ;

Toby Dunn

Comprimise is like telling a lie, it gets easier and easier. Each comprimise you make, that becomes your standard.

Perfection doesnt exist, once you reach it, its not perfect anymore. It means something else.

From: Helge <h3L93.ph1l1pp@GMAIL.COM> Reply-To: Helge <h3L93.ph1l1pp@GMAIL.COM> To: SAS-L@LISTSERV.UGA.EDU Subject: Multiple variables in one frequency table Date: Wed, 29 Aug 2007 15:16:13 -0000

Hi all!

I (not very advanced, have been using SAS/EGuide for one month now) would like to generate a table of frequencies with multiple variables. When using PROC FREQ with several variables, I always get as many seperate tables.

My data table has several columns with Yes/No values that I would like to have in that table.

Is there something I missed or is there a better method to generate such a simple table?

Helge.

_________________________________________________________________ See what you’re getting into…before you go there http://newlivehotmail.com/?ocid=TXT_TAGHM_migration_HM_viral_preview_0507


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