The following sample observations were randomly selected.
X 4 5 3 6 10
Y 4 6 5 7 7
Determine the regression equation. (6 marks)
"\\bar{Y}=\\dfrac{1}{n}\\sum_iY_i=\\dfrac{29}{5}=5.8"
"SS_{XX}=\\sum_i(X_i-\\bar{X})^2=29.2"
"SS_{YY}=\\sum_i(Y_i-\\bar{Y})^2=6.8"
"SS_{XY}=\\sum_i(X_i-\\bar{X})(Y_i-\\bar{Y})=10.6"
"m=slope=\\dfrac{SS_{XY}}{SS_{XX}}=\\dfrac{10.6}{29.2}=0.363014"
"n=\\bar{Y}-m\\bar{X}"
"=5.8-0.363014(5.6)"
"=3.767123"
Therefore, we find that the regression equation is:
Correlation coefficient:
"=\\dfrac{10.6}{\\sqrt{29.2}\\sqrt{6.8}}=0.752246"
We have strong positive correlation.
The regression equation is:
Comments
Leave a comment