Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. ConradLouw

    Lag operator in a 'do' list

    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...
  2. ConradLouw

    Lag operator in a 'do' list

    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=...

Part and Inventory Search

Back
Top