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.
Every SAS program has two main steps:
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.
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.
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.