Concise Glossary for SAS

SAS Statements, Procedures, and Functions 

SAS documentation can be overwhelming. The software is split into modules (such as BASE, STAT, GRAPH). The online documentation is split into versions and modules, a variety of guides (each organized in a different fashion) and the documentation has undergone several revisions. This guide provides an alphabetical listing of commonly used SAS statements, SAS functions, and SAS procedures. It points to vendor supplied online descriptions of each key word mentioned. No distinction is made between the modules. Most statements and the use of SAS functions must be placed within a data step (i.e. Between a line that begins with data ...; and after other lines... a run; statement.) A data step defines data that can be analyzed by other procedure (or PROC) steps. This guide is an introductory reference. It is not meant to be read as a tutorial.

For a well rounded introductory knowledge of SAS the user should be familiar with the following:

SAS Statements
all SAS statements, alphabetically

Data Step Assignment (for creating new variables, must be done within a data step)

Data Step BY

Data Step CARDS

Data Step DATALINES

Data Step DELETE

[http://support.sas.com/onlinedoc/913/getDoc/en/lrdict.hlp/a000201276.htm Data Step '''DO; ... END;''']

Data Step subsetting IF

Data Step IF-THEN-ELSE

Data Step INFILE

Data Step INPUT Data Step MERGE Data Step SELECT

Data Step SET (rarely missing from a data step)

Data Step WHERE

FILENAME

LIBNAME

OPTIONS

Several SAS statements (or syntactic constructs) help to improve the readability of your SAS program.

These are:

Comments (text meant to be read by humans, using * ...; or /* ... */)

RUN;

TITLE

SAS Procedures
PROC CORR PROC FREQ

PROC MEANS (similar to PROC SUMMARY)

PROC PLOT (similar to PROC GPLOT) PROC PRINT

PROC REG

PROC SORT (should be accompanied by a BY statement)

PROC TTEST

SAS Functions
SAS Functions ABS

SAS Functions LENGTH (to work with text (strings) instead of numbers)

SAS Functions MAX

SAS Functions MEAN SAS Functions MIN

SAS Functions ROUND

SAS Functions SUBSTR (to work with text (strings) instead of numbers)

all SAS Functions (alphabetically) (by categories)

For more information
Saving your work - see 12 Ways to save SAS data

Making your output look nicer - Use ODS (the output delivery system), Titles, Footnote, Labels, Formats. See SAS Eye Candy (a wanted wiki page)

Where are the statistics described? Specific statistical procedures that are not found in the Procedures guide are probably in the SAS/ETS guide (since Time Series are ...?). While somewhat statistical in nature PROC CORR, MEANS, SUMMARY, and FREQ are part of the SAS/BASE module.

Common statistical prcedures not listed here are LOGISTIC, PROBIT, GLM (for General linear models). A more extended statistical discussion and more elaborate statistical analyses are listed at the start of the [SAS/STAT Guide].

Resources/References
All of the above are found at http://v9doc.sas.com ... looking at the SAS 9.1.3 (9.1 TS1M3) , SAS OnlineDoc 9.1.3 for the Web

Everything referenced in this guide is found in the Online SAS documentation sections:
 * SAS Procedures Guide
 * SAS Language Users Guide
 * SAS/STAT Volumes 1 and 2
 * SAS Dictionary of Statements (statements and functions)