|Date: ||Tue, 27 Feb 2001 00:30:22 +1100|
|Reply-To: ||"Karsten M. Self" <kmself@IX.NETCOM.COM>|
|Sender: ||"SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>|
|From: ||"Karsten M. Self" <kmself@IX.NETCOM.COM>|
|Subject: ||Re: Opposite of LAG|
|In-Reply-To: ||<E0E3B7CA065CD311992F0008C70DABF81C89B9@SUMAC.cfs.le.ac.uk>; from
bm18@LEICESTER.AC.UK on Mon, Feb 26, 2001 at 09:57:19AM -0000|
|Content-Type: ||multipart/signed; micalg=pgp-sha1;
on Mon, Feb 26, 2001 at 09:57:19AM -0000, Manktelow, B. (bm18@LEICESTER.AC.UK) wrote:
> Is there a function that is the opposite of LAG, that is, it looks at the
> next observation as opposed to the previous?
keep= /* list of vars to keep */ myvar
/* rename list -- you have to rename variables you plan to
* keep so as not to clobber those brought in in the first
* SET statement
myvar = myvar2
/* We now have 'MYVAR' and 'MYVAR2', where MYVAR2 is a "future"
* value of 'MYVAR'
Karsten M. Self <email@example.com> http://kmself.home.netcom.com/
What part of "Gestalt" don't you understand? There is no K5 cabal