Online Store Monthly E- Commerce sales (in 1000s)Online Advertising (1000s)13681.7023401.5036652.8049545.0053311.3065562.2073761.30
a) Online Advertising Dollars is independent variable "(X)."
Monthly E-commerse Sales is dependent variable "(Y)."
"\\bar{Y}=\\dfrac{1}{n}\\sum_iY_i=\\dfrac{3590}{7}=512.857143"
"SS_{XX}=\\sum_i(X_i-\\bar{X})^2=10.537143"
"SS_{YY}=\\sum_i(Y_i-\\bar{Y})^2=322280.857143"
"SS_{XY}=\\sum_i(X_i-\\bar{X})(Y_i-\\bar{Y})=1806.757143"
"m=slope=\\dfrac{SS_{XY}}{SS_{XX}}=\\dfrac{1806.757143}{10.537143}=171.465564"
"n=\\bar{Y}-m\\bar{X}"
"=512.857143-171.465564(2.257143)"
"=125.834870"
Therefore, we find that the regression equation is:
b) Correlation coefficient:
"=\\dfrac{1806.757143}{\\sqrt{10.537143}\\sqrt{322280.857143}}"
"=0.980440"
We have strong positive correlation.
Comments
Leave a comment