PDF4PRO ⚡AMP

Modern search engine that looking for books and documents around the web

Example: stock market

Using Arrays in SAS Programming

Back to document page

Using Arrays in SAS Programming Technical Paper i Using Arrays in SAS Programming Table of Contents Overview ........................................ ........................................ ........................................ . 1 Basic Syntax of the array 1 Basic array Example: Calculating Net Income ........................................ .................. 2 Using Arrays with Functions and Operators ........................................ ...................... 4 Common Tasks and Examples Using Arrays ........................................ ..................... 6 Assigning Initial Values to array Variables or Elements ........................................ ... 6 Specifying Lower and Upper Bounds of a Temporary array ..................................... 9 Creating a Temporary array .

do i=1 to 12; net_inc[i]=revenue[i]-exp[i]; end; The purpose of the DO group is to access each of the 12 elements in the arrays. In this DO group, the iteration value 1 is the START argument, whereas 12 is the STOP argument. With this method, you must change the STOP argument in your DO group whenever the number of elements in the array changes.

  Array, Programming, Using, Your, Using arrays in sas programming, Do your

Download Using Arrays in SAS Programming


Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Spam in document Broken preview Other abuse

Related search queries