SAS Programming for R Users, Part 2

0
Join & Subscribe
LinkedIn Learning
Free Trial Available
English
Certificate Available
2-3 hours worth of material
selfpaced

Overview

Discover how to apply your understanding of R—the language of big data—in the SAS environment. To get the most from this course, make sure to watch part 1 of this series.

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.

Note: You can visit the SAS site to obtain a copy of the software, and use the companys online data sets to do the course exercises.

Syllabus

Introduction
  • Welcome
1. Random Number Generation and Plotting
  • The DO loop
  • Random number generation
  • Demo: The DO loop and random number generation
  • Plotting with the SGPLOT procedure
  • Demo: Creating standard R plots
  • Enhancing the plot
  • Demo: Enhancing the plot
  • Multi-cell plotting procedures and statements
  • Demo: Multi-cell plotting
2. Descriptive Procedures, Output Delivery System, and Macros
  • The CORR and FREQ procedures
  • The MEANS and UNIVARIATE procedures
  • Demo: Ames home sales data exploration
  • Selecting output to print and suppress
  • Demo: Selecting output with ODS TRACE or the online documentation
  • Saving results to new SAS data sets
  • Demo: Creating data tables with ODS
  • Creating global macro variables: Manually
  • Creating global macro variables: Automating the process
  • Demo: Creating and using macro variables
  • Macro programming
  • Creating macro programs with parameters
  • Creating macro programs with macro statements: A business example
  • Demo: A macro program to generate data, summary statistics, and plots
  • Demo: A macro program for iterative processing

Taught by

Jordan Bakerman