(a) Scatter Plot of the data is-
(b)
E(XY)=n∑XY=530055=6011E(X)=n∑X=510015=2003E(Y)=n∑Y=515=3σX=n(x−xˉ)2=510=2σY=n(y−yˉ)2=510=2
Pearson correlation coefficient r=σX,σYCov(X,Y)
=σX.σYE(XY)−E(X)E(Y)=2.26011−2003(3)=22=1
(c) spearmen rank correlation coefficient-
=1−n3−n6d2
where, d= Difference between x and Y
=1−(5)3−56×20000000
=1−1201200000000=1−106
Comments