Find the equation for the least squares regression line of the data: (20,7), (25,8)...
Check the final answer first, then review the worked steps.
Check the final answer first, then review the worked steps.
n=5, \sum x=158, \sum y=28, \sum x^2=5442, \sum xy=733
m = \frac{n\sum xy - \sum x \sum y}{n\sum x^2 - (\sum x)^2} = \frac{5(733) - 158(28)}{5(5442) - 158^2} = \frac{-918}{4492} \approx -0.204
b = \bar{y} - m\bar{x} = 5.6 - (-0.20436)(31.6) \approx 12.058