Sum=X45361028Y4657729XY1630154270173X21625936100186Y21636254949175Xˉ=n1∑iXi=528=5.6
Yˉ=n1∑iYi=529=5.8
SSXX=∑i(Xi−Xˉ)2=29.2
SSYY=∑i(Yi−Yˉ)2=6.8
SSXY=∑i(Xi−Xˉ)(Yi−Yˉ)=10.6
m=slope=SSXXSSXY=29.210.6=0.363014
n=Yˉ−mXˉ
=5.8−0.363014(5.6)
=3.767123 Therefore, we find that the regression equation is:
Y=3.767123+0.363014X
Correlation coefficient:
r=SSXXSSYYSSXY
=29.26.810.6=0.752246 We have strong positive correlation.
The regression equation is:
Y=3.767123+0.363014X
Comments
Leave a comment