Last answered:

05 Apr 2020

Posted on:

04 Apr 2020

0

how to find yhat ie the regression equation (the constant and the x variable used??)

plt.scatter(x1,y)
yhat = x1*223.1787+101900
fig = plt.plot(x1,yhat, lw=4, c='orange', label ='regression line')
plt.xlabel('Size', fontsize = 20)
plt.ylabel('Price', fontsize = 20)
plt.show()   how do you determine the coefficients of the underlined equation?  
1 answers ( 0 marked as helpful)
Instructor
Posted on:

05 Apr 2020

0
Hi Kartikeya, As explained a bit later, the regression equation is determined by the coefficients and the intercept from the regression table. Please hold on for a couple of lectures and you will see that! Best, Iliya

Submit an answer