Advertisements
Advertisements
Question
Measure the height of your classmates. Ask them the height of their benchmate. Calculate the correlation coefficient of these two variables. Interpret the result.
Sum
Solution
Height of Classmate X | Height of Benchmate Y |
67 | 65 |
56 | 66 |
65 | 57 |
68 | 67 |
72 | 68 |
72 | 69 |
69 | 70 |
71 | 72 |
x | Y | XY | X2 | Y2 |
67 | 65 | 4355 | 4489 | 4225 |
56 | 66 | 3696 | 3136 | 4356 |
65 | 57 | 3705 | 4225 | 3249 |
68 | 67 | 4556 | 4624 | 4489 |
72 | 68 | 4896 | 5184 | 4624 |
72 | 69 | 4968 | 5184 | 4761 |
69 | 70 | 4830 | 4761 | 4900 |
71 | 72 | 5112 | 5041 | 5184 |
∑X = 540 | ∑Y = 534 | ∑XY = 36118 | ∑X2 = 36644 | ∑Y2 = 35788 |
r = `(sumXY - ((sumX)(sumY))/N)/(sqrt(sumX^2 - (sumX)^2/N)sqrt(sumY^2 - (sumY)^2/N))`
= `(36118 - (540 xx 534)/8)/(sqrt(36644 - (540)^2/8)sqrt(35788 - (534)^2/8))`
= `(36118 - 36045)/(sqrt(36644 - 36450)sqrt(35788 - 35644.5))`
= `73/(sqrt194 sqrt143.5)`
= `73/(13.93 xx 11.98)`
= `73/166.88`
= 0.44
shaalaa.com
Measures of Correlation - Spearman's Rank Correlation
Is there an error in this question or solution?