SAS Workshops and Notes
SAS Workshop Notes
Before the first workshop, please read through a part of the SAS 9.4 Language Reference Concepts, Introduction to the SAS Windowing Environment. Look especially at the section on Main Windows in the SAS Windowing Environment.
SAS Windows and Files, and the SAS Language
There are three main themes to this first part: using the SAS Windows, saving SAS files, and writing programs in the SAS language.
- Starting SAS, Submitting Commands
- SAS Files
- Writing SAS
- Exercise - Windows and Files
- Autosave and WORK files After SAS crashes
Subsets and Merges
- Add variables, Concatenate, Stack data sets
- Nuances and trouble-shooting concatenation
- PROC APPEND and DATASETS
- Concatenate, Merge, and Match-merge
Output Data Sets
Writing SAS Documentation
Some notes on how to write up SAS documentation using Markdown and RMarkdown. This is primarily geared toward writing web pages and PDF handouts that include SAS code, SAS output, and explanatory text.
This same system could be used to produce simple Word documents.
- The SASmarkdown Package
- SAS and R Markdown
- Linking SAS Code Blocks
- HTML Tables and Graphs
- Including SAS Logs
- Cleaning Up SAS Log Output
- SAS LaTeX tables
- SAS National Language Support
- Saving intermediate files
- spinSAS - Markdown in SAS comments
Notes in need of revision: