89.1k views
2 votes
3. Compute the equation of the regression line for a dataset that has the statistics given below. Round the values of a and b to two decimal places.

3. Compute the equation of the regression line for a dataset that has the statistics-example-1

1 Answer

7 votes

Answer:

y=17.01x+215.96

Step-by-step explanation:

First, we determine the slope, a, of the best-fitting line using the formula below:


\begin{gathered} a=r((s_y)/(s_x)) \\ =0.63((108)/(4)) \\ \implies a=17.01 \end{gathered}

Next, we find the y-intercept of a regression line:


\begin{gathered} b=\bar{y}-ax \\ =284-17.01(4) \\ \implies b=215.96 \end{gathered}

Therefore, the equation of the regression line is:


\begin{gathered} \hat{y}=ax+b \\ \hat{y}=17.01x+215.96 \end{gathered}

User Michal Pravda
by
6.9k points