Jump to content

Talk:Errors and residuals

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 68.236.121.54 (talk) at 20:50, 21 September 2012 ("fact" tag). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

WikiProject iconStatistics Start‑class High‑importance
WikiProject iconThis article is within the scope of WikiProject Statistics, a collaborative effort to improve the coverage of statistics on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
StartThis article has been rated as Start-class on Wikipedia's content assessment scale.
HighThis article has been rated as High-importance on the importance scale.
WikiProject iconMathematics Start‑class High‑priority
WikiProject iconThis article is within the scope of WikiProject Mathematics, a collaborative effort to improve the coverage of mathematics on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
StartThis article has been rated as Start-class on Wikipedia's content assessment scale.
HighThis article has been rated as High-priority on the project's priority scale.
WikiProject iconMeasurement (defunct)
WikiProject iconThis article is within the scope of WikiProject Measurement, a project which is currently considered to be defunct.

Additions by anon 193.206.152.72

This editor added a few paragraphs which seem to reflect a complete misunderstanding of the topic, perhaps due to confusion with a margin of error. I have moved them here in case anyone wants to discuss them further. The additions follow below. -- Avenue 11:56, 19 July 2006 (UTC)[reply]

This is false! Error is the uncertainity on a measurement of a quantity.
1) It is always a positive number!!!!!
2) As an example, when I tell you the time 3:45 pm I have uncertainity on the last digit, so I'll have an error of plus/minus 1'
3) I can evaluate the error from the distribution of quantities, for example via "minimum square method".
4) In the case of the minimum height I have 2 kind of errors: the error on the measurement of each single height, and the error on the average height of the population. The first one is a consequence of the instruments I use to measure it: if I can resolve mm, I'll have plus/minus 1mm, if I resolve cm I'll have plus/minus 1cm etc... The second one is calculated with statistical methods from the distribution of the heights (minimum square method).

Variance cancelling

The text says: "The σ appears in both the numerator and the denominator in those calculations and cancels. That is fortunate because in practice one would not know the value of σ2" -- but it is pretty unclear what calculations are being referred to since in the above equations this is not the case. --Richard Clegg 18:10, 24 July 2006 (UTC)[reply]

See Student's t-distribution, where one finds this:

The numerator has a normal distribution with standard deviation σ. The denominator is distributed as σ times a chi-distributed random variable with n − 1 degrees of freedom. So the standard deviation σ cancels, and the probability distribution of the expression above does not depend on σ. Michael Hardy 21:39, 24 July 2006 (UTC)[reply]

Explanation of Symbols Used?

The formula introduces two new symbols which are not defined anywhere in the article: and . Can someone please clarify what is meant by these symbols? --Dbmercer (talk) 14:46, 3 February 2010 (UTC)[reply]

Cleanup?

I see on the article itself that it is tagged for cleanup, but I don't see any tags here. Nor, frankly, do I see what needs cleaning (the article looks good to me). I am new here, what am I missing?Plf515 11:46, 24 November 2006 (UTC)plf515[reply]

Shouldn't the article begin with sentences defining what the terms mean? At present, it begins with sentences saying that the terms are confused with each other and that one is a misnomer. Tomgally 01:43, 20 January 2007 (UTC)[reply]

Simple Explanation

Is the following correct?:

In mathematics, a residual is the error in a result. If we wish to find x such that f(x)=0, given an approximation, y of x, the residual is 0−f(y) and can be computed. The error is xy; because x is unknown, the error cannot easily be computed.

As the article stands, it doesn't include residual outside of statistics (such as in approximation). If the above concise definition is correct, I'd like to add it near the top of this article. —Ben FrantzDale 21:31, 30 November 2006 (UTC)[reply]

It it's outside of statistics, it doesn't belong in an article with this title. And it doesn't look as if you're talking about the same concept. Michael Hardy 01:15, 21 January 2007 (UTC)[reply]

More precise

