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 Tutorial
From the course: SAS Programming for R Users, Part 1
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
Introduction to SAS and SAS Studio3m 12s
-
(Locked)
Demo: Working in SAS Studio3m 40s
-
(Locked)
Demo: Writing a program in SAS Studio5m 44s
-
(Locked)
Demo: Using tasks and snippets in SAS Studio5m 47s
-
Demo: Bayesian Logistic Regression7m 14s
-
(Locked)
Demo: Poker simulation4m 37s
-
(Locked)
Demo: Determining power using simulation3m 15s
-
(Locked)
Demo: Calling R from SAS2m 15s
-
(Locked)
SAS libraries and user-defined libraries4m 27s
-
(Locked)
SAS procedure syntax1m 24s
-
(Locked)
Getting programming help53s
-
(Locked)
Demo: Navigating the online documentation2m 49s
-
-
-