October 2009
Beginner
636 pages
13h 35m
English
Before you can appreciate the wonder of ODS, you need to see where we're starting from. The series of simple procedures in the following example describe some sales data. There's a PROC FREQ step, a PROC UNIVARIATE step, and a PROC PRINT step that lists some outliers in the sales data.
options formdlim=' ';
title "Frequencies";
proc freq data=sales;
table ProductName Department;
run;
title "Univariate";
proc univariate data=sales;
var ItemsSold;
run;
title "Outliers for Price";
proc print data=sales;
where ItemPrice>13;
var ItemPrice;
run;
The procedures have been run in SAS 9.2, producing Figure. 1.1. Because the program processes three different procedures, the resulting output is a series of three reports. ...
Read now
Unlock full access