SAS Institute. The Power to Know

FOCUS AREAS

Getting Started

ODS Graphics is simple to use. Some procedures even generate the appropriate graphics automatically. All you have to to is to turn on ODS Graphics.

The following statements invokes ODS Graphics for the REG procedure. The ODS HTML statement specifies an HTML destination for the output. The ODS GRAPHICS statement is specified to request ODS Graphics in addition to the usual tabular output. variable.

   ods html;
   ods graphics on;

   proc reg data = sashelp.class; 
      model Weight = Height; 
   run;
   quit;

   ods graphics off;
   ods html close;

PROC REG produces the diagnostics panel displayed below as well as a residual by regressor plot and a model fit plot, as shown in the complete results.



DiagnosticsPanel0.gif (27022 bytes)


Statistics and Operations Research | Quality Improvement