I think, section 1 needs to be more precise in explaining what n and N depict. maye 18:58, 8 March 2007 (UTC)[reply]

Maybe you meant more explicit? For now, it's just standard notation, known to everyone (except people who are neither statisticians nor probabilists) and no attempt is made to explain it, so such explanations cannot be made more precise. Michael Hardy 23:08, 8 March 2007 (UTC)[reply]

The introduction is questionable

References:

  1. Gene V Glass and Kenneth D. Hopkins. Statistical methods in education and psychology (second edition). Englewood Cliffs, NJ: Prentice-Hall, 1984.
  2. R. Dennis Cook. Residuals and Influence in Regression. New York: Chapman and Hall, 1982.

Glass & Hopkins (1984) is a widely known and successful university textbook, in which I cannot find any reference to the concepts explained in the introduction, which seem to be based on Cook (1982).

A "residual" exists if you perform a prediction an estimate based on a mathematical model, such as a regression equation (or the cost function of an optimization algorithm). A residual is the difference between an observed value and the estimated value.

The term "residual" and the expression "error of estimate" are used as synonims in the above mentioned textbook (page 121, par. 8.7). By the way, I slightly disagree with Glass & Hopkins, and I believe that the error of estimate should have opposite sign with respect to the residual: the error is in the estimate, rather than in the observed value.

The difference between the observation and the mean is a "deviation". Of course, if you like you can think of the mean as a regression equation with null regression coefficient (null slope) and constant output. Thus, the deviation from the mean can be regarded both as an error of estimate and a residual. Contrary to what is stated in the first paragraph of the introduction, there's an error even when we refer to the sample mean (not only when we refer to the population mean).

Notice that the error of estimate depends on the method of estimate. If we use a (linear or non-linear, simple or multiple) regression based on population data, rather than just a population mean, we obtain a better estimate and a smaller (RMS) error. How can we justify the concept that the error is in the observation, rather than in the expected value (see second paragraph of introduction)?

Based on these concepts, I believe that the introduction of this article is highly questionable. The reference included in the article (Cook, 1982) may give a non-conventional definition of the above mentioned terminology. Unless you have other reliable and widely accepted references supporting that interpretation, I suggest to rewrite the introduction. Paolo.dL (talk) 14:29, 17 December 2007

"A residual exists if you perform a prediction based on a model."
Certainly it is standard to use the word "residuals" to refer to the differences between the observed values and the means estimated by least squares, even if one is not doing any prediction of future values. Michael Hardy (talk) 15:09, 17 December 2007 (UTC)[reply]

I am not sure about what you mean when you say "means estimated by least squares". Of course, the simple arithmetic mean has the property to minimize the sum of squared deviations. Also, as I wrote, a mean can be regarded as the simplest form of regression. As for the word "prediction", I used it as a synonym of "estimate", or "inference", without reference to the future. I believe that this (improper) generalization of the word is quite common. Paolo.dL (talk) 15:33, 17 December 2007 (UTC)[reply]

Summary: My main point is that the distinction between "residual" and "error" introduced in the article is questionable. A deviation from the mean can be regarded both as an error of estimate and a residual. As far as I know (cf. Glass & Hopkins, 1984), the very specific and strict definition given in the article of the generic word "error" is not standard. Moreover, it is not even valid for more specific concepts such as "random error", "error of estimate", "standard error of the mean"... Paolo.dL (talk) 18:33, 21 December 2007 (UTC)[reply]

Is there a reference to support the article's definition on error and residual? mezzaninelounge (talk) 06:43, 25 December 2007 (UTC)[reply]

OK, I'll add more references to the article. Here's one: Applied Linear Regression, Second Edition, by Sanford Weisberg, John Wiley & Sons, 1985, page 8:
"[...] observed fitting errors or residuals: the residual for the ith case, denoted by , is given by the equation
which should be compared to the equation for the statistical errors,
The difference betwee the ei's and the 's is important, as the residuals are observable and will be used to check assumptions, while the statistical errors are not observable."
Michael Hardy (talk) 18:41, 27 December 2007 (UTC)[reply]

