SAS Programming for R Users, Part 1

SAS Programming for R Users, Part 1

1h 51mBeginner2021-11-11

Authors

Jordan Bakerman

Jordan Bakerman

Instructor, SAS Expert

Course details

SAS is a hugely popular data analytics platform with millions of users. R is the language of big data. In this course, enhance your programming skill set by learning how to apply your understanding of R in the SAS environment. Instructor Jordan Bakerman kicks off the course with an introduction to SAS and SAS Studio. He covers several essential concepts, including how to write a program in SAS Studio, use tasks and snippets, and call R from SAS. He also walks through importing and reporting data, and creating new variables, functions, and data tables.

Learning objectives
SAS University Edition
Working in SAS Studio
Using tasks and snippets in SAS Studio
Determining power using simulation
SAS procedure syntax
Creating datasets manually in the DATA step
Importing raw data files
Creating new variables and conditional processing
Match-merging data sets

Skills covered

SASStatisticsPersonaProgramming LanguagesData ScienceSoftware Development

Concepts

Introduction

  • Welcome

Introduction and Working in SAS

  • Introduction to SAS and SAS Studio
  • Demo - Working in SAS Studio
  • Demo - Writing a program in SAS Studio
  • Demo - Using tasks and snippets in SAS Studio
  • Demo - Bayesian Logistic Regression
  • Demo - Poker simulation
  • Demo - Determining power using simulation
  • Demo - Calling R from SAS
  • SAS libraries and user-defined libraries
  • SAS procedure syntax
  • Getting programming help
  • Demo - Navigating the online documentation

Importing and Reporting Data

  • Creating datasets manually in the DATA step
  • Demo - Creating and viewing the data table
  • Importing raw data files
  • Demo - Importing data
  • Reporting data
  • Enhanced reporting - Labels and formats
  • The FORMAT statement
  • Demo - Labels, formats, and informats

Creating New Variables, Functions, and Data Tables

  • Creating new variables and conditional processing
  • Conditionally creating variables with a DO group
  • Using SAS functions
  • Using SAS functions on character data
  • Demo - SAS function documentation
  • Creating functions for the DATA step
  • Subsetting data
  • Concatenating data sets
  • Match-merging data sets
40,000 Toman