|
The CORR Procedure |
The CORR procedure is a statistical procedure for numeric random variables that computes Pearson correlation coefficients, three nonparametric measures of association, and the probabilities associated with these statistics. The correlation statistics include
PROC CORR also computes Cronbach's coefficient alpha for estimating reliability.
The default correlation analysis includes descriptive statistics, Pearson correlation statistics, and probabilities for each analysis variable. You can save the correlation statistics in a SAS data set for use with other statistical and reporting procedures.
|
PROC CORR <option(s)>; |
|
To do this |
Use this option |
|
|
Specify the input data set |
DATA= |
|
|
Create output data sets |
|
|
|
|
Specify an output data set to contain Hoeffding's D statistics |
OUTH= |
|
|
Specify an output data set to contain |
OUTK= |
|
|
Specify an output data set to contain Pearson correlations |
OUTP= |
|
|
Specify an output data set to contain Spearman correlations |
OUTS= |
|
Control statistical analysis |
|
|
|
|
Exclude observations with nonpositive weight values from the analysis |
EXCLNPWGT |
|
|
Request Hoeffding's measure of dependence, D |
HOEFFDING |
|
|
Request |
|
|
|
Request Pearson product-moment correlation |
PEARSON |
|
|
Request Spearman rank-order correlation |
SPEARMAN |
|
Control Pearson correlation statistics |
|
|
|
|
Compute Cronbach's coefficient alpha |
ALPHA |
|
|
Compute covariances |
COV |
|
|
Compute corrected sums of squares and crossproducts |
CSSCP |
|
|
Exclude missing values |
NOMISS |
|
|
Specify singularity criterion |
SINGULAR= |
|
|
Compute sums of squares and crossproducts |
SSCP |
|
|
Specify the divisor for variance calculations |
VARDEF= |
|
Control printed output |
|
|
|
|
Specify the number and order of correlation coefficients |
BEST= |
|
|
Suppress Pearson correlations |
NOCORR |
|
|
Suppress all printed output |
NOPRINT |
|
|
Suppress significance probabilities |
NOPROB |
|
|
Suppress descriptive statistics |
NOSIMPLE |
|
|
Change the order of correlation coefficients |
RANK |