STAT 3094 Lecture Notes - Lecture 12: Dollar Sign, Vise

19 views3 pages

Document Summary

Arrays are temporary groupings of sas variables under a single name. Create several variables with the same attributes. Rotate sas datasets by switching variables to observations or vise versa. The array statement can be used with both unidimensional and multidimensional arrays. Arrays can be used to store values from other sas variables, create values for new sas variables, or both. If you are storing values, these values will be stored temprarily. Arrays are only effective within the sas dataset and sas data statement: rules for naming arrays, do not use names of sas functions. Using an array places the results in the respective variables used in the array. If one creates a new sas dataset that is a copy of a sas dataset where an array was used, the array cannot be referenced in the new sas dataset; the array must be recreated. Since arrays are local and temporary, you should note the following characteristics.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related textbook solutions

Related Documents