CORRELATION Procedure
WEIGHT Statement
WEIGHT variable;
The variable in the WEIGHT statement is used in the calculation of Pearson weighted product-moment correlations.
Observations that have missing weights are excluded from the analysis. By default, for observations that have nonpositive weights, weights are set to 0 and the observations are included in the analysis. You can use the EXCLNPWGT option to exclude observations that have negative or zero weights from the analysis. If a WEIGHT statement is not included, all observations that are used in the analysis are assigned a weight of 1.
Last updated: June 22, 2026