Using SAS ERAU Watermark
x
Overview
Using SAS
  • Getting Started
  • Using SAS
  • Resources
Support
  1. Overview
  2. Using SAS

Using SAS

The purpose of this page is to help users understand the basics of using SAS. Please note that while this page will help get you started, it is important that you read all directions in the Canvas module items and course assignments.

The following SYSE courses use SAS Studio:

  • SYSE 515

Be sure to also use the Additional Resources page of this guide to access more in-depth SAS training materials and how-to videos. If you have any questions or concerns, visit the Support page of this guide

Using SAS Studio: Uploading an Excel Data Sheet

The area of this guide is to help you understand how to upload and save an Excel data file in SAS. Doing so will allow you to use the data for any SAS task within SAS Studio. These steps must be completed before your data is ready to use in SAS. Some SYSE courses requires you to perform a t-test with data loaded in SAS. Visit the Performing a t-Test with SAS Studio area of this guide to learn how . Additionally, please refer to your course for any assignment specific directions.

Step 1

SAS Signin Page with username and password inputs and Sign In button Highlighted

Sign in to SAS through the SAS Sign In page.

Step 2

SAS Studio highlighted in Dashboard

Select SAS Studio from your SAS dashboard.

Step 3

SAS Right click dropdown with New > Folder highlighted

Before you upload your Excel file, you'll need to create a folder and library to save your work. Otherwise, you will have to repeatedly upload data every time you open the SAS Studio Interface.

Right click on Files (Home) in the Server Files and Folders section. From the dropdown menu, select New > Folder. A dialog box will open.

Step 4

SAS New Folder window with folder Name filled and Save button highlighted

Name the new folder with your COURSE NUMBER (i.e. SYSE 515). Select Save.

Step 5

SAS right click dropdown opened with Create > Library highlighted

The folder you made will appear under Files (Home). Right click the new folder; from the dropdown menu, select Create > Library. A dialog box will appear.

Step 6

SAS New Library window with library Name input and Re-create this library button checked and highlighted

Fill out the library information as follows:

  • Name: Same name as the folder.
  • Re-create this library at start-up: Make sure this is selected.

Step 7

SAS Server Files and Folders screen with COURSE# folder highlighted

You now have your folder and library set up to be able to save your Excel file as a SAS file (.sas7bdat).

Select your COURSE# folder in the Server Files and Folders section. This will allow you to upload your Excel file into SAS.

Step 8

SAS Server Files and Folders screen with Upload button highlighted

Select the Upload icon.

Step 9

SAS Upload Files window with Choose Files button highlighted

The Upload files textbox shows you the path your document will be saved under.

Select Choose Files. This opens up your device's file explorer. Find and open the Excel file you want to upload.

Step 10

SAS Upload Files window with Upload button highlighted

Select Upload.

Step 11

SAS Server Files and Folders with Files (Home) > COURSE# > data.xlsx highlighted

Open the Files (Home) folder. The Excel file you uploaded will now be listed at the bottom. Double-click it to open it as a new tab in the SAS interface.

Step 12

SAS File Information Screen with Worksheet Name filled out and Change button highlighted

You need to now name the data worksheet you'll use in SAS. Type the name in the textbox and select Change. A dialog box with your SAS libraries will open.

Note: You may need to scroll down or expand the window to see the change button.

Step 13

SAS Save As window with COURSE library Selected and Dataset filled out with Save Button Highlighted

Select the COURSE# library you created.

In the Data set textbox, type the worksheet name.

Then select Save.

Step 14

SAS File Information Screen with Running icon highlighted

You'll see file information open on the right. Select the Run icon in the toolbar. This helps generate a table of the data in SAS.

Step 15

SAS Directory Libraries with My Libraries > Course > TEST highlighted

Open the Libraries directory and open the COURSE# library.

Double-click the name of the .sas7bdat file you saved. This will open your data in the SAS interface.

Step 16

SAS Data Viewer screen with excel data displayed

You can now see your data organized in columns. You can use this data set to perform multiple tasks in SAS. Visit your course for specific information on the necessary tasks you need to complete.

Performing a T-Test with SAS Studio

You must complete the How to Use SAS Studio part of this guide for SYSE courses prior to completing the following steps.

Be sure you refer to your course for assignment specific information. The purpose of this area is to help you perform a t-test using SAS Studio.

Step 1

SAS Libraries directory with My Libraries > Course > Test highlighted

Be sure you are logged into SAS Studio if you haven't already. Open the Libraries directory and open the WORK folder.

