Hi. I need help on the following...
Im trying to use a macro. Inside my macro is a proc sql. I send a reference number to the macro, and the macro calculate a min and max corresponding to the number.
I cant do it. Can you use proc sql in a macro?
My program:
libname SAS "M:\2008\Admin\SAS...
I need to use 11 Lag statements to reference up to 12 lines back. I'm unable to do it in a 'do' list and have to phisically type in...
Lag1
Lag2 up to
...
Lag11.
Is there a way that I can do something like
do i = 1 to 11;
lag(i)(...) = ...
instead of writing each lag part (lag1=... lag2=...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.