Analyze the monotonic relationship between two variables using rank correlation.
Enter your two datasets below to calculate the Spearman's rank correlation coefficient.
Explore these scenarios to see how Spearman's Correlation is applied.
A scenario where as one variable increases, the other increases perfectly by rank.
X: 10, 20, 30, 40, 50
Y: 2, 4, 6, 8, 10
A case showing a strong inverse relationship between two ranked variables.
X: 105, 120, 90, 150, 135
Y: 4.5, 3.2, 5.0, 2.1, 2.9
An example where there is no discernible monotonic relationship between the variables.
X: 1, 2, 3, 4, 5
Y: 3, 1, 5, 2, 4
This example includes tied values, demonstrating how the calculation handles them.
X: 8, 9, 10, 10, 12
Y: 4, 6, 5, 5, 7