You need to log-in or subscribe in order to use Student access.

Spearman Rank Correlation

Spearman’s rank correlation is a measure of the association between two variables. It has a value between -1 and 1. This calculation does not require your data to be normally distributed.

When to use

  • You want to know whether two numerical variables are linearly correlated.
  • Your data is ordinal or continuous (see Types of Data for more information).
  • Your data has outliers (see Outliers in your Data for more information).
  • Your data is linked (paired) – each value of your independent variable has a matching value for the dependent variable (like X-Y coordinates).

Features

Spearman’s rank correlation can evaluate a monotonic relationship between two variables (which are continuous or ordinal). It is based on the ranked values for each variable rather than the raw data.

Monotonic means that as one variable increases the other also does OR as one variable increases the other decreases. There does not have to be a linear relationship (as with the Pearson correlation coefficient).

Spearman’s rank correlation is a measure of the association between two variables. It has a value between -1 and 1 where:

  • -1 indicates a perfectly negative linear correlation between the two variables.
  • 0 indicates no linear correlation between the two variables.
  • 1 indicates a perfectly positive linear correlation between the two variables.

Remember that correlation does not imply causation. Just because two variables are strongly correlated this does not mean that one variable causes the other.

An online calculator can be found HERE.

Your Turn

You are investigating the effect of the flow rate of a river on the density of invertebrates. You count the number of blackflies in quadrats at 10 different locations along a stream and measure the flow rate. Your data is as shown to the right.

You now want to determine whether these two variables (flow rate and fly density) are correlated. Since the data is not assumed to be normally distributed Spearman Rank correlation is appropriate.

You use the online calcuator HERE.

Match the X and Y values below.

 Fly count  Flow rate 

X values =    

Y values =    

The X values should be the flow rate as it is believed this influences the fly density (Y values).

If you put the data the other way around, you are implying that the fly count influences the river's flow rate, which makes no sense!

Once you have done the calculations you can conclude...

negative positive  not statistically significant statistically significant  increases decreases  increases decreases 

The correlation between flow rate and fly count is     and this result can be considered    . This means that it is reasonable to assume that as the flow rate     the fly count    .

The calculated correlation of -0.86239 is negative. This means that as the flow rate increases, the fly count decreases.

Total Score:

All materials on this website are for the exclusive use of teachers and students at subscribing schools for the period of their subscription. Any unauthorised copying or posting of materials on other websites is an infringement of our copyright and could result in your account being blocked and legal action being taken against you.