Use the Frequency transformations
to produce oneway to nway frequency and contingency (crosstabulation)
tables. The Frequency transformations are based on the FREQ procedure,
which generates frequency statistics. For more information about this
procedure, see "The FREQ Procedure" section in
Base SAS
Procedures Guide.
There are two Frequency
transformations: Frequency and OneWay Frequency. The Frequency transformation
uses PROC FREQ to compute statistics for complex tests, measures of
association, and stratified analysis of oneway to
nway tables. The OneWay Frequency transformation
is used for simpler PROC FREQ analysis on oneway tables to examine
the relationship between two classification variables. It can also
be used to compute statistics for equal proportions, specified proportions,
or the binomial proportion. The OneWay Frequency transformation also
has a subset of the options available for the Frequency transformation.
Both Frequency transformations
control many aspects of the analysis, including the following:

grouping of rows by the values
in one or more columns

how the rows appear in the report

which column or columns are analyzed
You can use the Frequency
transformations to generate frequency statistics in a target and on
the
Output tab of the Job Editor. ODS output
in the form of HTML, PDF, or RTF can be sent to a folder on the SAS
Application Server that executes the job. ODS output can also be sent
to any folder with access to that SAS Application Server.
The target receives
data only for the source columns that are involved in the analysis.
The target requires two columns that either Frequency transformation
populates:
Count receives the total number
of occurrences in a category, and
Percent receives the percentages for each category.
You can specify grouping
columns in the Frequency transformations. When you do this, a SAS
BY statement orders target rows according to the values in the grouping
columns. The Frequency transformations require that grouping columns
be sorted in ascending order in the source. If you specify grouping
columns, you can sort those columns before the Frequency transformation
using a SAS Sort transformation.