Is it mandatory to use statsmodel add_constant() method while implementing linear regression model? Can't be directly put the coef_ nd intercept_ value directly in the equation y=mx+b ? Also what is the use of OLS( ). Please clarify it.

Posted on:

May 03, 2020

Last answered:

May 07, 2020

1 answers
Posted on: May 07, 2020

Submit an answer