Double-click IMPORT to open your data in the SAS interface.

Step 2

SAS Tasks and Utilities with Tasks > Statistics > t Tests highlighted

Your data should be open on the right area of the SAS interface. To perform a task, go to the Tasks and Utilities section.

Open Tasks > Statistics. Double-click t Test to open the statistics task interface.

Step 3

SAS Toolbar Data with table icon highlighted

You need to load your data into the t-Test interface. Select the Table icon to open your SAS libraries.

Step 4

SAS Toolbar Data with Roles t-test dropdown highlighted

Under Roles > t test, choose Two-sample test from the dropdown.

Step 5

SAS Toolbar Data with Plus icon next to analysis variable highlighted

Two boxes for Analysis variable and Groups variable will appear. Next to Analysis variable, select the Plus icon. A dialog box will open.

Step 6

SAS Columns window with Group and OK button highlighted

Pick which column from your data that you want for the Analysis variable.

Select OK.

Step 7

Repeat Step 5 and Step 6 for Groups variable.

Step 8

SAS Toolbar options with Tails set as Two-Tailed test

Select Options and under Tails, be sure Two-tailed test is selected.

Step 9

SAS Toolbar with Run Icon Highlighted

You are now ready to run the t-test. Select the Run icon in the toolbar. A dialog box will open.

Step 10

SAS Data Results Tab with Icons alphabetically labeled

Once you've run the test, your results will appear in the right side of the SAS interface. You can export your results by selecting the following icons:

  1. HTML File: Use this if you are familiar with HTML files and want to share it with HTML coding.
  2. PDF File: Use this if you want to share the results in a static document on its own.
  3. Microsoft Word File: Use this if you want to be able to embed tables, graphs, and other data within a paper. This provides image copies of SAS results.
  4. Email: Allows you to email the files.

Performing a linear regression with SAS Studio

You must complete the How to Use SAS Studio for SYSE courses part of this guide prior to completing the following steps.

Be sure you refer to your course for assignment specific information. The purpose of this area is to help you perform a linear regression using SAS Studio.

Step 1

SAS Libraries Directory with My Libraries > COURSE > TEST highlighted

Be sure you are logged into SAS Studio if you haven't already. Open the Libraries directory and open the WORK folder.

Double-click IMPORT to open your data in the SAS interface.

Step 2

SAS Tasks and Utilities directory with Tasks > Linear Models > Linear Regression highlighted

Your data should be open on the right area of the SAS interface. To perform a task, go to the Tasks and Utilities section.

Open Tasks > Linear Models. Double-click Linear Regression to open the statistics task interface.

Step 3

SAS Data import tab with table icon highlighted

You need to load your data into the linear regression interface. Select the Table icon to open your SAS libraries.

Step 4

SAS Roles with plus icon highlighted

Next to Dependent variable, select the Plus icon. A dialog box will open.

Step 5

SAS Role Columns with Income($, 000s) highlighted

Pick which column from your data that you want for the dependent variable. Select OK.

Step 6

SAS Data import tab with continuous variables' plus icon highlighted

Scroll to Continuous Variables and select the Plus icon. A dialog box will open.

Step 7

SAS Columns with Education(years) highlighted

Pick which column from your data that you want for the continuous variable. Select OK.

Step 8

SAS Model tab with model effects' Edit button highlighted

Select Model and then select the Edit icon. A dialog box will open.

Step 9

SAS Model Effects Builder with Variables and effects highlighted and labeled numerically

Follow the steps below:

  1. Under variables, select the continuous variable you identified in Step 8.
  2. Select Add to move the continuous variable to the model effects side of the model builder.
  3. Verify that your continuous variable is listed under model effects and that Intercept is selected.
  4. Scroll and select OK.

Step 10

SAS Run icon highlighted

You are now ready to run the linear regression. Select the Run icon in the toolbar. A dialog box will open.

Step 11

SAS Data Results Tab with Icons alphabetically labeled

Once you've run the test, your results will appear in the right side of the SAS interface. You can export your results by selecting the following icons:

  1. HTML File: Use this if you are familiar with HTML files and want to share it with HTML coding.
  2. PDF File: Use this if you want to share the results in a static document on its own.
  3. Microsoft Word File: Use this if you want to be able to embed tables, graphs, and other data within a paper. This provides image copies of SAS results.
  4. Email: Allows you to email the files.

Performing a correlation with SAS Studio

