Chapter Contents

Previous

Next
The SUMMARY Procedure

Procedure Syntax


Tip: Supports the Output Delivery System (see Fundamental Concepts for Using Base SAS Procedures )
Reminder: You can use the ATTRIB, FORMAT, LABEL, and WHERE statements. See Statements with the Same Function in Multiple Procedures for details. You can also use any global statements as well. See Global Statements for a list.

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;


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.