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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.