The SAS System provides a powerful and flexible programming language in a dynamic, interactive environment for programmers,
statisticians, and researchers. Use the SAS System for data manipulation and specialized statistical analysis, then employ
the matrix language for more specific analysis and exploration.
SAS/IML operates on matrices.
The fundamental data element in SAS/IML is the matrix, a two-dimensional (row-by-column) array of numeric or character values. Built-in matrix operators, functions, and call routines may be applied to perform complex tasks such as matrix inversion or eigenvector generation.
SAS/IML is a programming language.
Simple syntax makes it easy to translate mathematical formulas into program statements. You can program easily and efficiently with the many features for arithmetic and character expressions. A complete set of control statements give you the commands necessary for execution control and program modularization. Access to a wide range of built-in subroutines makes your programming fast, easy, and efficient, and you can build your own module library to extend the functionality of the software.
SAS/IML software is interactive.
You can execute a command as soon as you enter it, or you can collect commands for later execution in batch production runs. When you execute a command, you see the results immediately. You can interact with an executing module by programming IML to pause, allowing you to enter additional statements before continuing execution.
SAS/IML software is dynamic.
You do not need to declare, dimension, or allocate storage for a data matrix; SAS/IML software does this automatically. You can change the dimension or type of a matrix at any time. You can open multiple files or access many libraries. You can reset options or replace modules at any time.
SAS/IML software processes data.
You can read all observations (or conditionally selected observations) from a SAS data set into a matrix, creating multiple vectors (one for each variable in the data set) or a matrix containing a column for each data set variable. You can create a new SAS data set or append observations to an existing SAS data set in addition to editing an existing SAS data set.
SAS/IML software produces graphics.
You have access to a wide range of graphics commands, allowing you to create customized displays and visually explore relationships in data.