Modeladvanced
Errors-in-variables model
Also called measurement error model, Deming regression.
A regression model in which the predictors are observed with noise. Least squares is then biased toward zero, and Deming or orthogonal regression corrects it.
The errors-in-variables model is a regression in which the predictor is not observed exactly: the data contain , where is the true value and is measurement error. Ordinary least squares of on is then not consistent. Its slope converges to the true slope times the reliability ratio , so the effect looks weaker than it is; this is called attenuation. Without extra information the slope is not identified when all variables are normal. With extra information it can be estimated consistently. If the ratio of the two error variances is known, the maximum likelihood fit has a closed form, which Deming (1943) used. If the ratio is 1, the fit is orthogonal regression, which minimizes perpendicular distances and is computed by the singular value decomposition. A known reliability ratio, replicate measurements or an instrument are other ways to restore identification.
The machine
Data. Pairs , , generated as
where is the true predictor, the measurement error with mean 0 and variance , and the equation error with mean 0 and variance . The errors and are independent of each other, of the and across . This is the classical error model: the error is added to the true value and does not depend on it.
Two versions. In the structural model the are independent draws from a law with mean and variance . In the functional model the are fixed unknown numbers, one parameter for each observation.
Parameter space. in the structural model, with and nonnegative error variances. Extra information that restores identification is one of the following: the ratio is known; or the reliability ratio is known, for example from replicate measurements; or an instrument is observed that is correlated with but not with or .
Several predictors. With predictors, in , the covariance of and that of ; some rows and columns of are 0 for predictors measured without error.
What it counts
- The slope of the true predictor. This is the target. The slope of on the observed is a different quantity, , and it is the right target only for prediction of from future values of measured with the same error.
- The reliability ratio , the part of the variance of that is true signal.
- The error variance ratio , which fixes the direction in which the residuals are measured.
- The true values in the functional model; the fit gives estimates , the points on the fitted line that are nearest to the data in the metric that defines.
Relation to other models
- Ordinary regression is the case , or : then , and least squares is unbiased and is BLUE by the Gauss-Markov theorem.
- Reverse regression is the case , or : is exact, and the slope of on , inverted, is consistent.
- Orthogonal regression and total least squares. The case minimizes the sum of squared perpendicular distances to the line. In matrix form this is total least squares, solved by the singular value decomposition of the centred data matrix; the normal of the line is the right singular vector of the smallest singular value, and the line direction is the first principal component. There is no separate page for total least squares.
- Factor analysis. The structural model is a one-factor model: and are two noisy indicators of the factor . With only two indicators the factor analysis model is not identified, which is the same fact as Result 2 below.
- Instrumental variables. A variable correlated with and not with the errors identifies as a ratio of covariances; see instrumental variables estimation.
- Berkson error. If instead with independent of , as when a dose is set to and the true dose varies around it, least squares of on stays unbiased for in a linear model. The direction of the error decides which model applies.
- Weighted least squares fits a model where only has errors of unequal size; see weighted least squares.
Known results in the model
1. Attenuation (proved here). In the structural model with , the least squares slope satisfies
Proof. Here and . By the strong law of large numbers applied to the independent rows, and . By independence of , and , . The ratio of the limits is , since the limit of is positive.
So the bias does not shrink with . With , and , and the slope converges to 1.6. If is known, is consistent; this is a method of moments correction.
With predictors and an intercept, the same argument gives . Error in one predictor then biases the coefficients of the other predictors as well, when they are correlated with it; the direction of that bias depends on the correlations.
2. Not identified for normal data, and the bounds (proved here). Let be jointly normal. Then is bivariate normal, and its law fixes only the means and , , . Suppose . Every gives the same law with
and suitable means, and no outside the interval does.
Proof. The model gives , and . The three choices above satisfy these equations with , and they are valid variances exactly when and ; the interval is not empty, since by the Cauchy-Schwarz inequality. Conversely, any parameter set with has and , and then and force the interval.
So the data can bound the slope between the least squares slope of on and the inverse of the slope of on , but no estimator can do better without extra information. Reiersøl (1950) proved the converse direction, which is cited and not proved here: if the errors are normal and is not normal, is identified, because higher moments of then carry information.
3. The closed form for a known variance ratio (proved here). Let be known, and let , , be the sample moments. In the functional model with normal errors, the maximum likelihood estimate minimizes
over , and , and the minimizing slope is
Proof. For fixed and , put and . The term for is , a quadratic in with minimum at and minimum value . So the problem is to minimize . For fixed the best is , and the objective becomes with
Setting and simplifying gives . The product of its two roots is , so one root is positive and one is negative. At a root, the equation gives , which is smaller at the root with the same sign as ; that is the root with the plus sign. Since as and at that root is below , the root is the global minimum.
As , , the least squares slope; as , , the inverted reverse slope. In between, for , lies in the sample version of the interval of Result 2: the quadratic equals at and at . Since there and at the positive root, decreases as grows. With , is the mean squared perpendicular distance from the points to the line, and its minimum is the smallest eigenvalue of the matrix of sample moments, which is the squared smallest singular value of the centred data divided by . The estimator is consistent in the functional and in the structural model when is right (Fuller 1987, Chapter 1); this is cited. With a wrong it converges to a wrong slope inside the interval of Result 2.
4. Unknown variance ratio in the functional model (shown here). If is not known, the normal functional likelihood has no maximum: put every at , fix and let ; the factor grows without bound. So the functional model needs extra information, such as a known , before maximum likelihood makes sense.
5. Other corrections (cited). Carroll, Ruppert, Stefanski and Crainiceanu (2006) treat regression calibration, which replaces by an estimate of and is exact for linear models with normal ; simulation extrapolation, which adds more error in steps, watches how the estimate changes and extrapolates back to zero error; and instrumental variables. These also apply to nonlinear models such as logistic regression, where no closed form exists.
6. A worked example. Take and . The centred sums are , and , with and .
| method | slope | intercept | |
|---|---|---|---|
| least squares of on | 0.9 | 1.3 | |
| known ratio | 2 | 0.9639 | 1.1084 |
| orthogonal regression | 1 | 1 | 1 |
| known ratio | 0.5 | 1.0375 | 0.8875 |
| inverted reverse regression | 0 | 1.1111 | 0.6667 |
For the formula gives exactly. The residuals from the line are , so the sum of squared perpendicular distances is . This equals the smallest eigenvalue of , whose eigenvalues are 1 and 19; the eigenvector is the normal of the line. The fitted true values are . A grid search over the slope with step gives the same minimizers for each in the table.
References
- Wayne A. Fuller, Measurement Error Models, Wiley, 1987, Chapter 1 (one explanatory variable; the attenuation of least squares, identification, and estimation when the ratio of the error variances or the reliability ratio is known)
- Olav Reiersøl, Identifiability of a linear relation between variables which are subject to error, Econometrica 18(4), 1950, pp. 375 to 389, The whole paper (the slope of a straight line with errors in both variables is identified unless the true predictor is normal)
- W. Edwards Deming, Statistical Adjustment of Data, Wiley, 1943; Dover reprint, 1964, Parts A and B (curve fitting and the general least squares adjustment when all observed coordinates have errors with known relative weights)
- Raymond J. Carroll, David Ruppert, Leonard A. Stefanski and Ciprian M. Crainiceanu, Measurement Error in Nonlinear Models, A Modern Perspective, second edition, Chapman and Hall/CRC, 2006, Chapter 3 (linear regression and attenuation), Chapter 4 (regression calibration), Chapter 5 (simulation extrapolation) and Chapter 6 (instrumental variables)
- Gene H. Golub and Charles F. Van Loan, An analysis of the total least squares problem, SIAM Journal on Numerical Analysis 17(6), 1980, pp. 883 to 893, The whole paper (total least squares by the singular value decomposition)
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag TCKK8T Edit this page History Report an error Markdown