This preview shows pages 1–4. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.
View Full DocumentThis preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: An Introduction to the SAS System Phil Spector Statistical Computing Facility Department of Statistics University of California, Berkeley 1 What is SAS? • Developed in the early 1970s at North Carolina State University • Originally intended for management and analysis of agricultural field experiments • Now the most widely used statistical software • Used to stand for “Statistical Analysis System”, now it is not an acronym for anything • Pronounced “sass”, not spelled out as three letters. 2 Overview of SAS Products • Base SAS  data management and basic procedures • SAS/STAT  statistical analysis • SAS/GRAPH  presentation quality graphics • SAS/OR  Operations research • SAS/ETS  Econometrics and Time Series Analysis • SAS/IML  interactive matrix language • SAS/AF  applications facility (menus and interfaces) • SAS/QC  quality control There are other specialized products for spreadsheets, access to databases, connectivity between different machines running SAS, etc. 3 Resources: Introductory Books Mastering the SAS System , 2nd Edition, by Jay A. Jaffe, Van Nostrand Reinhold Quick Start to Data Analysis with SAS , by Frank C. DiIorio and Kenneth A. Hardy, Duxbury Press. How SAS works: a comprehensive introduction to the SAS System , by P.A. Herzberg, SpringerVerlag Applied statistics and the SAS programming language , by R.P. Cody, NorthHolland, New York The bulk of SAS documentation is available online, at http://support.sas.com/documentation/onlinedoc/index.html . A catalog of printed documentation available from SAS can be found at http://support.sas.com/publishing/index.html . 4 Online Resources Online help: Type help in the SAS display manager input window. Sample Programs, distributed with SAS on all platforms. SAS Institute Home Page: http://www.sas.com SAS Institute Technical Support: http://support.sas.com/resources/ Searchable index to SASL, the SAS mailing list: http://www.listserv.uga.edu/archives/sasl.html Usenet Newsgroup (equivalent to SASL): comp.softsys.sas Michael Friendly’s Guide to SAS Resources on the Internet: http://www.math.yorku.ca/SCS/StatResource.html#SAS Brian Yandell’s Introduction to SAS: http://www.stat.wisc.edu/~yandell/software/sas/intro.html 5 Basic Structure of SAS There are two main components to most SAS programs  the data step(s) and the procedure step(s). The data step reads data from external sources, manipulates and combines it with other data set and prints reports. The data step is used to prepare your data for use by one of the procedures (often called “procs”). SAS is very lenient about the format of its input  statements can be broken up across lines, multiple statements can appear on a single line, and blank spaces and lines can be added to make the program more readable....
View Full
Document
 Spring '10
 Raman

Click to edit the document details