Sum=X1712102059Y101081240XY17012080240610X2289144100400933Y210010064144408
Xˉ=n1i=1∑nXi=459=14.75
Yˉ=n1i=1∑nYi=440=10
SSXX=i=1∑nXi2−n1(i=1∑nXi)2
=933−4(59)2=62.75
SSYY=i=1∑nYi2−n1(i=1∑nYi)2
=408−4(40)2=8
SSXY=i=1∑nXiYi−n1(i=1∑nXi)(i=1∑nYi)
=610−459(40)=20The regression coefficients (the slope m, and the y-intercept n) are obtained as follows:
m=SSXXSSXY=62.7520=0.318725
n=Yˉ−mXˉ=10−62.7520(14.75)=5.298805We find that the regression equation is:
Y=5.298805+0.318725X
Correlation coefficient
r=SSXXSSYYSSXY=62.75820=0.892644 Strong positive correlation.
r2=62.75(8)(20)2=0.796813
Y(18)=5.298805+0.318725(18)=11.035855
Comments