Friday, March 27, 2020

Answer for plotting the regression line itself

https://365datascience.com/dwqa-answer/answer-for-plotting-the-regression-line-itself/ -

Hi Oberewu, 

thanks for reaching out!

In answer to your question here is the formula for yhat:

yhat = x1.b1 + b0

b0 and b1 are the coefficients we obtain from the model fit. b1 is the coefficient for size, whereas b0 is the intercept.

You can find the values in the results table, under coef.

 

Best, 

Eli




#365datascience #DataScience #data #science #365datascience #BigData #tutorial #infographic #career #salary #education #howto #scientist #engineer #course #engineer #MachineLearning #machine #learning #certificate #udemy

No comments:

Post a Comment