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 variable is not an
integer, then SAS truncates it. If variable is less than 1 or is missing, then the
procedure does not use that observation to calculate statistics. If a FREQ statement
does not appear, then each observation has a default frequency of 1.
The sum of the frequency variable represents the total number of observations.
Procedures That Support the FREQ Statement
•CORR
•MEANS or SUMMARY
•REPORT
•STANDARD
•TABULATE
•UNIVARIATE
Example
The data in this example represents a ship's course ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.