ArticleslgStudy

mathematics

Ridge regression

Ridge regression is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Ridge regression rather than just read about it. In short: Ridge regression (also known as Tikhonov regularization, named for Andrey Tikhonov) is a method of estimating the coefficients of multiple-regression models in scenarios where the variables are highly correlated. It has been used in many fields including econometrics, chemistry, and engineering.

Key takeaways

  • Ridge regression belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Ridge regression to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Ridge regression from memory before moving on to harder problems.

Reference excerpt

Ridge regression (also known as Tikhonov regularization, named for Andrey Tikhonov) is a method of estimating the coefficients of multiple-regression models in scenarios where the variables are highly correlated. It has been used in many fields including econometrics, chemistry, and engineering. It is a widely used method of regularization of ill-posed problem inverse problems. It is particularly useful to mitigate the problem of multicollinearity in linear regression, which commonly occurs in models with large numbers of parameters. In general, the method provides improved efficiency in parameter estimation problems in exchange for a tolerable amount of bias (see bias–variance tradeoff). 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 β + ε , {\displaystyle \mathbf {Y} =\mathbf {X} {\boldsymbol {\beta }}+{\boldsymbol {\varepsilon }},\,}

the problem of a near-singular moment matrix X T X {\displaystyle \mathbf {X} ^{\mathsf {T}}\mathbf {X} } 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 {\displaystyle \lambda \mathbf {I} } in the denominator:

β ^ λ = ( X T X + λ I ) − 1 X T Y {\displaystyle {\hat {\boldsymbol {\beta }}}_{\lambda }=\left(\mathbf {X} ^{\mathsf {T}}\mathbf {X} +\lambda \mathbf {I} \right)^{-1}\mathbf {X} ^{\mathsf {T}}\mathbf {Y} }

where Y {\displaystyle \mathbf {Y} } is the regressand or response vector, X {\displaystyle \mathbf {X} } is the design matrix, I {\displaystyle \mathbf {I} } is the identity matrix, and the ridge (or Tikhonov) regularization parameter λ ≥ 0 {\displaystyle \lambda \geq 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 {\displaystyle {\boldsymbol {\beta }}^{\mathsf {T}}{\boldsymbol {\beta }}=c} , which can be expressed as a Lagrangian minimization:

argmin β ‖ Y − X β ‖ 2 + λ ( β T β − c ) {\displaystyle {\text{argmin}}_{\boldsymbol {\beta }}\,\|\mathbf {Y} -\mathbf {X} {\boldsymbol {\beta }}\|^{2}+\lambda \left({\boldsymbol {\beta }}^{\mathsf {T}}{\boldsymbol {\beta }}-c\right)}

which shows that λ {\displaystyle \lambda } is nothing but the Lagrange multiplier of the constraint. In fact, there is a one-to-one relationship between c {\displaystyle c} and λ {\displaystyle \lambda } and since, in practice, we do not know c {\displaystyle c} , we define λ {\displaystyle \lambda } heuristically or find it via additional data-fitting strategies, see Determination of the Tikhonov parameter below. Note that as λ ↓ 0 {\displaystyle \lambda \downarrow 0} , the constraint eventually becomes non-binding, and the ridge estimator converges to the minimum-norm ordinary least squares estimator, here denoted as β ^ = β ^ 0 {\displaystyle {\hat {\boldsymbol {\beta }}}={\hat {\boldsymbol {\beta }}}_{0}} :

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Ridge regression

Start with the simplest possible case. Write down what Ridge regression claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Ridge regression before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Ridge regression ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Ridge regression

In research
Ridge regression appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Ridge regression in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Ridge regression is common in secondary-school and first-year university syllabi. It links to neighbouring topics Estimation methods, Inverse problems, Linear algebra, so understanding it makes those chapters shorter.
In everyday life
Look for Ridge regression outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Ridge regression in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Ridge regression means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Ridge regression out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Ridge regression in simple terms?

Ridge regression (also known as Tikhonov regularization, named for Andrey Tikhonov) is a method of estimating the coefficients of multiple-regression models in scenarios where the variables are highly correlated. It has been used in many fields including econometrics, chemistry, and engineering.

Why does Ridge regression matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Ridge regression?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Ridge regression.

Tags

  • Estimation methods
  • Inverse problems
  • Linear algebra
  • Regression analysis

Keep exploring