39,782 views
43 votes
43 votes
Data are given about the number of bedrooms, x, and the cost of the apartment, y.The line of best fit for given data is done using linear regression.If the equation is y = 235x + 481, predict the cost of the apartment with 3 bedrooms.

User Asdrubal
by
3.0k points

1 Answer

21 votes
21 votes

Solution

Step 1:

Write the equation for the line of best fit.


y\text{ = 235x + 481}

Step 2

x = 3, find the cost y.

Substitute x = 3


\begin{gathered} y\text{ = 235x + 481} \\ y\text{ = 235}*\text{ 3 + 481} \\ y\text{ = 705 + 481} \\ y\text{ = 1186} \end{gathered}

Final answer

The cost id 1186

User Shahar Prish
by
2.9k points