Note: You can visit the SAS site to obtain a copy of the software, and use the company's online data sets to do the course exercises.
- 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
Skill Level Intermediate
- Welcome to SAS Programming for R Users. Graphics, Summary Statistics, and Macros. Creating statistical graphics is vital to understanding presenting your data. In this course, I'll first show you how to create a variety of both single-cell, and multi-cell plots. We'll create everything from histograms to scatter plots inside a single procedure, enhance the presentation of the plot with assortments of statements and options. Once you're comfortable visualizing the data, I'll show you the four go-to procedures for generating summary statistics. Then I'll show you how to save results using the output delivery system. The latter portion of this course examines macro variables and macro programs. By now you've noticed that the scope of variables is specific to the data set that you're working with. What if you want to create a global variable that can be passed to any procedure or data step? In SAS, we use macro variables. Finally, you'll learn how to create macro programs, which you can think of simply as an R function. This will enable you to customize and automate the creation of SAS code. You'll write macro programs that generate and execute data and prog steps automatically based on the parameters you pass to the macro call.