Understand Spearman’s Correlation for Beginners – Deep Learning Tutorial

By | March 2, 2021

Spearman’s correlation coefficient is a statistical measure of the strength of a monotonic relationship between paired data.

As to two paired data \(R\) and \(S\). The count in them is \(n\). Spearman’s correlation coefficient is defined as:

Spearman correlation coefficient formula


\[D^2 = (R_i-S_i)^2\]

You should notice: \(R\) and \(S\) are rank.

rs is in:

-1 ≤ rs ≤ 1

where | rs| is

0 -0.19  “very weak”
0.20 -0.39  “weak”
0.40 – 0.59  “moderate”
0.60 – 0.79  “strong”
0.80 – 1.0  “very strong”

So the | rs| value of pair (x, y) is closed to 1, whic means they are strong monotonicity.

The bigger of | rs| the better.

Spearman correlation example

Leave a Reply

Your email address will not be published. Required fields are marked *