ArticleslgStudy

science

Deming regression

Deming regression is a science 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 Deming regression rather than just read about it. In short: In statistics, Deming regression, named after W. Edwards Deming, is an errors-in-variables model that tries to find the line of best fit for a two-dimensional data set.

Deming regression — main illustration
Deming regression — illustration

Key takeaways

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

Reference excerpt

In statistics, Deming regression, named after W. Edwards Deming, is an errors-in-variables model that tries to find the line of best fit for a two-dimensional data set. It differs from the simple linear regression in that it accounts for errors in observations on both the x- and the y- axis. It is a special case of total least squares, which allows for any number of predictors and a more complicated error structure. Deming regression is equivalent to the maximum likelihood estimation of an errors-in-variables model in which the errors for the two variables are assumed to be independent and normally distributed, and the ratio of their variances, denoted δ, is known. In practice, this ratio might be estimated from related data-sources; however the regression procedure takes no account for possible errors in estimating this ratio. The Deming regression is only slightly more difficult to compute than the simple linear regression. Most statistical software packages used in clinical chemistry offer Deming regression. The model was originally introduced by Adcock (1878) who considered the case δ = 1, and then more generally by Kummell (1879) with arbitrary δ. However their ideas remained largely unnoticed for more than 50 years, until they were revived by Koopmans (1936) and later propagated even more by Deming (1943). The latter book became so popular in clinical chemistry and related fields that the method was even dubbed Deming regression in those fields.

Specification Assume that the available data (yi, xi) are measured observations of the "true" values (yi*, xi*), which lie on the regression line:

yi=yi∗+εi,xi=xi∗+ηi, where errors ε and η are independent and the ratio of their variances is assumed to be known:

δ=σε2ση2. In practice, the variances of the x and y parameters are often unknown, which complicates the estimate of δ. Note that when the measurement method for x and y is the same, these variances are likely to be equal, so δ=1 for this case. We seek to find the line of "best fit"

y∗=β0+β1x∗, such that the weighted sum of squared residuals of the model is minimized:

SSR=∑i=1n(εi2σε2+ηi2ση2)=1σϵ2∑i=1n((yi−β0−β1xi∗)2+δ(xi−xi∗)2) → minβ0,β1,x1∗,…,xn∗SSR See Jensen (2007) for a full derivation.

Solution The solution can be expressed in terms of the second-degree sample moments. That is, we first calculate the following quantities (all sums go from i = 1 to n):

x‾=1n∑xiy‾=1n∑yi,sxx=1n∑(xi−x‾)2=x2‾−x‾2,sxy=1n∑(xi−x‾)(yi−y‾)=xy‾−x‾y‾,syy=1n∑(yi−y‾)2=y2‾−y‾2. Finally, the least-squares estimates of model's parameters will be

β̂1=syy−δsxx+(syy−δsxx)2+4δsxy22sxy,β̂0=y‾−β̂1x‾,x̂i∗=xi+β̂1β̂12+δ(yi−β̂0−β̂1xi).

Orthogonal regression For the case of equal error variances, i.e., when δ=1, Deming regression becomes orthogonal regression: it minimizes the sum of squared perpendicular distances from the data points to the regression line. In this case, denote each observation as a point zj=xj+iyj in the complex plane (i.e., the point (xj,yj) where i is the imaginary unit). Denote as S=∑(zj−z‾)2 the sum of the squared differences of the data points from the centroid z‾=1n∑zj (also denoted in complex coordinates), which is the point whose horizontal and vertical locations are the averages of those of the data points. Then:

If S=0, then every line through the centroid is a line of best orthogonal fit. If S≠0, the orthogonal regression line goes through the centroid and is parallel to the vector from the origin to S. A trigonometric representation of the orthogonal regression line was given by Coolidge in 1913. The distance can also be calculated using the more typical equation of a line, given as y=mx+k.

Application In the case of three non-collinear points in the plane, the triangle with these points as its vertices has a unique Steiner inellipse that is tangent to the triangle's sides at their midpoints. The major axis of this ellipse falls on the orthogonal regression line for the three vertices. The quantification of a biological cell's intrinsic cellular noise can be quantified upon applying Deming regression to the observed behavior of a two reporter synthetic biological circuit. When humans are asked to draw a linear regression on a scatterplot by guessing, their answers are closer to orthogonal regression than to ordinary least squares regression.

Scale-invariant version

The geometric mean functional relationship is a case of the Deming regression where δ = σ²x/σ²y. It assumes that both variables have the same reliability, i.e. σy/σε = σx/ση. The resulting slope is the geometric mean of the ordinary least squares slope and the reverse least squares slope, which makes it easy to calculate using existing tools. It has been recommended for use in biology. This method is invariant under scaling, translation, and interchange of variables, the only method that depend on only first and second moments to have this property.

York regression The York regression extends Deming regression by allowing correlated errors in x and y.

See also Line fitting Regression dilution

References Notes

… excerpt ends here. Continue reading the full article.

Illustrations

Deming regression: Deming regression. The red lines show the error in both x and y. This is different from the traditional least squares method, which measures error parallel to the y axis. The case shown, with deviations measured perpendicularly, arises when errors in x and y have equal variances.
Deming regression. The red lines show the error in both x and y. This is different from the traditional least squares method, which measures error parallel to the y axis. The case shown, with deviations measured perpendicularly, arises when errors in x and y have equal variances.

Worked examples

Example 1 — a first encounter with Deming regression

Start with the simplest possible case. Write down what Deming regression claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, 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 Deming 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 Deming 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 Deming regression

In research
Deming regression appears in science 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 Deming 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
Deming regression is common in secondary-school and first-year university syllabi. It links to neighbouring topics Curve fitting, Regression analysis, so understanding it makes those chapters shorter.
In everyday life
Look for Deming 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.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Deming regression” →

How to study Deming regression in 20 minutes

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

Frequently asked questions

What is Deming regression in simple terms?

In statistics, Deming regression, named after W. Edwards Deming, is an errors-in-variables model that tries to find the line of best fit for a two-dimensional data set.

Why does Deming regression matter?

Because it connects several science 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 Deming 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 Deming regression.

Tags

  • Curve fitting
  • Regression analysis

Keep exploring