The following statements are available in the FREQ procedure:
PROC FREQ
< options > ;
BY
variables ;
EXACT
statistic-options < / computation-options > ;
OUTPUT
<OUT=SAS-data-set > output-options ;
TABLES
requests < / options > ;
TEST
options ;
WEIGHT
variable < / option > ;
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;
Table 40.3 summarizes the basic functions of the procedure statements. The following sections provide detailed syntax information for the BY, EXACT, OUTPUT, TABLES, TEST, and WEIGHT statements in alphabetical order after the description of the PROC FREQ statement.