From the course: SAS Programming for R Users, Part 2
Unlock this course with a free trial
Join today to access over 22,600 courses taught by industry experts.
Selecting output to print and suppress - SAS Tutorial
From the course: SAS Programming for R Users, Part 2
Selecting output to print and suppress
- [Narrator] In this section, I want to show you how to customize your PROC Step output, specifically return only specific tables and graphics, and also how do we create new tables from Proc Step results? In R, we typically go ahead and create a model object and then we can print the default output. We can also pull fields from the object like the names or the residuals and so on. And then we can create data frames from those fields. So in this section, the SAS equivalent is, pulling fields from an object to customize your results. So to first customize our results, we need to talk about the Output Delivery System, or ODS. Now procedures in data sets simply produce raw data. So for example, when I run the core procedure, PROC core only produces that values, for in this case, 1.63,.38, and so one. It's the output delivery system that actually provides structure to the table, color, titles, headings, and so on. Why is this important? Well, we can actually get inside the output delivery…
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
-
-
-
-
The CORR and FREQ procedures4m 47s
-
(Locked)
The MEANS and UNIVARIATE procedures3m 22s
-
(Locked)
Demo: Ames home sales data exploration4m 15s
-
(Locked)
Selecting output to print and suppress2m 45s
-
(Locked)
Demo: Selecting output with ODS TRACE or the online documentation3m 45s
-
(Locked)
Saving results to new SAS data sets2m 22s
-
(Locked)
Demo: Creating data tables with ODS6m 9s
-
(Locked)
Creating global macro variables: Manually6m 35s
-
(Locked)
Creating global macro variables: Automating the process3m 26s
-
(Locked)
Demo: Creating and using macro variables6m 42s
-
(Locked)
Macro programming3m 56s
-
(Locked)
Creating macro programs with parameters5m 9s
-
(Locked)
Creating macro programs with macro statements: A business example4m 28s
-
(Locked)
Demo: A macro program to generate data, summary statistics, and plots6m 46s
-
(Locked)
Demo: A macro program for iterative processing8m 37s
-