The SAS Programming Course for Absolute Beginners (Part 1) is a jargon-free, easy-to-learn SAS base course that is tailor-made for students with no prior programming experience.
It enables students to easily learn SAS from scratch by using our step-by-step tutorials and applying what they learn in our real-time exercises.
Upon completion, students are able to perform simple data set creation and data import/export using SAS.
This course is a flagship course that has been taken by more than 5,000 students since its launch in 2012.
It was refreshed in early 2021 with updated content, enabling students to easily learn SAS using SAS OnDemand for Academics.
Note: this is Part 1 of the SAS Programming Course for Absolute Beginners. For Part 2, please click here.
Below are the six lessons covered in this course:
Lesson 1: Introduction to SAS
This introductory lesson gives you an overview of the SAS software. It covers navigation of the SAS interface, coding and Log area, Results Viewer, SAS libraries, data set creation and navigation, creating numeric and character variables, data sets with multiple observations, subsetting a data set using a conditional statement, accessing data from external sources, and exporting data to Excel, CSV and text files. This is a very rich lesson tailor-made for students who have absolutely no SAS background.
Lesson 2: SAS Functions
SAS functions are essential to SAS programming. They allow you to manipulate data any way you want it. This lesson covers the most commonly used SAS functions such as Sum, Min, Max, Mean, mathematical operators, Rand, Round, Floor, Substr, Length, Trim, Cat, Catt, Index, Indexc, Upcase, Lowcase, Propcase, Rename/Keep/Drop statements, as well as the If-then-else statement. Upon completion of the lesson, you will be capable of performing many common data manipulation tasks required of a SAS programmer.
Lesson 3: Variable Attributes
Each SAS variable has six attributes. Understanding these attributes is crucial when manipulating data. In this lesson, you will learn the six attributes, which are Name, Label, Type, Length, Format and Informat. You will also learn how to view the descriptor portion of the data set using the CONTENTS procedure. Using common formats such as W.D, Comma and Dollar to change the display of the data is also covered. Lastly, you will learn how to handle date values in SAS, which is crucial when dealing with real-life data.
Lesson 4: Data Manipulations
Data manipulation tasks will take up, on average, 60% of your SAS program code. It is therefore essential to have the key data manipulation skills when dealing with data. In this lesson, you will learn to perform tasks such as data set sorting, concatenation and merging data sets, removing duplicate records, flagging extreme values, transposing data sets and using the (+) expression to perform summary statistics. Upon completion of this lesson, you will be a highly efficient SAS programmer.
Lesson 5: Data Analysis
SAS is designed for data analysis tasks, and provides many data analytics techniques that allow you to perform all kinds of analysis, as well as inspecting the results. In this lesson, you will learn how to perform simple data analysis using the MEANS, FREQ and UNIVARIATE procedures. You will also learn how to perform a normality test, analyze results from different segments and classification variables, plotting histograms, and n-way cross-tabulation tables. By the end of the lesson, you will have learned all the preliminary data analytics techniques required to understand your data.
Lesson 6: Statistical Analysis
Advanced statistical testing allows you to draw conclusions about your data. In this lesson, you will learn how to perform a one-sample t-test, paired t-test, two-sample t-test, chi-square test, Fisher exact test, correlation analysis and regression analysis. You will be able to analyze your data at a deeper level and make business decisions based on the statistical analysis results.