Example: marketing

Search results with tag "Do loops"

158-2010: How to Use Arrays and DO Loops: Do I DO OVER …

158-2010: How to Use Arrays and DO Loops: Do I DO OVER

support.sas.com

ARRAYs and DO loops are powerful data manipulation tools that help make code more efficient. In this workshop you will learn when ARRAYs and DO loops can and should be used, how to set up an ARRAY with and without specifying the number of array elements,

  Array, Loops, Over, Do loops, Voor de

158-2010: How to Use Arrays and DO Loops: Do I DO OVER …

158-2010: How to Use Arrays and DO Loops: Do I DO OVER …

support.sas.com

One way is to use SAS ARRAYs and DO loops. SAS ARRAYS A SAS ARRAY is a set of variables of the same type that you want to perform the same operation on. The set of variables is then referenced in the DATA step by the array name. The variables in …

  Loops, Do loops

113-2011: %DO Loop: A Simple Dynamic Programming …

113-2011: %DO Loop: A Simple Dynamic Programming …

support.sas.com

DO loops can not be used here since the LABEL statement is a declarative statement. But you can use the %DO loop in a macro like the following …

  Loops, Macro, Do loops

031-2008: PROC REPORT: Compute Block Basics -- Part I ...

031-2008: PROC REPORT: Compute Block Basics -- Part I ...

support.sas.com

These include DO loops, assignment and sum statements, ARRAYs, and IF-THEN/ELSE processing. Most of the functions and routines that do not work in the compute block are those that utilize either the DATA step’s Program Data Vector, PDV, or the processing of the DATA step itself. Examples include the LAG function and the

  Array, Report, Loops, Corps, Compute, Proc report, Do loops

113-2011: %DO Loop: A Simple Dynamic Programming …

113-2011: %DO Loop: A Simple Dynamic Programming …

support.sas.com

do not have a common prefix, we can not list them as COL1_LINE1 – COL50_LINE1 in the VAR statement. We are facing two options: list these variables one by one in the VAR statement or write a few lines of code to dynamically generate the list of these variables. For a repetition of so many items, the following code is a better

  Loops, Do loops

Similar queries