SAS language
Windows and macOS | |
---|---|
License | Proprietary commercial software |
Filename extensions | .sas |
Website | sas |
The SAS language is a
History
SAS was developed in the 1960s by Anthony James Barr, who built its fundamental structure, [4] and SAS Institute CEO James Goodnight, who developed a number of features including analysis procedures.[5] The language is currently developed and sponsored by the SAS Institute, of which Goodnight is founder and CEO.[6]
Language
Base SAS is a
All SAS programs are written within the SAS language, although some packages use menu-driven
Syntax
The language consists of two main types of blocks: DATA blocks and PROC blocks.[14] DATA blocks can be used to read and manipulate input data, and create data sets. PROC blocks are used to perform analyses and operations on these data sets, sort data, and output results in the form of descriptive statistics, tables, results, charts and plots.[15][16] PROC SQL can be used to work with SQL syntax within SAS.[17]
Users can input both numeric and character data into base SAS. SAS statements must begin with a reserve keyword end with ;
A standard SAS program typically entails the definition of data, the creation of a data set, and the performance of procedures such as analysis on that data set.[18] SAS scripts have the .sas extension.
A simple example of SAS code is the following
* COMMENT;
Data TEMP;
input X Y Z;
datalines;
1 2 3
5 6 7
;
run;
PROC PRINT DATA = TEMP;
RUN;
SAS macro language
The SAS
&
, while macro program statements are usually preceded by %
.[8]Software
SAS Institute develops a number of tools and software suites, also called SAS, which are used for creating programs in the language. These suites include JMP, SAS Viya, SAS Enterprise Guide and SAS Enterprise Miner.[3][9][17] In 2002, World Programming also developed software that allows the execution of most SAS scripts.[17]
Uses
The SAS language is used as a standard in many industries,
Machine learning
SAS is used for preparing input data, and building and optimizing
Data mining and warehousing
While SAS was originally developed for data analysis, it became an important language for data storage.[5] SAS is one of the primary languages used for data mining in business intelligence and statistics.[29] According to Gartner's Magic Quadrant and Forrester Research, the SAS Institute is one of the largest vendors of data mining software.[24]
See also
- List of statistical packages
- Comparison of statistical packages
- SAS Institute Inc v World Programming Ltd
Notes
- ^ SAS History, SAS Institute, archived from the original on 2013-10-23, retrieved April 4, 2014
- ^ Barr & Goodnight, et al. 1976:"The SAS Staff". Attribution of contributions to SAS 72 and SAS 76.
- ^ ISBN 978-0-13-349860-8.
- ISBN 978-1-4614-3649-2.
- ^ ISBN 978-1-78953-118-3.
- ^ "Pampering The Customers, Pampering The Employees". Forbes. Retrieved 2024-04-29.
- ^ "SAS Help Center". documentation.sas.com. Retrieved 2024-04-29.
- ^ ISBN 978-1-62960-237-0.
- ^ ISBN 978-1-63526-677-1.
- ISBN 978-1-119-25570-3.
- ISBN 978-1-64295-343-5.
- ISBN 978-1-119-04218-1.
- ISBN 978-1-119-25642-7.
- ^ ISBN 978-81-7722-769-7.
- ISBN 978-0-13-349860-8.
- ISBN 978-1-119-25642-7.
- ^ ISBN 978-0-19-284419-4.
- ^ ISBN 978-81-7722-769-7.
- ISBN 978-1-64295-343-5.
- ^ ISBN 978-1-119-25642-7.
- ^ "Introduction to SAS Macro Language". stats.oarc.ucla.edu. Retrieved 2024-04-29.
- ^ Stalla, Alessio (2022-04-20). "Challenges in Parsing Legacy Languages: The Case of SAS Macros". Strumenta. Retrieved 2024-04-29.
- ^ "TIOBE Index". TIOBE. Archived from the original on 2024-02-23. Retrieved 2024-04-30.
- ^ ISBN 978-1-118-92070-1.
- ISBN 978-1-000-17681-0.
- ISBN 978-1-63526-677-1.
- ISBN 978-1-64295-917-8.
- ^ "Forrester Reprint". reprints2.forrester.com. Retrieved 2024-04-30.
- ISBN 978-1-119-54985-7.
References
- "Overview of the SAS Language". Department of Animal Science, McGill University. Retrieved 5 October 2013.
- Barr, A. J.; Goodnight, J. H.; Sall, J. P.; Helwig, J. T. (1976), A User's Guide to SAS 76, Raleigh, North Carolina: SAS Institute, Inc., ISBN 0-917382-01-3