IMSTAT Procedure (Analytics)

Example 6: Performing a Pairwise Correlation

Details

This PROC IMSTAT example demonstrates how to perform a pairwise correlation for all the numeric variables in the Iris data set.

Program

libname example sasiola host="grid001.example.com" port=10010 tag='hps';

data example.iris; 
    set sashelp.iris;
run;

proc imstat data=example.iris;
   corr; 
quit;

Output

The output does not display a correlation matrix in the statistical sense. It is a collection of pairwise correlations.
Pairwise Correlations for the Iris data set