Worked example. A researcher collects the following paired data from seven students on hours revised in the week before a test (X) and the test score out of 100 (Y). Convert the raw scores to ranks, handle tied X values, and use Spearman's ρ formula to calculate ρ. Finally, compare your ρ to the critical values for n = 7 from the table in Question 6 and state whether the correlation is significant at p < 0.05 for both a one-tailed and a two-tailed test.
Data (students in the order given):
Student 1: X = 2 hours, Y = 55
Student 2: X = 4 hours, Y = 68
Student 3: X = 4 hours, Y = 70
Student 4: X = 6 hours, Y = 85
Student 5: X = 1 hour, Y = 40
Student 6: X = 3 hours, Y = 60
Student 7: X = 5 hours, Y = 78
Show your ranked table, the d and d2 column, the substitution into the formula, your working and the final decision about significance.
(a)Convert the X and Y raw scores to ranks, showing how you handled the tied X values, and give the ranks for each student in the order above.(3)
(b)Calculate d (rankX - rankY) and d2 for each pair and give the sum of d2.(1)
(c)Substitute your sum d2 and n into the Spearman's ρ formula and show the arithmetic leading to ρ to three decimal places.(3)
(d)Using the critical values for n = 7 from Question 6, state whether the correlation is significant at p < 0.05 for a one-tailed test and for a two-tailed test, and justify each decision.(2)
(Total for Question 7 is 9 marks)