April 2020
Intermediate to advanced
536 pages
16h 55m
English
This chapter covers
In chapter 9, I showed you how linear regression can be used to create very interpretable regression models. One of the strongest assumptions made by linear regression is that there is a linear relationship between each predictor variable and the outcome. This is often not the case, so in this chapter I’ll introduce you to a class of models that allows us to model nonlinear relationships in the data.
We’ll start by discussing how we can include polynomial terms in linear regression to model nonlinear relationships, ...