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 (May 2006, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 24 May 2006 12:16:48 -0400
Reply-To:     Gerhard Hellriegel <ghellrieg@T-ONLINE.DE>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Gerhard Hellriegel <ghellrieg@T-ONLINE.DE>
Subject:      Re: mean value

I'm not sure what you mean with "overlaped" tables and I don't know what's the mean-value between two tables...

However: tables of the same structure you can concatenate with SET:

data both; set first second; run;

or with proc append:

proc append base=first new=second; run;

then you can calculate MEAN statistic on one or more numeric variables:

proc summary data=both nway; class var1 var2 ; /* if you have a classification, otherwise omit */ var num1 num2 num3; /* the numerics */ output out=result mean=; run;

you get all the means of each group in the same names like the originals.

Is that what you need?

On Wed, 24 May 2006 08:38:51 -0700, ljmpll@SOHU.COM wrote:

>I have some tables that they have the same constructure.I want to know >how could I use the"proc means~~~~" program so as to get their mean >value. i,e: I want to get the mwan value of these overlaped tables >.please help me,Thank you.


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