5
$\begingroup$

In the course I've just learnt Multiple Linear Regression and Polynomial Regression.

Why would you ever use Multiple Linear Regression when Polynomial Regression will always fit the data better?

$\endgroup$
  • 2
    $\begingroup$ All decent machine learning courses will discuss the bias-variance tradeoff – essentially, a better fit (on the training data) is not always a good thing. $\endgroup$ – surelyourejoking Jun 4 '18 at 8:20
10
$\begingroup$

First of all note that polynomial regression is a special case of multiple linear regression.


Let's consider three models:

Model1

$Y = \beta_1 x_1 + \beta_2 x_2 + \beta_3 x_3 + \epsilon$

and

Model2

$Y = \beta_1 x_1 + \beta_2 x_1^2 + \beta_3 x_1^3 + \epsilon$

and

Model3

$Y = \beta_1 x_1 + \beta_2 x_1^2 + \beta_3 x_1^3 + \beta_4 x_2 + \beta_5 x_3 + \epsilon$


Of course Model3 would explain the most deviation in the data. However if you have overfitting you might go for either Model1 or Model2. Also if some of the five $\beta$s are not significant you can exclude them. If there is no non-linearity you go for Model1. If only one explanatory variable shows significant impact, but this variable has a non-linear relationship with the explained variable you go for Model2.


You can use variable selecton in order to check with variables are relevant for the model. One famous variable selection algorithm is Boruta, but you can also do variable selection with AIC and BIC.

$\endgroup$
  • $\begingroup$ Your model 2 and 3 have duplicate x_1 terms. Do you mean for the \beta_3 terms to be x_1^3? $\endgroup$ – brendan Jun 4 '18 at 8:32
  • $\begingroup$ Yes. I just corrected it. Thank you for telling me. $\endgroup$ – Ferdi Jun 4 '18 at 8:38
  • 5
    $\begingroup$ "Also if some of the five βs are not significant you can exclude them." You have to be a bit more nuanced than that: stats.stackexchange.com/q/66448/229 $\endgroup$ – James Jun 4 '18 at 9:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.