Lag Operator

Contents Index


The lag operators (lag, lag1, lag2,..., lag100) return the value of the variable at the indicated lag, or the SAS missing value, as appropriate. The lag operators can only be used on the right hand side of assignment statements.

y=lag(x); /* same as y=lag1(x) */
y=lag4(x);


Contents Index

Copyright © 1997 by Jerry Alan Veeh. All rights reserved.