👤

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

Answer :

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

[tex]\begin{gathered} m=\frac{y2-y1}{x2-x1} \\ \text{Where:} \\ x1=-2 \\ x2=2 \\ y1=-18 \\ y2=10 \end{gathered}[/tex]

Therefore:

[tex]m=\frac{10-(-18)}{2-(-2)}=\frac{28}{4}=7[/tex]

Now, let's use the slope point equation:

[tex]\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}[/tex]