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. 

Scholarly Commons

Scholarly Commons's picture
Scholarly Commons
Contact:
306 Main Library
Drop-ins welcome
Monday-Friday 8:30am-6:00pm
Phone: 217-244-1331
Website