Chapter Contents


The CORR Procedure

WITH Statement

Determines the variables to use in conjunction with the VAR statement variables to calculate limited combinations of correlation coefficients.

Restriction: Not valid with the ALPHA option.
Featured in: Computing Rectangular Correlation Statistics with Missing Data

WITH variable(s);

Required Argument

lists one or more variables to obtain correlations for specific combinations of variables. The WITH statement variables appear down the side of the correlation matrix and the VAR statement variables appear across the top of the correlation matrix. PROC CORR computes the following correlations for the VAR statement variables A and B and the WITH statement variables X, Y, and Z:

X and A X and B
Y and A Y and B
Z and A Z and B

Chapter Contents



Top of Page

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