OnlineStore1234567Monthly E−commerse Sales (in 1000s)368340665954331556376Online AdvertisingDollars(1000s)1.71.52.851.32.21.3a) Online Advertising Dollars is independent variable (X).
Monthly E-commerse Sales is dependent variable (Y).
Xˉ=n1∑iXi=715.8=2.257143
Yˉ=n1∑iYi=73590=512.857143
SSXX=∑i(Xi−Xˉ)2=10.537143
SSYY=∑i(Yi−Yˉ)2=322280.857143
SSXY=∑i(Xi−Xˉ)(Yi−Yˉ)=1806.757143
m=slope=SSXXSSXY=10.5371431806.757143=171.465564
n=Yˉ−mXˉ
=512.857143−171.465564(2.257143)
=125.834870 Therefore, we find that the regression equation is:
Y=125.834870+171.465564X
b) Correlation coefficient:
r=SSXXSSYYSSXY
=10.537143322280.8571431806.757143
=0.980440 We have strong positive correlation.
Comments
Leave a comment