The Pearson correlation coefficient formula is given below,
r=[nΣX2−(ΣX)2][nΣY2−(ΣY)2]n(ΣXY)−(ΣX)(ΣY), where n= sample size
To find Pearson correlation coefficient of the given data, we first calculate the following table
Here n=5 .
∴ r=[nΣX2−(ΣX)2][nΣY2−(ΣY)2]n(ΣXY)−(ΣX)(ΣY) =[(5×158)−(26)2].[(5×166)−(28)2](5×151)−(26×28) =524427=0.37 (approximately)
Comments
Leave a comment