PROC CORR Statement Options
Enter SAS PROC CORR options in this field to override default parameters for computing the correlation.
You can specify any PROC CORR option using the following syntax:
Option
where:
• | OPTION is the PROC CORR option. |
Examples of commonly used PROC CORR options are listed in the following table:
Option |
Definition |
BEST=n |
This option outputs the highest correlation coefficients for each variable. Correlations are ordered from highest to lowest in absolute value. Otherwise, PROC CORR prints correlations in a rectangular table, using the variable names as row and column labels. |
COV |
This option displays the variance and covariance matrix. When you specify the COV option, the Pearson correlations are also displayed. |
NOCORR |
This option suppresses displaying of Pearson correlations. |
NOMISS |
This option excludes observations with missing values from the analysis. |
NOPRINT |
This option suppresses all displayed output. Use the NOPRINT option if you want to create an output data set only. |
NOPROB |
This option suppresses displaying the probabilities associated with each correlation coefficient. |
RANK |
This option displays the ordered correlation coefficients for each variable. Correlations are ordered from highest to lowest in absolute value. Note: If you specify the Hoeffding coefficient, the statistics are displayed in order from highest to lowest. |
To Specify One or More PROC CORR Options:
8 | Type specific PROC CORR options in the PROC CORR Statement Options field. |
8 | Separate individual options with a space. |
For Additional Information
Refer to the SAS PROC CORR documentation for more information.