O'Reilly logo

A Step-by-Step Approach to Using SAS® for Univariate & Multivariate Statistics, Second Edition by Edward J. Stepanksi Ph.d., Larry Hatcher, Norm O'Rourke

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Computing Bivariate Correlations with PROC CORR

In most studies in which data are analyzed using multiple regression, it is appropriate to begin by computing all possible correlations among the study’s variables. Reviewing these correlations will help you understand the big picture concerning the simple relationships between the criterion variable and the four predictor variables as well as among the four predictor variables themselves.

Writing the Program

Following is the general form for the SAS statements that will compute all possible correlations among the variables being investigated. (Because detailed information concerning use of the CORR procedure is in Chapter 6, most of that information is not repeated here.)

PROC CORR DATA=dataset-name; ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required