R.
wildly when presented with new data. Ridge regression represents a way to adjust for this. Ridge Regression Let’s take a look at the equations for both ordinary least squares and ridge regression. Here is the standard OLS regression equation for regression with more than one independent variable. y