Syntax: SUMMARY Procedure


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 ;

PROC SUMMARY Statement

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

VAR Statement

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.




Base SAS 9.1.3 Procedures Guide (Vol. 1)
Base SAS 9.1 Procedures Guide, Volumes 1, 2, 3 and 4
ISBN: 1590472047
EAN: 2147483647
Year: 2004
Pages: 260

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net