Date: Thu, 14 Dec 2006 13:39:26 -0800
Reply-To: David L Cassell <davidlcassell@MSN.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: David L Cassell <davidlcassell@MSN.COM>
Subject: Re: Lag function in IML
In-Reply-To: <OFF8C516CE.1B6CEBA0-ON03257244.0062F105-03257244.006309D9@serasa.com.br>
Content-Type: text/plain; format=flowed
ricardosilva@SERASA.COM.BR wrote:
>
>Hello,
>
>There's a lag function inside IML?
>
>Thanks
>
>Rick
No. Not all DATA step functions are implemented *directly*
in SAS/IML.
But you *can* implement it yourself by looking at the previous row
in your vector.
I would recommend against it, myself. Not everything needs to
be done in IML. Consider doing some pre-IML work in data steps
or PROC SQL to prepare your data first.
HTH,
David
--
David L. Cassell
mathematical statistician
Design Pathways
3115 NW Norwood Pl.
Corvallis OR 97330
_________________________________________________________________
View Athlete’s Collections with Live Search
http://sportmaps.live.com/index.html?source=hmemailtaglinenov06&FORM=MGAC01