Solve for the linear regression equation given points (3,0) and (4,-1)

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

Answer

\(y = -x + 3\)

Work

m = \frac{-1 - 0}{4 - 3} = -1; 0 = -1(3) + b \implies b = 3; y = -x + 3

Step-by-step solution

  1. Identify the regression model: The expression $y_1 \sim mx_1 + b$ represents a linear regression.
  2. Calculate the slope $m$: The slope is given by $\frac{y_2 - y_1}{x_2 - x_1}$. Using the values from the expression, $m = \frac{-1 - 0}{4 - 3} = -1$.
  3. Calculate the intercept $b$: Use the point $(3, 0)$ in $y = mx + b$. So, $0 = -1(3) + b$, which gives $b = 3$.
  4. Final equation: The linear model is $y = -x + 3$.