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 (January 2006, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Thu, 26 Jan 2006 17:18:45 -0500
Reply-To:   Arthur Tabachneck <art297@NETSCAPE.NET>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Arthur Tabachneck <art297@NETSCAPE.NET>
Subject:   Re: Straightforward way to combine multiple values of stdev?
Comments:   To: Roy Pardee <pardee.r@GHC.ORG>

Roy,

Another possibility you might take a look at is the macro which York University's (Toronto) Michael Friendly has provided for disaggregating data http://www.math.yorku.ca/SCS/sasmac/stat2dat.html

It takes aggregated data, likes n, mean, stdev, etc. and converts it into an analyzable dataset. I would think that the disaggregated data sets could be easily combined and reanalyzed.

Art ----------- On Thu, 26 Jan 2006 13:14:31 -0800, Pardee, Roy <pardee.r@GHC.ORG> wrote:

>Hey All, > >I'm getting some proc tabulate output from various sites, which will >contain the statistics N Min Max Mean & Std. I'm tasked with collating >these stats into a single uber-table, which must show what we would get >if I had access to all the raw data available at the various sites. > >Those first four stats are reasonably easy to combine (add the N's, take >min() of the Min's, use the N's to calculate a weighted mean, etc.) but >the Std has me stumped. > >Is there some proc out there that will take something like this for an >input dset: > >Obs MAX MEAN MIN N STD site > > 1 5 4 3 4 0.8165 A > 2 65 34 3 2 43.8406 B > >And give me what the STD of the union of the samples would be? > >Thanks! > >-Roy


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