L1 Shrinkage and the LAR Path

What LASSO optimizes

For a linear response model, LASSO chooses coefficients by balancing residual sum of squares against λ times the sum of absolute coefficient values.


The absolute-value penalty is L1 regularization. As λ becomes larger, a fitted model generally accepts more residual error in exchange for smaller coefficients; some coefficients may become exactly zero.


This sparsity is why LASSO is useful when many candidate predictors are available, but zero is a model-selection result, not a declaration that a predictor has no causal relationship with the outcome.

Scale before penalizing

The penalty is applied to coefficient magnitudes, and coefficient magnitude depends on a predictor's units. Centering and scaling predictors before fitting is therefore standard when the predictors use different scales.


The intercept is commonly left unpenalized after centering. Categorical coding, missing-data handling, and any preprocessing must be learned within the resampling scheme used for performance assessment to avoid leakage.

How LAR differs

Least Angle Regression begins with an intercept-only fit and finds the predictor or tied predictors having maximal absolute correlation with the current residual.


If one predictor uniquely attains that maximum, LAR initially moves the fitted values toward its signed direction until another predictor ties.


If several predictors tie for the maximum at the start, they form the initial active set, and LAR moves in the appropriate joint equiangular direction.


The LASSO path is closely related but includes a modification that can drop a coefficient when it reaches zero. Neither description means LAR repeatedly refits every possible subset.

Choose the tuning parameter by predicted performance

Cross-validation estimates out-of-sample prediction error for candidate λ values. A smaller validation error can guide selection, while a simpler near-optimal model may be chosen under a stated rule such as one-standard-error.


The estimate is conditional on the data split and modeling decisions; it is not an unbiased proof that the selected variables are the only useful ones.

A standardized-predictor LASSO model is refit with a larger value of λ. Which change is generally expected?

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

A researcher fits LASSO to one predictor measured in meters and another measured in millimeters, without scaling either. Why is this a concern?

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

At the start of LAR with centered predictors and response, how does the procedure determine its initial active set and direction, including when several predictors tie?

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