For the pearson correlation an absolute value of 1 indicates a perfect linear relationship.
How to read correlation matrix.
A correlation matrix conveniently summarizes a dataset.
The value of r is always between 1 and 1.
To interpret its value see which of the following values your correlation r is closest to.
An example of a correlation matrix.
Typically a correlation matrix is square with the same variables shown in the rows and columns.
What is pearson s correlation coefficient.
When to use a correlation matrix.
Key decisions to be made when creating a correlation matrix include.
A correlation close to 0 indicates no linear relationship between the variables.
And sometimes a correlation matrix will be colored in like a heat map to make the correlation coefficients even easier to read.
A perfect downhill negative linear relationship.
Create your own correlation matrix.
Matrices correlation matrix.
In practice a correlation matrix is commonly used for three reasons.
Choice of correlation statistic coding of the variables treatment of missing data and presentation.
What is a correlation matrix.
The correlation coefficient can range in value from 1 to 1.
The larger the absolute value of the coefficient the stronger the relationship between the variables.
You may find it helpful to read this article first.
Correlation matrix with significance levels p value the function rcorr in hmisc package can be used to compute the significance levels for pearson and spearman correlations it returns both the correlation coefficients and the p value of the correlation for all possible pairs of columns in the data table.