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 35.3 summarizes the basic function of each PROC FREQ statement.
Statement |
Description |
---|---|
provides separate analyses for each BY group |
|
requests exact tests |
|
requests an output data set |
|
specifies tables and requests analyses |
|
requests tests for measures of association and agreement |
|
identifies a weight variable |
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.