CORRELATION Procedure
FREQ Statement
FREQ variable;
The variable in the FREQ statement identifies a numeric variable in the input data table that contains the frequency of occurrence of each observation. PROC CORRELATION treats each observation as if it appears f times, where f is the value of the FREQ variable for the observation. If f is not an integer, it is truncated to an integer. If f is less than 1 or missing, the observation is not used in the analysis. When you omit the FREQ statement, each observation is assigned a frequency of 1.
The effects of the FREQ and WEIGHT statements are similar except when n is not an integer and when degrees of freedom are calculated.
Last updated: June 22, 2026