165k views
4 votes
1. Determine the linear regression model for the following table of values.(20 Points)у-18х-2-1012-4310O y = 7x-4O y = 7x + 4O y = 4x + 7O y = 44 - 7

1 Answer

5 votes

Basically we need to find the line equation. So let's take two pair of points and find the slope m:


\begin{gathered} m=(y2-y1)/(x2-x1) \\ \text{Where:} \\ x1=-2 \\ x2=2 \\ y1=-18 \\ y2=10 \end{gathered}

Therefore:


m=(10-(-18))/(2-(-2))=(28)/(4)=7

Now, let's use the slope point equation:


\begin{gathered} y-y1=m(x-x1) \\ y-(-18)=7(x-(-2)) \\ y+18=7x+14 \\ \text{Solving for y:} \\ y=7x-4 \end{gathered}

User Tom Wagstaff
by
4.6k points