Shrinkage is a bias–variance decision

Ordinary least squares chooses coefficients that minimize the residual sum of squares. When columns of the design matrix are nearly collinear, many different coefficient combinations can give very similar fitted values. The coefficients can then have high variance: small changes in the training sample produce large, opposing changes in their estimates.


Ridge regression changes the objective to residual sum of squares plus λ times the sum of squared slope coefficients. With λ equal to zero, ridge is ordinary least squares.


As λ grows, the coefficient path changes continuously, the overall coefficient-vector norm decreases, and the vector approaches zero; individual coefficients can move nonmonotonically or cross zero when predictors are correlated.


Ridge does not drive coefficients to exactly zero and hold them there, which distinguishes it from variable-selection penalties such as the L1 lasso penalty.


The L2 penalty is scale-sensitive. A predictor measured in a large numerical unit would be penalized differently from the same predictor expressed in a small numerical unit, so predictors are usually centered and scaled before fitting.


The intercept is normally not penalized: after centering, it represents the response mean and should not be shrunk merely because the coordinate origin was chosen differently.


Choose λ using a prediction-focused procedure such as cross-validation performed inside the training process. A low cross-validation error estimates out-of-sample predictive performance under its resampling assumptions; it does not establish causal effects, make a coefficient unbiased, or validate a model against every possible deployment shift.

Which optimization criterion corresponds to ridge regression for slope vector β when the intercept is handled separately?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Why are numeric predictors commonly standardized before applying one ridge penalty parameter to all slope coefficients?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Two standardized predictors are highly correlated. Holding the training data fixed, what is the usual effect of increasing λ from a small positive value to a larger positive value in ridge regression?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors