Digital Solomon is not taking new clients at this time.

← All measures

Spearman rank correlation

Statistics · Rank-based correlation between two paired lists, handling tied values, with an approximate p-value.

ρ = Pearson r of the ranks of x and y; no ties: 1 − 6 ∑ d2n(n2 − 1)

Result

Turn on JavaScript to calculate.

How it works

Each list is replaced by ranks (1 for the smallest; tied values share the average of their ranks), and the Pearson correlation of the two rank lists is taken. It measures how consistently y rises or falls with x, not only along a straight line, and is less swayed by outliers. The p-value uses the t approximation with n − 2 degrees of freedom, rougher for small n.

Results are estimates for learning and planning. Check anything you rely on with a qualified professional.