Chapter Contents

Previous

Next
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, the procedure assumes that each observation represents n observations, where n is the value of variable. If n is not an integer, the SAS System truncates it. If n is less than 1 or is missing, 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.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.