Math 2.0

Statistics Definition

Lasso

Builds on Ordinary least squaresLeast squaresConvex function

Definition

Let XX be a real n×pn \times p matrix, let y∈ℝny \in \R^n, and let λ>0\lambda > 0. For b∈ℝpb \in \R^p write ∥b∥1=∑j=1p∣bj∣\norm{b}_1 = \sum_{j=1}^p \abs{b_j} and let ∥⋅∥2\norm{\cdot}_2 be the Euclidean norm. A lasso estimate with parameter λ\lambda is a minimiser over b∈ℝpb \in \R^p of 12∥y−Xb∥22+λ∥b∥1.\frac{1}{2} \norm{y - X b}_2^2 + \lambda \norm{b}_1.

Remarks

The objective is convex and tends to infinity as ∥b∥1→∞\norm{b}_1 \to \infty, so a minimiser exists. It need not be unique when the columns of XX are linearly dependent. There is no closed formula in general; the estimate is computed by coordinate descent or by the LARS algorithm. Authors scale the objective in different ways, for example with 12n\frac{1}{2n} in front of the squared norm, which only rescales λ\lambda.

Example: assume XTX=IpX^T X = I_p and put z=XTyz = X^T y, the ordinary least squares estimate. Then ∥y−Xb∥22=∥z−b∥22+const\norm{y - Xb}_2^2 = \norm{z - b}_2^2 + \text{const}, and the problem splits into the pp problems of minimising 12(zj−bj)2+λ∣bj∣\frac{1}{2}(z_j - b_j)^2 + \lambda \abs{b_j}. The solution is the soft thresholding β^j=sgn⁡(zj)max⁡(∣zj∣−λ,0)\hat\beta_j = \sgn(z_j) \max(\abs{z_j} - \lambda, 0). So every jj with ∣zj∣≤λ\abs{z_j} \le \lambda gets β^j=0\hat\beta_j = 0.

Non-example: with the squared norm ∥b∥22\norm{b}_2^2 in place of ∥b∥1\norm{b}_1, the same orthonormal case gives β^j=zj/(1+2λ)\hat\beta_j = z_j / (1 + 2\lambda), which is never 00 when zj≠0z_j \ne 0; that is ridge regression, not the lasso.

Equivalent form: for each λ>0\lambda > 0 and each lasso estimate β^\hat\beta, the vector β^\hat\beta minimises ∥y−Xb∥22\norm{y - Xb}_2^2 under the constraint ∥b∥1≤∥β^∥1\norm{b}_1 \le \norm{\hat\beta}_1.

Reading path

To understand this page from the ground up, read these 22 pages in order. The foundations come first.

Show the path as a graph
Convex function, concept, no evidence levelConvex functionconceptMatrix, definition, no evidence levelMatrixdefinitionOrdinary least squares, concept, no evidence levelOrdinary least squaresconceptVector space, definition, no evidence levelVector spacedefinitionTranspose, definition, no evidence levelTransposedefinitionInner product, definition, no evidence levelInner productdefinitionLinear map, definition, no evidence levelLinear mapdefinitionLinear subspace, definition, no evidence levelLinear subspacedefinitionNorm, definition, no evidence levelNormdefinitionInner product space, definition, no evidence levelInner product spacedefinitionOrthogonal vectors, definition, no evidence levelOrthogonal vectorsdefinitionEndomorphism, definition, no evidence levelEndomorphismdefinitionSum of subspaces, definition, no evidence levelSum of subspacesdefinitionNorm induced by an inner product, definition, no evidence levelNorm induced by an in…definitionOrthogonal complement, definition, no evidence levelOrthogonal complementdefinitionDirect sum of subspaces, definition, no evidence levelDirect sum of subspac…definitionA space is the direct sum of a subspace and its orthogonal complement, statement, no evidence levelA space is the direct…statementProjection, definition, no evidence levelProjectiondefinitionOrthogonal projection, definition, no evidence levelOrthogonal projectiondefinitionOrthogonal projection is the closest point, statement, no evidence levelOrthogonal projection…statementLeast squares, concept, no evidence levelLeast squaresconceptLasso, definition, no evidence levelLassodefinition
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Convex function concept
  2. Matrix definition
  3. Ordinary least squares concept
  4. Vector space definition
  5. Transpose definition
  6. Inner product definition
  7. Linear map definition
  8. Linear subspace definition
  9. Norm definition
  10. Inner product space definition
  11. Orthogonal vectors definition
  12. Endomorphism definition
  13. Sum of subspaces definition
  14. Norm induced by an inner product definition
  15. Orthogonal complement definition
  16. Direct sum of subspaces definition
  17. A space is the direct sum of a subspace and its orthogonal complement statement
  18. Projection definition
  19. Orthogonal projection definition
  20. Orthogonal projection is the closest point statement
  21. Least squares concept
  22. Lasso definition

Further reading

  1. Web https://en.wikipedia.org/wiki/Lasso_(statistics)
About this page
TagV6XGZQ0GR1
URIm2://V6XGZQ0GR1
Kinddefinition
WritingW0 stub
MSC62J07, 62J05
DefinesLasso
UsesOrdinary least squares, Least squares, Convex function

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)
  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.