Compute Spearman rank correlation as well as test the significance of correlation.
Two groups of students are enquired 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
|
Determine the Spearman rank correlation coefficient and test for a significant rank correlation using α = .05.