Tip: Supports the Output Delivery System. See Output Delivery System on page 32 for details.
ODS Table Name : Summary
Reminder: You can use the ATTRIB, FORMAT, LABEL, and WHERE statements. See Chapter 3, Statements with the Same Function in Multiple Procedures, on page 57 for details. You can also use any global statements. See Global Statements on page 18 for a list.
Reminder: Full syntax descriptions are in Syntax: MEANS Procedure on page 526.
PROC SUMMARY < option(s) >< statistic-keyword(s) >;
BY <DESCENDING> variable-1 < <DESCENDING> variable-n >
<NOTSORTED>;
CLASS variable(s) </ option(s) >;
FREQ variable ;
ID variable(s) ;
OUTPUT <OUT= SAS-data-set >< output-statistic-specification(s) >
< id- group -specification(s) >< maximum-id-specification(s) >
< minimum-id-specification(s) ></ option(s) >;
TYPES request(s) ;
VAR variable(s) </ WEIGHT= weight-variable >;
WAYS list ;
WEIGHT variable ;
PRINT NOPRINT
specifies whether PROC SUMMARY displays the descriptive statistics. By default, PROC SUMMARY produces no display output, but PROC MEANS does produce display output.
Default: NOPRINT
Identifies the analysis variables and their order in the results.
Default: If you omit the VAR statement, then PROC SUMMARY produces a simple count of observations, whereas PROC MEANS tries to analyze all the numeric variables that are not listed in the other statements.
Interaction: If you specify statistics on the PROC SUMMARY statement and the VAR statement is omitted, then PROC SUMMARY stops processing and an error message is written to the SAS log.