Find and graph a linear regression equation that models the data.
Temperature (oC)
No. of Ice cream sold
26
345
27
322
28
357
29
423
30
435
"\\bar{Y}=\\dfrac{1}{n}\\sum_iY_i=\\dfrac{1882}{5}=376.4"
"SS_{XX}=\\sum_i(X_i-\\bar{X})^2=10"
"SS_{YY}=\\sum_i(Y_i-\\bar{Y})^2=9927.2"
"SS_{XY}=\\sum_i(X_i-\\bar{X})(Y_i-\\bar{Y})=281"
"m=slope=\\dfrac{SS_{XY}}{SS_{XX}}=\\dfrac{281}{10}=28.1"
"n=\\bar{Y}-m\\bar{X}"
"=376.4-28.1(28)"
"=-410.4"
Therefore, we find that the regression equation is:
Correlation coefficient:
"=\\dfrac{281}{\\sqrt{10}\\sqrt{9927.2}}=0.8918523"
We have strong positive correlation.
The regression equation is:
Comments
Leave a comment