It only can be used for data which can be correlation coefficient formula pdf in order, such as highest to lowest. We are going to use the example from the intro of computers and their speed.
Then, it goes up until it is all ranked. You have to do this to both sets of data. Then, you multiply the difference by itself, which is called squaring. Count how much data we have. This data has ranks 1 to 5, so we have 5 pieces of data. The formula says multiply it by 6, which is 24. Therefore, Spearman’s rank correlation coefficient is 0.
8 for this set of data. This scatter graph has positive correlation. The red line is a line of best fit. 1 is a very strong link, 0 is no link, and 1 is also a very strong link. 1 is a negative correlation.