In mathematics and statistics, Spearman's rank correlation coefficient is a measure of correlation, named after its maker, Charles Spearman. It is written in short as the Greek letter rho () or sometimes as . It is a number that shows how closely two sets of data are linked. It only can be used for data which can be put in order, such as highest to lowest.
The general formula for is .
For example, if you have data for how expensive different computers are, and data for how fast the computers are, you could see if they are linked, and how closely they are linked, using .