Thank you, Michael. This reference uses the specific expression "statistical error" to indicate the concept that is generically referred to as "error" in the article. It also states that a residual is an error as well, namely a "fitting error". We all know about other uses of the generic word "error" in statistics (error of estimate, error of the mean). Thus, I substituted "statistical error" for "error" in the article. Notice that Wikipedia redirects the expression "statistical error" to this article. I am still not sure that the definition of "statistical error" is widely accepted, but I am not a statistician and I cannot give a final answer on this topic. Paolo.dL (talk) 20:47, 27 December 2007 (UTC)[reply]

An error is something we subtract to get the correct value

In my opinion, we still don't have a satisfactory answer to this question: how can we justify the concept that the statistical error is in the observation, rather than in the expected value? The explanation in the 2nd paragraph of the introduction does not convince me. I think everybody agrees that an error is something we subtract from the "wrong" value in order to obtain the "correct" value. For instance, I would say that a "fitting error" is the opposite of a residual (see previous section). Residual means "what we add to the predicted value to get the correct value or perfect fit", while "fitting error" means "what we shoud subtract from the predicted value to obtain the perfect fit"). A statistical error is properly an error only if an estimate based on a mathematical model (including linear regression) is supposed to be perfect. But any mathematical model is known to be imperfect, by definition! Why should our terminology imply that an estimate is more correct than the true value?

We do know that some statisticians describe the residual as an error (see references in previous section). Is there a good rationale? Is it just an improper (but standard) use of the word "error" in statistics, conflicting with the meaning of the word in all other contexts, including current language? Is this questionable terminological convention accepted by all statisticians?

Notice that, even in statistics, "error of the mean" is a proper use of the word "error" (something we subtract from the sample mean in order to get the population mean)... Paolo.dL (talk) 21:00, 27 December 2007 (UTC)[reply]

Quality

Good article. Thanks to the authors. --landroni (talk) 18:44, 25 March 2009 (UTC)[reply]

Disturbances

In Econometrics I often come accross the terms disturbances or discrepancies. I've created a redirect from Disturbance (statistics) to here, but I am not positively sure whether 'disturbances' point to errors or to residuals. According to a book I have, "disturbances u's are unobservable, so I would assume that it points to errors; it'd be better, however, for someone more informed that I am to do the editing (say, errors (also known as disturbances). --landroni (talk) 17:59, 14 April 2009 (UTC)[reply]

That is NOT an Example!

That example shows how to set up an equation to solve the residual but is done poorly because it does not define what all the variables stand for. How is anyone supposed to know what to plug in where by reading this article? It also isn't really an example because it doesn't actually put in numbers as examples and then come up with a solution as an example. —Preceding unsigned comment added by 71.82.67.87 (talk) 08:56, 4 June 2009 (UTC)[reply]

As far as what to plug in where, I think the article makes that clear, although it doesn't give an example with concrete numbers. It says you subtract the average of the observations in a sample from each of the observations, to get the residuals. And you subtract the average of the whole population, rather than the average of the sample, from each of the observations to get the errors. That tells you what numbers to plug in where.
It is indeed really an example, because not all cases look like the one described. A few more examples might help make that clear.
"What all the variables stand for" is there: X1, ..., Xn are the variables, and "what they stand for" is independent observations from a normally distributed population. Michael Hardy (talk) 21:36, 4 June 2009 (UTC)[reply]

"fact" tag

I see that someone recently added a "fact" tag. I think this can probably be found in the writings of Carl Gauss. I will look for it. Michael Hardy (talk) 19:41, 25 January 2010 (UTC)[reply]

way to complex intro

respectfully, the intro is way to complex; ok for later but words like univariate; almost by definition, such a word should not be used in a general encyclopedia