[Activity] Multiple Regression, and Predicting Car Prices Back to: Machine Learning, Data Science, and Generative AI with Python Previous Lesson [Activity] Polynomial Regression You must enroll in this course to access course content. Next Lesson Multi-Level Models You must enroll in this course to access course content.
Dont we have the constant(B0) value in summary (along with other coeficients)?
if yes,which one it is?
Great question. The OLS module in statsmodel sets B0 to 0, so it’s not used in its results.
There are exceptions though; if you read through its docs at https://www.statsmodels.org/dev/generated/statsmodels.regression.linear_model.OLS.html you can get all the details.