Find the value of the correlation coefficient from the following table :-
S NoAge 'X'Glucose Level 'Y'143992216532579442755578765981
S NoAge 'X'Glucose Level 'Y'XYX2Y21439942571849980122165136544142253257919756256241442753150176456255578749593249756965981477934816561Total247486204851140940022
From our table :
∑x=247, ∑y=486, ∑xy=20,485,
∑x2=11,409, ∑y2=40,022, ′n′=6
r=n(∑xy)−(∑x)(∑y)√[n ∑ x2−(∑x)2][n ∑ y2−(∑y)2]
r=6(20,485)−(247×486)/[6(11,409)−(2472)]×[6(40,022)−4862]
r=2868/5413.27=0.529809
r = 0.5298
The range of the correlation coefficient is from -1 to 1.
Our result is 0.5298, which means the variables have a moderate positive correlation.