Skip to Main Content

University Library, University of Illinois at Urbana-Champaign

SAS: Home

This guide provides a general overview of the SAS statistical software suite.

What is SAS?

SAS is a statistical software suite that is widely used in industry and academia for tasks related to data management and analysis. To use SAS, the user typically needs to write SAS programs. For most users this means a relatively high learning curve for the software. SAS does provide a graphical user interface which acts as a development environment for SAS code and provides tools for editing and interacting with data and SAS input and output.

Data and Procedure Steps

Every SAS program has two main steps:

  • The data step starts with the keyword "DATA" and is intended mainly for data processing. If a variable needs to be transformed in some way before performing a statistical procedure, this will be accomplished in the DATA step. Most importantly, the DATA step allows users to give their DATA a name that can be referred to in the procedure step.
  • The procedure step, which always starts with the keyword "PROC" allows the user to analyze and visualize data. This step allows tests to be performed, models to be created, and data to be visualized. 

Importing and Viewing your Data

The user interface allows for easy importation, viewing, and editing of data. To import data from a file go to File and click "Import Data." An Import Wizard will help you assign file type, location, and a workspace within SAS, allowing SAS to read the data. Once imported, the data can be viewed and edited by selecting it in the SAS workspace, which is accessible in the Explorer window that makes up the left part of the screen.

SAS Data Import screenshot.

Opening data in the explorer activates a view table window in which data can be viewed and edited cell by cell. This allows the user to easily create a tabular SAS dataset without having to import data from a file in the DATA step.

SAS data explorer

Library Resources

Many of these books are located in the Scholarly Commons Reference Collection in the Main Library. These resources are available to be used in the Scholarly Commons during our open hours and you must have a valid i-Card.

Licensing

Creative Commons License

Except where otherwise indicated, original content in this guide is licensed under a  Creative Commons Attribution (CC BY) 4.0 license. You are free to share, adopt, or adapt the materials. We encourage broad adoption of these materials for teaching and other professional development purposes, and invite you to customize them for your own needs. 

Social Sciences, Health, and Education Library

Profile Photo
Social Sciences, Health, and Education Library
Contact:
SSHEL (Room 101)
Main Library
1408 W. Gregory Dr.
Urbana, IL 61801
General Telephone: (217) 333-2305 Information Services Desk Telephone: (217) 244-1864
Website