Correlation coefficients provide a numerical summary of the direction and strength of the linear relationship between two variables. The two main correlation coefficients are:
- Pearson product-moment correlation: for continuous variables, or one continuous variable and one dichotomous variable.
- Spearman rho: for ordinal level or ranked data.
The sign of the correlation coefficient indicates the direction of the correlation: a positive correlation indicates that as one variable increases, so does the other; a negative correlation indicates that as one variable increases, the other decreases. The strength of the relationship is given by the numeric value: 1 indicates a perfect relationship; 0 indicates no relationship between the variables.