Requirements: |
At least one TABLE statement is required.
|
Requirements: |
Depending on the variables that appear
in the TABLE statement, a CLASS statement, a VAR statement, or both are required.
|
Tip: |
Supports the Output Delivery System. See How Does ODS Work? in
SAS Output Delivery System: User's Guide for details.
|
Tip: |
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. See
Global Statements for a list.
|
Table of Contents: |
The TABULATE Procedure
|
PROC TABULATE <option(s)>;
|
BY <DESCENDING>
variable-1
<...<DESCENDING> variable-n>
<NOTSORTED>;
|
|
CLASS variable(s) </
options>;
|
|
CLASSLEV variable(s)
/ STYLE=<style-element-name | PARENT> <[style-attribute-specification(s)] >;
|
|
KEYLABEL keyword-1='description-1'
<...keyword-n='description-n'>;
|
|
KEYWORD keyword(s) /
STYLE=<style-element-name | PARENT> <[style-attribute-specification(s)] >;
|
|
TABLE <<page-expression,> row-expression,> column-expression</ table-option(s)>;
|
|
VAR analysis-variable(s)</
options>;
|
|
Task |
Statement |
Display descriptive statistics in tabular format |
PROC TABULATE
|
Create a separate table for each BY group |
BY
|
Identify variables in the input data set as class variables |
CLASS
|
Specify a style for class variable level value headings |
CLASSLEV
|
Identify a variable in the input data set whose values
represent the frequency of each observation |
FREQ
|
Specify a label for a keyword |
KEYLABEL
|
Specify a style for keyword headings |
KEYWORD
|
Describe the table to create |
TABLE
|
Identify variables in the input data set as analysis
variables |
VAR
|
Identify a variable in the input data set whose values
weight each observation in the statistical calculations |
WEIGHT
|
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.