How to compare several linear regression models and select the best one through a guided exercise! How to interpret other metrics present in the summary of the linear regression: AIC, BIC, adjusted R-squared, and the F-statistic and F-proba. The generalized statsmodel API, a more general and easier way to define a linear regression model. In this chapter, we define a more complex model that takes into account all three budgets: TV, radio, and newspaper, using the linear regression results from that model to illustrate a new set of metrics. We continue to work with the advertising dataset. ![]() ![]() In this chapter, we expand the univariate linear regression method to multivariate linear regression, where multiple variables are used to predict the outcome variable. You now know how to implement and interpret univariate linear regression, relations between one variable, and an outcome variable.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |