Previous Page | Next Page

The REPORT Procedure

FREQ Statement


Treats observations as if they appear multiple times in the input data set.
Tip: The effects of the FREQ and WEIGHT statements are similar except when calculating degrees of freedom.
See also: For an example that uses the FREQ statement, see Example

FREQ variable;


Required Arguments

variable

specifies a numeric variable whose value represents the frequency of the observation. If you use the FREQ statement, then the procedure assumes that each observation represents n observations, where n is the value of variable. If n is not an integer, then SAS truncates it. If n is less than 1 or is missing, then the procedure does not use that observation to calculate statistics.


Frequency Information Is Not Saved

When you store a report definition, PROC REPORT does not store the FREQ statement.

Previous Page | Next Page | Top of Page