Ripetizioni di Analisi
EN

Definition · Regression

Spearman's rank correlation coefficient

Definition from the chapter Linear regression and correlation of Statistics and probability, with the exercises in which it is used.

Spearman's rank correlation coefficient

The rank of a value is its position in the increasing order of the values of the same variable: for the values , , the ranks are , , . When several values are equal, that is, tied, each receives the average of the positions they occupy: for , , , , the two values occupy positions and and both receive rank .

Spearman’s rank correlation coefficient is Pearson’s correlation calculated from the ranks of the two variables, preserving each pair. The coefficient is defined when both sets of ranks have positive variance, that is, when neither the predictor values nor the responses are all equal. It equals when the two variables are ordered in the same way and when the order of one is the reverse of the order of the other. The coefficient therefore measures the agreement between the two orderings, even when the relationship is curved: for , , , Pearson’s correlation is about , while . Since it uses only the order, it also applies to the ordinal data of Chapter 1, such as the ratings insufficient, adequate, excellent coded with ranks , , .

Read it in the chapter Linear regression and correlation →

Exercises where this definition is used

Worked examples

Practice exercises

All the definitions and theorems of Statistics and probability → · All the theorems on the site →

Report a mistake

Where:

Ripetizioni di Analisi

Keep studying

With a free account, you can pick up where you left off and see your progress next time you visit.

Sign up for free

Already have an account? Sign in

Contents