Transcription of Using Arrays in SAS Programming
{{id}} {{{paragraph}}}
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 .. 9 Using SAS Variable Lists with Arrays .. 12 Expanding and Collapsing Observations.
It is common to perform a calculation using all of the variables or elements that are associated with an array. For example, the code shown previously in the section “Basic Array Example: Calculating Net Income” calculates the net income for each month. However, suppose that you want to sum each of the 12 monthly net incomes.
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}