You must complete the How to Use SAS Studio for SYSE courses part of this guide prior to completing the following steps.

Be sure you refer to your course for assignment specific information. The purpose of this area is to help you perform a linear regression using SAS Studio.

Step 1

SAS Libraries with My Libraries > COURSE > Test highlighted

Be sure you are logged into SAS Studio. If you haven't already, open the Libraries directory and open the WORK folder.

Double-click IMPORT to open your data in the SAS interface.

Step 2

SAS Tasks and Utilities directory with Tasks > Statistics > Correlation Analysis highlighted

Your data should be open on the right area of the SAS interface. To perform a task, go to the Tasks and Utilities section.

Open Tasks > Statistics. Double-click Correlation Analysis to open the correlation task interface.

Step 3

SAS Data import with table icon highlighted

You need to load your data into the correlation interface. Select the icon to open your SAS libraries.

Step 4

SAS ROLEs with plus icon highlighted

Next to Analysis variables, select the icon. A dialog box will open.

Step 5

SAS Columns with Income($, 000s) and OK button highlighted

Pick which column from your data that you want for the analysis variable. It doesn't matter which variable you choose, the results will be the same. Select OK.

Step 6

SAS Correlate with Plus icon highlighted

Scroll to Correlate with and select the icon. A dialog box will open.

Step 7

SAS Columns with Education(years) and OK button highlighted

Pick which column from your data that you want for the correlate with option. It doesn't matter which variable you choose, the results will be the same. Select OK.

Step 8

SAS Running man icon highlighted

You are now ready to run the correlation analysis. Select the icon in the toolbar. A dialog box will open.

Step 9

SAS Results tab with export icons alphabetically labeled

Once you've run the test, your results will appear in the right side of the SAS interface. You can export you results by selecting the following icons:

  1. HTML File: Use this if you are familiar with HTML files and want to share it with HTML coding.
  2. PDF File: Use this if you want to share the results in a static document on its own.
  3. Microsoft Word File: Use this if you want to be able to embed tables, graphs, and other data within a paper. This provides image copies of SAS results.
  4. Email: Allows you to email the files.

Performing control charts with SAS Studio

You must complete the How to Use SAS Studio for SYSE courses part of this guide prior to completing the following steps.

Be sure you refer to your course for assignment specific information. The purpose of this area is to help you perform a linear regression using SAS Studio.

Step 1

SAS Libraries directory with My Libraries > Course > Test highlighted

Be sure you are logged into SAS Studio if you haven't already. Open the Libraries directory and open the WORK folder.

Double-click IMPORT to open your data in the SAS interface.

Step 2

SAS Directory with data file highlighted

Ensure the data file you intend to use is updated

Step 3

SAS Tasks and Utilities Directory with Control Charts highlighted

Select Tasks and Utilities, then select Control Charts.

Step 4

SAS Data import tab with data dropdown properly filled

Ensure the correct data is uploaded to the chart.

Step 5

SAS DATA tab with filter set to Sort data before chart creation

Select Sort data before chart creation.

Step 6

SAS ROLEs with Process variable plus highlighted

Select the + next to Process Variable.

Step 7

SAS Columns with sampleValue and OK button highlighted

Select sampleValue from the list, then select OK.

Step 8

SAS ROLES with Subgroup variable plus highlighted

Select the + next to Subgroup Variable.

Step 9

SAS Columns with test# and OK button highlighted

Select test# from the list, then select OK.

Step 10

SAS Options tab highlighted

Select the Options button. Select any options you wish to apply to the chart.

Step 11

SAS Run icon highlighted

When you are ready to create the charts, select the Run icon.

Results

SAS Results tab with export icons alphabetically labeled

Once you've run the test, your results will appear in the right side of the SAS interface. You can export you results by selecting the following icons:

  1. HTML File: Use this if you are familiar with HTML files and want to share it with HTML coding.
  2. PDF File: Use this if you want to share the results in a static document on its own.
  3. Microsoft Word File: Use this if you want to be able to embed tables, graphs, and other data within a paper. This provides image copies of SAS results.
  4. Email: Allows you to email the files.

Back to Top
Back to Top

© Copyright 2025 All rights are reserved. The material contained herein is the copyright property of Embry-Riddle Aeronautical University, Daytona Beach, Florida, 32114. No part of this material may be reproduced, stored in a retrieval system or transmitted in any form, electronic, mechanical, photocopying, recording or otherwise without the prior written consent of the University.

ERAU Eagle

This page was last updated September 16, 2025