Date: Fri, 17 Aug 2007 13:03:57 -0700
Reply-To: "Pardee, Roy" <pardee.r@GHC.ORG>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Pardee, Roy" <pardee.r@GHC.ORG>
Subject: Re: Trimmed means
Content-Type: text/plain; charset="us-ascii"
UNIVARIATE does support both WEIGHT and FREQ statements--do those not
serve your needs?
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of
Ricardo G Silva
Sent: Friday, August 17, 2007 12:53 PM
Subject: Trimmed means
I need to calculate trimmed means (TM) for various time series. However,
the option available in PROC UNIVARIATE does not allow the possibility
to introduce a weight for each observation of the series.
Basically, the TM in SAS involves a sum from 1 to N of w_i, and I need
a sum from 1 to N of w_i*c_i.
This methodolgy are used to compute cores for consumer prices indexes.
Anybody already developed a code to implement it?
Thanks a lot