Calculate the coefficient of correlation from the following data:
X30406070100Y90110140150160
X¯¯¯¯¯X=60x2Y¯¯¯¯Y=130y2xyx=X−¯¯¯¯¯Xy=Y−¯¯¯¯Y30−3090090−401600120040−20400110−204004006000140+10100070+10100150+20400200100+401600160+309001200∑X=300∑x=0∑x2=3000∑Y=650∑y=0∑y2=3400∑xy=3000N=5¯¯¯¯¯X=∑XN=3005=60;¯¯¯¯Y=∑YN=6505=130.r=∑(X−¯¯¯¯X)(Y−¯¯¯¯Y)√∑(X−¯¯¯¯X)2√∑(Y−¯¯¯¯Y)2
or ∑xy√∑x2√∑y2=3000√3000√3400=30003193.74=0.94