Compute Spearman rank correlation and test the significance of correlation.
Two groups of students are asked to rank their preference for six types of soft drinks. The following table shows their rankings.
|
Soft Drink
|
Group 1
|
Group 2
|
|
1 2 3 4 5 6
|
3 1 2 5 4 6
|
6 2 1 5 3 4
|
Decide the Spearman rank correlation coefficient and test for a significant rank correlation using α = .05.