Date: Wed, 25 Apr 2001 15:41:08 -0400
Reply-To: Howard Schreier <Howard_Schreier@ITA.DOC.GOV>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Howard Schreier <Howard_Schreier@ITA.DOC.GOV>
Subject: Re: Calculating a moving average.
SQL can be a handy tool for this sort of problem, especially if there is
need to look ahead as well as back.
On Fri, 20 Apr 2001 10:45:48 -0400, Michael McCoy <Mmccoy@NATHANINC.COM>
wrote:
>Hello all,
>
>Is there a SAS function to create a new variable which is the moving
average
>of another variable?
>
>
>Thank you,
>
>
>
>
>Michael McCoy
>Research Associate
>Nathan Associates, Inc.
>703 516-7755
>
>
>
>
|