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 (September 2010, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 27 Sep 2010 07:47:01 -0400
Reply-To:     Arthur Tabachneck <art297@NETSCAPE.NET>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Arthur Tabachneck <art297@NETSCAPE.NET>
Subject:      Re: Easier way to produce tables
Comments: To: SUBSCRIBE SAS-L Olivier Van Parys <olivier.vanparys@GMAIL.COM>

Oliver,

I'm probably missing something here: couldn't you just print the file DB?

Art -------- On Mon, 27 Sep 2010 05:48:53 -0400, SUBSCRIBE SAS-L Olivier Van Parys <olivier.vanparys@GMAIL.COM> wrote:

>Hi Folks, > >I am trying to change a bad habit I have have acquired, when checking >predictor in a model with Y as the variable to predict and Pred1... PredN >representing N binomial predictors - I usually run the following: >proc summary data=DB; >class Pred1; >var Y; >output out=table_pred1; >... >proc summary data=DB; >class PredN; >var Y; >output out=table_predN; > >That give me N table which I then collate back together using excel. This >obviously ends up being a rather time consuming & tedious process. I was >wondering what would be a better /more efficient syntax to produce the final >table (i.e. A single table with Predictors on each row showing the average Y >when Pred=1 or Pred=0). > >Thanks again for your tips, > >Olivier


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