Perplex
  • Dashboard
Topics
Exponents & LogarithmsRounding & ErrorSequences & SeriesFinancial MathematicsMatricesComplex Numbers
Cartesian plane & linesFunction TheoryModellingTransformations & asymptotes
2D & 3D GeometryVoronoi DiagramsTrig equations & identitiesVectorsGraph Theory
ProbabilityDescriptive StatisticsBivariate StatisticsDistributions & Random VariablesInference & Hypotheses
DifferentiationIntegrationDifferential Equations
Paper 3
Plus
Calculator Skills
Review VideosFormula BookletAll Study Sets
BlogLanding Page
Sign UpLogin
Perplex
Perplex
  • Dashboard
Topics
Exponents & LogarithmsRounding & ErrorSequences & SeriesFinancial MathematicsMatricesComplex Numbers
Cartesian plane & linesFunction TheoryModellingTransformations & asymptotes
2D & 3D GeometryVoronoi DiagramsTrig equations & identitiesVectorsGraph Theory
ProbabilityDescriptive StatisticsBivariate StatisticsDistributions & Random VariablesInference & Hypotheses
DifferentiationIntegrationDifferential Equations
Paper 3
Plus
Calculator Skills
Review VideosFormula BookletAll Study Sets
BlogLanding Page
Sign UpLogin
Perplex
/
Bivariate Statistics
/
Spearman's Rank Correlation Coefficient
Non-linear regression & residuals
Spearman's Rank Correlation Coefficient
Bivariate Statistics

Spearman's Rank Correlation Coefficient

0 of 0 exercises completed

Calculating Spearman's rank correlation coefficient by ranking ​x​ and ​y​ values, then using Pearson's ​r, and understanding when to use it.

Want a deeper conceptual understanding? Try our interactive lesson!

Spearman’s rank correlation coefficient
SL AI 4.10

Spearman's rank correlation coefficient tells you how well two variables line up in terms of order instead of actual values. It answers the question "When ​x​ is larger, does ​y​ also tend to be larger?". It compares data relatively, and measures whether the data is consistently sloping up.


Its value is between ​−1​ and ​1, with negative values for data that generally slopes down, and positive values when data generally slopes up.

Weak positive Spearman correlation - the data zigzags and the slope of each segment changes.

Perfect negative spearman correlation (​−1​) - every segment is sloping down.


Example calculation

To calculate it, we first convert our data values into ranks, which just means the ​1st​ smallest, ​2nd​ smallest etc. Then, we calculate the regular Pearson ​r​ for the correlation between these ranks:


​x​

​y​

​100​

​5000​

​30​

​400​

​20​

​20​

​50​

​400​


There are ​4​ values for ​x. In order, they are:

  1. ​20​ 

  2. ​30​

  3. ​50​

  4. ​100​

The order for ​y​ is

  1. ​20​

  2. ​400​

  3. ​400​

  4. ​1000​

Since ​400​ appears at both positions ​2​ and ​3, we say that each of them are tied for rank ​2.5.


Now we update the table with the ranks:

​x​

Rank ​x​

​y​

Rank ​y​

​100​

​4​

​5000​

​4​

​30​

​2​

​400​

​2.5​

​20​

​1​

​20​

​1​

​50​

​3​

​400​

​2.5​

Now we enter the ranks into our calculators, and use linear regression to find ​r≈0.949. This is the Spearman rank correlation coefficient for this data.

Nice work completing Spearman's Rank Correlation Coefficient, here's a quick recap of what we covered:

Skills covered

Mixed Practice

Exercises checked off

I'm Plex, here to help you understand this concept!
/
Bivariate Statistics
/
Spearman's Rank Correlation Coefficient
Non-linear regression & residuals
Spearman's Rank Correlation Coefficient
Bivariate Statistics

Spearman's Rank Correlation Coefficient

0 of 0 exercises completed

Calculating Spearman's rank correlation coefficient by ranking ​x​ and ​y​ values, then using Pearson's ​r, and understanding when to use it.

Want a deeper conceptual understanding? Try our interactive lesson!

Spearman’s rank correlation coefficient
SL AI 4.10

Spearman's rank correlation coefficient tells you how well two variables line up in terms of order instead of actual values. It answers the question "When ​x​ is larger, does ​y​ also tend to be larger?". It compares data relatively, and measures whether the data is consistently sloping up.


Its value is between ​−1​ and ​1, with negative values for data that generally slopes down, and positive values when data generally slopes up.

Weak positive Spearman correlation - the data zigzags and the slope of each segment changes.

Perfect negative spearman correlation (​−1​) - every segment is sloping down.


Example calculation

To calculate it, we first convert our data values into ranks, which just means the ​1st​ smallest, ​2nd​ smallest etc. Then, we calculate the regular Pearson ​r​ for the correlation between these ranks:


​x​

​y​

​100​

​5000​

​30​

​400​

​20​

​20​

​50​

​400​


There are ​4​ values for ​x. In order, they are:

  1. ​20​ 

  2. ​30​

  3. ​50​

  4. ​100​

The order for ​y​ is

  1. ​20​

  2. ​400​

  3. ​400​

  4. ​1000​

Since ​400​ appears at both positions ​2​ and ​3, we say that each of them are tied for rank ​2.5.


Now we update the table with the ranks:

​x​

Rank ​x​

​y​

Rank ​y​

​100​

​4​

​5000​

​4​

​30​

​2​

​400​

​2.5​

​20​

​1​

​20​

​1​

​50​

​3​

​400​

​2.5​

Now we enter the ranks into our calculators, and use linear regression to find ​r≈0.949. This is the Spearman rank correlation coefficient for this data.

Nice work completing Spearman's Rank Correlation Coefficient, here's a quick recap of what we covered:

Skills covered

Mixed Practice

Exercises checked off

I'm Plex, here to help you understand this concept!

Generating starter questions...

1 free

Generating starter questions...

1 free