For a dataset of 20 observations, the standard deviation of x is Sx = 4, the standard deviation of y is Sy = 10, and the correlation is r = 0.6. The mean of x is 5 and the mean of y is 30. What is the equation of the least-squares regression line?
- Ay-hat = 1.5x + 22.5Correct
- By-hat = 0.24x + 28.8
- Cy-hat = 0.6x + 27
- Dy-hat = 2.4x + 18
Why A is right
The slope is b1 = r*(Sy/Sx) = 0.6*(10/4) = 0.6*2.5 = 1.5. The intercept is b0 = y-bar - b1*x-bar = 30 - 1.5*5 = 30 - 7.5 = 22.5. So the LSRL is y-hat = 1.5x + 22.5.
Why the other 3 choices miss
- B
- Incorrect because this uses Sx/Sy instead of Sy/Sx in the slope formula: b1 = r*(Sx/Sy) = 0.6*(4/10) = 0.24, which is the slope of the regression of x on y, not y on x.
- C
- Incorrect because this uses r directly as the slope without multiplying by Sy/Sx, then adjusts the intercept accordingly.
- D
- Incorrect because this uses Sy/Sx without multiplying by r: slope = 10/4 = 2.5 is close but off, and the intercept calculation is also wrong.