From the course: SAS Programming for R Users, Part 1

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

SAS procedure syntax

SAS procedure syntax

- [Instructor] We'll call procedures the umbrella term. This is what carries out the global analysis. So, for example, we worked with PROC MCMC to do our Bayesian analysis, and we worked with PROC IML to do our matrix simulation. SAS statements contain keywords that request SAS perform an operation or give information to the system, but just think of them as additional arguments to your procedure. And of course they always end with a semicolon. SAS options are additional arguments, and they are specific to SAS statements. Now, unfortunately there's no hard and fast rule that I can give you to say what is a statement versus what is an option. It comes with a little bit of experience which I think you'll pick up as this series progresses. But options can be used to do the following. We can generate additional output like results and plots, and you'll notice the syntax here is from the MCMC procedure I ran earlier, and the plots equal to all option is actually telling SAS to generate all…

Contents