Ridge regression for linear models

In the figure Regression coefficients of polynomial regression models, we saw that the magnitude of the regression coefficients increase in a drastic manner as the polynomial degree increases. The right tweaking of the linear regression model, as seen in the previous section, gives us the right results.

However, the models considered in the previous section had just one covariate and the problem of identifying the knots in the multiple regression model becomes an overtly complex issue. That is, if we have a problem where there are large numbers of covariates, there may naturally be some dependency among them, which cannot be investigated for certain reasons.

In such problems, it may happen that certain covariates ...

Get Statistical Application Development with R and Python - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.