![]() Chapter Contents |
![]() Previous |
![]() Next |
The FREQ Procedure |
The following statements are available in PROC FREQ.
The PROC FREQ statement is the only required statement for the FREQ procedure. If you specify the following statements, PROC FREQ produces a one-way frequency table for each variable in the most recently created data set.
proc freq; run;
The rest of this section gives detailed syntax information for the BY, EXACT, OUTPUT, TABLES, TEST, and WEIGHT statements in alphabetical order after the description of the PROC FREQ statement. Table 28.3 summarizes the basic functions of each statement.
Table 28.3: Summary of PROC FREQ StatementsStatement | Description |
BY | calculates separate frequency or crosstabulation tables for each BY group. |
EXACT | requests exact tests for specified statistics. |
OUTPUT | creates an output data set that contains specified statistics. |
TABLES | specifies frequency or crosstabulation tables and requests tests and measures of association. |
TEST | requests asymptotic tests for measures of association and agreement. |
WEIGHT | identifies a variable with values that weight each observation. |
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.