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. 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 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.[1] 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.[2]

Specification edit

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

 

where errors ε and η are independent and the ratio of their variances is assumed to be known:

 

In practice, the variances of the   and   parameters are often unknown, which complicates the estimate of  . Note that when the measurement method for   and   is the same, these variances are likely to be equal, so   for this case.

We seek to find the line of "best fit"

 

such that the weighted sum of squared residuals of the model is minimized:[3]

 

See Jensen (2007) for a full derivation.

Solution edit

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):

 

Finally, the least-squares estimates of model's parameters will be[4]

 

Orthogonal regression edit

For the case of equal error variances, i.e., when  , 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   in the complex plane (i.e., the point   where   is the imaginary unit). Denote as   the sum of the squared differences of the data points from the centroid   (also denoted in complex coordinates), which is the point whose horizontal and vertical locations are the averages of those of the data points. Then:[5]

  • If  , then every line through the centroid is a line of best orthogonal fit.
  • If  , the orthogonal regression line goes through the centroid and is parallel to the vector from the origin to  .

A trigonometric representation of the orthogonal regression line was given by Coolidge in 1913.[6]

Application edit

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.[7] 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.[8]

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.[9]

York regression edit

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

See also edit

References edit

Notes
  1. ^ Linnet 1993.
  2. ^ Cornbleet & Gochman 1979.
  3. ^ Fuller 1987, Ch. 1.3.3.
  4. ^ Glaister 2001.
  5. ^ Minda & Phelps 2008, Theorem 2.3.
  6. ^ Coolidge 1913.
  7. ^ Minda & Phelps 2008, Corollary 2.4.
  8. ^ Quarton 2020.
  9. ^ Ciccione, Lorenzo; Dehaene, Stanislas (August 2021). "Can humans perform mental regression on a graph? Accuracy and bias in the perception of scatterplots". Cognitive Psychology. 128: 101406. doi:10.1016/j.cogpsych.2021.101406.
  10. ^ York, D., Evensen, N. M., Martınez, M. L., and Delgado, J. D. B.: Unified equations for the slope, intercept, and standard errors of the best straight line, Am. J. Phys., 72, 367–375, https://doi.org/10.1119/1.1632486, 2004.
Bibliography