In the last lectures I talked about Pearsonís r, which measures the relationship between two continuous (interval or ratio scale) variables.
The Spearman correlation is used when:
1. Measuring the relationship between two ordinal variables.
2. Measuring the relationship between two variables that are related, but not linearly.
Below is an example of some data that is related in a non-linear fashion. For this, we would use the Spearman correlation:
Let's calculate the Spearman correlation for the following data set:
To calculate the Spearman correlation, we must first rank the scores:
We then calculate the correlation using these new ranks:
We find an r of -1.00, meaning that our data has a negative relationship. As x increases, y decreases. As x decreases, y increases.