SAS Programming for R Users, Part 2
2h 2mIntermediate2021-11-15
Authors

Jordan Bakerman
Instructor, SAS Expert
Course details
SAS Programming for R Users explores how you can apply your understanding of R—the language of big data—in the SAS environment. In this course, Jordan Bakerman walks through essential SAS programming concepts. To begin, he discusses random number generation and plotting, including how to create standard R plots and enhance the plot. He then dives into a discussion of descriptive procedures, Output Delivery System (ODS), and macros, sharing how to create data tables with ODS, create macro programs with macro statements, and more. To get the most from this course, make sure to watch SAS Programming for R Users, Part 1.
Learning objectives
Random number generation
Plotting with the SGPLOT procedure
Enhancing the plot
CORR, FREQ, and MEANS procedures
Selecting output to print and suppress
Manually creating global macro variables
Creating macro programs with parameters and macro statements
Learning objectives
Random number generation
Plotting with the SGPLOT procedure
Enhancing the plot
CORR, FREQ, and MEANS procedures
Selecting output to print and suppress
Manually creating global macro variables
Creating macro programs with parameters and macro statements
Skills covered
SASStatisticsPersonaData Science
Concepts
0. Introduction
- 01 - Welcome
1. Random Number Generation and Plotting
- 02 - The DO loop
- 03 - Random number generation
- 04 - Demo - The DO loop and random number generation
- 05 - Plotting with the SGPLOT procedure
- 06 - Demo - Creating standard R plots
- 07 - Enhancing the plot
- 08 - Demo - Enhancing the plot
- 09 - Multi-cell plotting procedures and statements
- 10 - Demo - Multi-cell plotting
2. Descriptive Procedures, Output Delivery System, and Macros
- 11 - The CORR and FREQ procedures
- 12 - The MEANS and UNIVARIATE procedures
- 13 - Demo - Ames home sales data exploration
- 14 - Selecting output to print and suppress
- 15 - Demo - Selecting output with ODS TRACE or the online documentation
- 16 - Saving results to new SAS data sets
- 17 - Demo - Creating data tables with ODS
- 18 - Creating global macro variables - Manually
- 19 - Creating global macro variables - Automating the process
- 20 - Demo - Creating and using macro variables
- 21 - Macro programming
- 22 - Creating macro programs with parameters
- 23 - Creating macro programs with macro statements - A business example
- 24 - Demo - A macro program to generate data, summary statistics, and plots
- 25 - Demo - A macro program for iterative processing
Related courses
- Advanced SAS Programming for R Users, Part 2
- SAS Programming for R Users, Part 1
- Advanced SAS Programming for R Users, Part 1
- R Programming in Data Science: High Variety Data
- SAS® 9.4 Cert Prep: Part 01 SAS Programming Essentials
- SAS® 9.4 Cert Prep: Part 02 Accessing Data
- SAS® 9.4 Cert Prep: Part 07 Using SQL in SAS
- SAS Essential Training: 1 Descriptive Analysis for Healthcare Research