Correlation Analysis Sas. Example 26 1 canonical correlation analysis of fitness club data. The correlation coefficient allows researchers to determine if there is a possible linear relationship between two variables measured on the same subject or entity.
In layman s terms correlation exists when two variables have a linear relationship beyond what is expected by chance alone. Pearson correlation coefficients these numbers measure the strength and direction of the linear relationship between the two variables. This guide contains written and illustrated tutorials for the statistical software sas.
In sas pearson correlation is included in proc corr.
The correlation coefficient can range from 1 to 1 with 1 indicating a perfect negative correlation 1 indicating a perfect positive correlation and 0 indicating no correlation at all. Correlation analysis can be performed on the working series by specifying the outcorr option or one of the plots options that are associated with correlation. When there are missing values in the analysis variables the pearson correlation coefficients table in output 2 2 4 displays the correlation the value under the null hypothesis of zero correlation and the number of observations for each pair of variables. The relationship is described by calculating correlation coefficients for the variables.