Lably
Skip to content

Ridge regression

Regularization technique for ill-posed problems

  • 9 min read
  • 9 chapters

Related on Lably

Through Coefficient, Regression analysis and Linear regression

The theory was first introduced by Hoerl and Kennard in 1970 in their Technometrics papers "Ridge regressions: biased estimation of nonorthogonal problems" and "Ridge regressions: applications in nonorthogonal problems".

Ridge regression was developed as a possible solution to the imprecision of least square estimators when linear regression models have some multicollinear (highly correlated) independent variables—by creating a ridge regression estimator (RR). This provides a more precise ridge parameters estimate, as its variance and mean square estimator are often smaller than the least square estimators previously derived.

Overview

In the ordinary least squares solution of

Y=Xβ+ε,

the problem of a near-singular moment matrix XTX is alleviated by adding positive elements to the diagonals, thereby decreasing its condition number. Compared to the ordinary least squares estimator, the simple ridge estimator has an extra term λI in the denominator: β^λ=(XTX+λI)−1XTY where Y is the regressand or response vector, X is the design matrix, I is the identity matrix, and the ridge (or Tikhonov) regularization parameter λ≥0 serves as the constant shifting the diagonals of the moment matrix. It can be shown that this estimator is the solution to the least squares problem subject to the constraint βTβ=c, which can be expressed as a Lagrangian minimization: argminβ‖Y−Xβ‖2+λ(βTβ−c) which shows that λ is nothing but the Lagrange multiplier of the constraint. In fact, there is a one-to-one relationship between c and λ and since, in practice, we do not know c, we define λ heuristically or find it via additional data-fitting strategies, see Determination of the Tikhonov parameter below.

Note that as λ↓0, the constraint eventually becomes non-binding, and the ridge estimator converges to the minimum-norm ordinary least squares estimator, here denoted as β^=β^0:

limλ↓0β^λ=X+Y=β^0, with X+ denoting the pseudoinverse of X.

Sign in to keep reading

8 more chapters are free with a Lably account.

More in Robotics