Lably
Skip to content

Errors-in-variables model

Regression models accounting for possible errors in independent variables

  • 13 min read
  • 4 chapters
Illustration of wikipedia:regression dilution (or attenuation bias) by a range of regression estimates in wikipedia:Errors-in-variables models . Two regression lines (red) bound the range of linear re
Rickedanielson · CC BY-SA 4.0

Related on Lably

Through Statistics, Regression analysis and Observational error

In the case when some regressors have been measured with errors, estimation based on the standard assumption leads to inconsistent estimates, meaning that the parameter estimates do not tend to the true values even in very large samples. For simple linear regression the effect is an underestimate of the coefficient, known as the attenuation bias. In non-linear models the direction of the bias is likely to be more complicated.

Motivating example

Consider a simple linear regression model of the form

yt=α+βxt∗+εt,t=1,…,T,

where xt∗ denotes the true but unobserved regressor. Instead, we observe this value with an error:

xt=xt∗+ηt

where the measurement error ηt is assumed to be independent of the true value xt∗.
A practical application is the standard school science experiment for Hooke's law, in which one estimates the relationship between the weight added to a spring and the amount by which the spring stretches.
If the yt′s are simply regressed on the xt′s (see simple linear regression), then the estimator for the slope coefficient is

β^x=1T∑t=1T(xt−x¯)(yt−y¯)1T∑t=1T(xt−x¯)2,

which converges as the sample size T increases without bound:

β^x→pCov⁡[xt,yt]Var⁡[xt]=βσx∗2σx∗2+ση2=β1+ση2/σx∗2.

This is in contrast to the "true" effect of β, estimated using the xt∗,:

β^=1T∑t=1T(xt∗−x¯)(yt−y¯)1T∑t=1T(xt∗−x¯)2,

Variances are non-negative, so that in the limit the estimated β^x is smaller than β^, an effect which statisticians call attenuation or regression dilution. Thus the ‘naïve’ least squares estimator β^x is an inconsistent estimator for β. However, β^x is a consistent estimator of the parameter required for a best linear predictor of y given the observed xt: in some applications this may be what is required, rather than an estimate of the 'true' regression coefficient β, although that would assume that the variance of the errors in the estimation and prediction is identical. This follows directly from the result quoted immediately above, and the fact that the regression coefficient relating the yt′s to the actually observed xt′s, in a simple linear regression, is given by

βx=Cov⁡[xt,yt]Var⁡[xt].

It is this coefficient, rather than β, that would be required for constructing a predictor of y based on an observed x which is subject to noise.

It can be argued that almost all existing data sets contain errors of different nature and magnitude, so that attenuation bias is extremely frequent (although in multivariate regression the direction of bias is ambiguous). Jerry Hausman sees this as an iron law of econometrics: "The magnitude of the estimate is usually smaller than expected."

Sign in to keep reading

3 more chapters are free with a Lably account.

More in Statistics