Find the equation for the least squares regression line of the data described below...

Check the final answer first, then review the worked steps.

Answer

\(y = 0.207x + 53.593\)

Work

x = {13, 17, 31, 49, 79}, y = {71, 41, 66, 55, 74}
\bar{x} = 37.8, \bar{y} = 61.4
m = \frac{602.4}{2916.8} \approx 0.207
b = 61.4 - (0.2065)(37.8) \approx 53.593

Step-by-step solution

  1. Calculate the mean of $x$ and $y$: $\bar{x} = \frac{13+17+31+49+79}{5} = 37.8$ and $\bar{y} = \frac{71+41+66+55+74}{5} = 61.4$.
  2. Calculate the slope $m = \frac{\sum (x_i - \bar{x})(y_i - \bar{y})}{\sum (x_i - \bar{x})^2}$.
  3. The numerator is $(13-37.8)(71-61.4) + (17-37.8)(41-61.4) + (31-37.8)(66-61.4) + (49-37.8)(55-61.4) + (79-37.8)(74-61.4) = -238.08 + 424.32 - 31.28 - 71.68 + 519.12 = 602.4$.
  4. The denominator is $(13-37.8)^2 + (17-37.8)^2 + (31-37.8)^2 + (49-37.8)^2 + (79-37.8)^2 = 615.04 + 432.64 + 46.24 + 125.44 + 1697.44 = 2916.8$.
  5. $m = \frac{602.4}{2916.8} \approx 0.206527... \approx 0.207$.
  6. Calculate the intercept $b = \bar{y} - m\bar{x} = 61.4 - (0.206527)(37.8) \approx 61.4 - 7.8067 = 53.5933... \approx 53.593$.