Spearman Correlation Test

From GM-RKB
Jump to navigation Jump to search

A Spearman Correlation Test is a non-parametric correlational hypothesis test that is based on a Spearman's rank correlation statistic.

  • AKA: Spearman's Rank Correlation Test.
  • Context:
    • It is a non-parametric analog to the Pearson Correlation Test.
    • It assumes that the following conditions are met:
      • Each pair of data are interval or ratio level or ordinal; linearly and monotonically related.
    • It tests the following hypotheses:
      • Null hypothesis: There no correlation present in population , i.e [math]\displaystyle{ H_0:\;\;\rho_s= 0 }[/math]
      • Alternative hypothesis: There is correlation present in the population , i.e [math]\displaystyle{ H_A: \;\;\rho_s \ne 0 }[/math]
where [math]\displaystyle{ -1 \lt \rho_s \lt 1 }[/math] is the Spearman's rank correlation statistic calculated for each observation.


References

2017a

The Spearman correlation between two variables is equal to the Pearson correlation between the rank values of those two variables; while Pearson's correlation assesses linear relationships, Spearman's correlation assesses monotonic relationships (whether linear or not). If there are no repeated data values, a perfect Spearman correlation of +1 or −1 occurs when each of the variables is a perfect monotone function of the other.
Intuitively, the Spearman correlation between two variables will be high when observations have a similar (or identical for a correlation of 1) rank (i.e. relative position label of the observations within the variable: 1st, 2nd, 3rd, etc.) between the two variables, and low when observations have a dissimilar (or fully opposed for a correlation of -1) rank between the two variables.
Spearman's coefficient is appropriate for both continuous and discrete variables, including ordinal variables.[1][2] Both Spearman's [math]\displaystyle{ \rho }[/math] and Kendall's [math]\displaystyle{ \tau }[/math] can be formulated as special cases of a more general correlation coefficient.

2017b

The raw scores are converted to ranks and the differences ([math]\displaystyle{ d_i }[/math]) between the ranks of each observation on the two variables are calculated. The Spearman coefficient is denoted with the Greek letter rho ([math]\displaystyle{ \rho }[/math]).
[math]\displaystyle{ \rho = 1 - (6 * SUM(d_i^2)) / (n * (n^2 - 1)) }[/math]
(...) The Spearman Coefficient can be used to measure ordinal data (ie. in rank order), not interval (as Pearson). It effectively works by first ranking the data then applying Pearson's calculation to the rank numbers.
This coefficient is also called Spearman's rho (after the Greek letter used).

2017c


  1. Scale types
  2. Lehman, Ann (2005). Jmp For Basic Univariate And Multivariate Statistics: A Step-by-step Guide. Cary, NC: SAS Press. p. 123. ISBN 1-59047-576-3.