Professional Documents
Culture Documents
rho, named after Charles Spearman and often denoted by the Greek
letter (rho) or as is a nonparametric measure of statistical
dependence between two variables. It assesses how well the
relationship between two variables can be described using
a monotonic function. 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.
6∑d2
=1–
n (n2 – 1)
In a test of hypothesis about the Spearman rho rank
correlation coefficient the test statistic is and its observed
value is calculated by using the above formula.
H0 : =0
H1 : ≠0
-.738 +.738
Critical Value of . The critical value of is obtained from
the Table L Critical Values for Spearman for the given sample size and
significance level. If the test is two-tailed, we use two critical
values, one negative and one positive. However, we use only the
negative value of if the test is left-tailed and only the positive
value of if the test is right-tailed.
Table L Critical Values for Spearman
α levels
No. of pairs One-tailed test Two-Tailed test
N .01 .05 .01 .05
4 ___ 1.000 ___ ___
5 1.000 .900 ___ 1.000
6 .943 .829 1.000 .886
7 .893 .714 .929 .786
8 .833 .643 .881 .738
9 .783 .600 .833 .700
10 .745 .564 .794 .648
11 .709 .536 .755 .618
12 .678 .503 .727 .587
13 .648 .484 .703 .560
14 .626 .464 .697 .538
15 .604 .446 .654 .521
16 .582 .429 .635 .503
Step 4. Calculate the value of the test statistic.
v 2 6 7 1 5 8 3 4
d 5 -4 -4 7 0 -7 1 2
d2 25 16 16 49 0 49 1 4 ∑d2 =
160
Table 14.8 shows the ranks for x and y, which are denoted by u and v,
respectively. The table also lists the values of d, d2, and ∑d2. Note that if two or
more values are equal, we use the average of their ranks for all of them.
Hence, the observed value of is
6 (160) 960
=1– =1- = - .905
8 (64 – 1) 504
Note that Spearman’s rho rank correlation coefficient has the same
properties as the linear correlation coefficient.
Thus, -1 ≤ ≤ 1 or -1 ≤ s ≤ 1, depending on whether sample or
population data are used to calculate the Spearman rho rank
correlation coefficient. If s = 0, there is no relationship between
the x and y data. If 0 < s ≤ 1, on average a larger value of x is
associated with a larger value of y. Similarly, if -1 ≤ s < 0, on
average a larger value of x is associated with a smaller value of y.
Step 5. Make a decision.
Because = - .905 is less than - .738 and it falls in the
rejection region, we reject H0 and conclude that there is a
correlation between the per capita incomes and the infant
mortality rates in all states. Because the value of from the
sample is negative, we can also state that as per capita income
increases, infant mortality tends to decrease.
Decision Rule for the Spearman Rho Rank Correlation
Coefficient.
u 2 1 3 4 6 5 7 8
a.
v 8 6 7 4 5 2 1 3
u 1 2 3 4 5 6 7
b. v 4 2 1 5 3 7 6
II. Calculate the Spearman rho rank correlation coefficient for
each of the following data sets.
x 5 10 15 20 25 30
y 17 15 12 14 10 9
x 27 15 32 21 16 40 8
y 95 81 102 88 75 120 62