Ridge Regression

The ridge regression method is similar to the least squares procedure except that it penalizes the sizes of the regression coefficients. Ridge regression is one of the most commonly used methods to overcome data multicollinearity.

Details

Let (x 1,…,x p ) be a vector of input variables and y=(y 1,…,y k ) be the response. For each j=1,…,k, the ridge regression model has the form similar to the linear regression model [Hoerl70], except that the coefficients are estimated by minimizing a different objective function [James2013]:

y j =β 0j + β 1jx 1 +...+ β pjx p .

Here x i , i=1,...,p, are referred to as independent variables, and y j are referred to as dependent variables or responses.

Training Stage

Let (x 11,...,x 1p , y 11,...,y 1k ),…,(x n1,...,x np , y n1,...,y n k ) be a set of training data, n >> p. The matrix X of size n x p contains observations x ij , i=1,...,n, j=1,….,p, of independent variables.

For each y j , j = 1,…,k, the ridge regression estimates (β 0j , β 1j ...,β pj ) by minimizing the objective function:



where λ j0 are ridge parameters [Hoerl70, James2013].

Prediction Stage

Ridge regression based prediction is done for input vector (x 1,…,x p ) using the equation y j =β 0j + β 1jx 1+...+β pjx p for each j=1,…,k.

For more complete information about compiler optimizations, see our Optimization Notice.
Select sticky button color: 
Orange (only for download buttons)