Chapter Contents

Previous

Next
The FORMS Procedure

FREQ Statement


Treats observations as if they appear multiple times in the input data set.

FREQ variable;


Required Arguments

variable
specifies a numeric variable whose value represents the frequency of each observation. If you use the FREQ statement, the procedure assumes that each observation in the input data set 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 (which includes missing), the procedure does not use that observation.

The sum of the frequency variable represents the total number of observations.


Chapter Contents

Previous

Next

Top of Page

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