ArticleslgStudy

mathematics

Least absolute deviations

Least absolute deviations 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 Least absolute deviations rather than just read about it. In short: Least absolute deviations (LAD), also known as least absolute errors (LAE), least absolute residuals (LAR), or least absolute values (LAV), is a statistical optimality criterion and a statistical optimization technique based on minimizing the sum of absolute deviations (also sum of absolute residuals or sum of absolute errors) or the L1 norm of such values. It is analogous to the least squares technique, except that…

Least absolute deviations — main illustration
Least absolute deviations — illustration

Key takeaways

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

Reference excerpt

Least absolute deviations (LAD), also known as least absolute errors (LAE), least absolute residuals (LAR), or least absolute values (LAV), is a statistical optimality criterion and a statistical optimization technique based on minimizing the sum of absolute deviations (also sum of absolute residuals or sum of absolute errors) or the L1 norm of such values. It is analogous to the least squares technique, except that it is based on absolute values instead of squared values. It attempts to find a function which closely approximates a set of data by minimizing residuals between points generated by the function and corresponding data points. The LAD estimate also arises as the maximum likelihood estimate if the errors have a Laplace distribution. It was introduced in 1757 by Roger Joseph Boscovich.

Formulation Suppose that the data set consists of the points (xi, yi) with i = 1, 2, ..., n. We want to find a function f such that f ( x i ) ≈ y i . {\displaystyle f(x_{i})\approx y_{i}.}

To attain this goal, we suppose that the function f is of a particular form containing some parameters that need to be determined. For instance, the simplest form would be linear: f(x) = bx + c, where b and c are parameters whose values are not known but which we would like to estimate. Less simply, suppose that f(x) is quadratic, meaning that f(x) = ax2 + bx + c, where a, b and c are not yet known. (More generally, there could be not just one explanator x, but rather multiple explanators, all appearing as arguments of the function f.) We now seek estimated values of the unknown parameters that minimize the sum of the absolute values of the residuals:

S = ∑ i = 1 n | y i − f ( x i ) | . {\displaystyle S=\sum _{i=1}^{n}|y_{i}-f(x_{i})|.}

Solution Though the idea of least absolute deviations regression is just as straightforward as that of least squares regression, the least absolute deviations line is not as simple to compute efficiently. Unlike least squares regression, least absolute deviations regression does not have an analytical solving method. Therefore, an iterative approach is required. The following is an enumeration of some least absolute deviations solving methods.

Simplex-based methods (such as the Barrodale-Roberts algorithm) Because the problem is a linear program, any of the many linear programming techniques (including the simplex method as well as others) can be applied. Iteratively re-weighted least squares Wesolowsky's direct descent method Li-Arce's maximum likelihood approach Recursive reduction of dimensionality approach Check all combinations of point-to-point lines for minimum sum of errors Simplex-based methods are the “preferred” way to solve the least absolute deviations problem. A Simplex method is a method for solving a problem in linear programming. The most popular algorithm is the Barrodale-Roberts modified Simplex algorithm. The algorithms for IRLS, Wesolowsky's Method, and Li's Method can be found in Appendix A of among other methods. Checking all combinations of lines traversing any two (x,y) data points is another method of finding the least absolute deviations line. Since it is known that at least one least absolute deviations line traverses at least two data points, this method will find a line by comparing the SAE (Smallest Absolute Error over data points) of each line, and choosing the line with the smallest SAE. In addition, if multiple lines have the same, smallest SAE, then the lines outline the region of multiple solutions. Though simple, this final method is inefficient for large sets of data.

Solution using linear programming The problem can be solved using any linear programming technique on the following problem specification. We wish to

Minimize ∑ i = 1 n | y i − a 0 − a 1 x i 1 − a 2 x i 2 − ⋯ − a k x i k | {\displaystyle {\text{Minimize}}\sum _{i=1}^{n}|y_{i}-a_{0}-a_{1}x_{i1}-a_{2}x_{i2}-\cdots -a_{k}x_{ik}|}

with respect to the choice of the values of the parameters a 0 , … , a k {\displaystyle a_{0},\ldots ,a_{k}} , where yi is the value of the ith observation of the dependent variable, and xij is the value of the ith observation of the jth independent variable (j = 1,...,k). We rewrite this problem in terms of artificial variables ui as

Minimize ∑ i = 1 n u i {\displaystyle {\text{Minimize}}\sum _{i=1}^{n}u_{i}}

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Least absolute deviations

Start with the simplest possible case. Write down what Least absolute deviations 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 Least absolute deviations 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 Least absolute deviations 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 Least absolute deviations

In research
Least absolute deviations 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 Least absolute deviations 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
Least absolute deviations is common in secondary-school and first-year university syllabi. It links to neighbouring topics Least squares, Point estimation performance, Robust regression, so understanding it makes those chapters shorter.
In everyday life
Look for Least absolute deviations 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 Least absolute deviations in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Least absolute deviations 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 Least absolute deviations out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Least absolute deviations in simple terms?

Least absolute deviations (LAD), also known as least absolute errors (LAE), least absolute residuals (LAR), or least absolute values (LAV), is a statistical optimality criterion and a statistical optimization technique based on minimizing the sum of absolute deviations (also sum of absolute residua…

Why does Least absolute deviations 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 Least absolute deviations?

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 Least absolute deviations.

Tags

  • Least squares
  • Point estimation performance
  • Robust regression
  • Robust statistics

Keep exploring