Re: Calculating Standard Deviation
- From: sunburned.surveyor@xxxxxxxxx
- Date: 21 Mar 2006 11:06:05 -0800
Thanks you Gordon and Robert. I understand this better now. I will take
another look at it when I become more familiar with the subject of
least squares as a whole.
I'll check out the Google searches that you mentioned.
The Sunburned Surveyor
Gordon Sande wrote:
On 2006-03-20 17:30:59 -0400, sunburned.surveyor@xxxxxxxxx said:
Here is the first of my statistics/least squares questions...
When calculating the standard deviation for a set of values you use the
sum of all the residuals squared.
The usual technical definition. More general notions of spread are not
called standard deviations.
Is this done to remove the tendency for residuals that result from
random errors to sum to zero?
Usually fitting is designed to make the sum of the residuals zero.
Not just tend to but be exactly zero!
If this is correct, why is the sum of the absolute value of the
residuals not used?
It often is. Ask google about L1 norm fitting. Or Laplacian errors
instead of Gaussian errors. (Laplace is also called double exponential.)
I should not that the square root of the sum of the residuals squared
is not the same as the sum of the absolute value of the residuals. (So
the two different methods result in different values for the standard
deviation.)
The L2 (square root of sum of squares) and L1 (sum of absolute values)
norms are close but not the same. If you make the guess that there a whole
lot more norms of the L(whatever) sort you have been watching closely
and will go far. They often are called Lp norms as p goes from 1 to
infinity. Ask google about Minkowski norms but expect an awfull lot of
very abstract functional analysis to show up.
If there is another reason why the sum of the residuals squared is used
when computing the standard deviation, instead of the sum of the
absolute value of the residuals?
Mostly history. And ease of calculation and theory. Ask google about
robust statistics. And resistant statistics. Be prepared to see the
name of John W. Tukey come up repeatedly. L1 based fitting is becoming
more available but still lags in ease of theory and common acceptance.
Ask google for "The Gaussian Hare and the Laplacian Tortoise" for one
view.
Thanks,
The Sunburned Surveyor
.
- Follow-Ups:
- Re: Calculating Standard Deviation
- From: David L. Wilson
- Re: Calculating Standard Deviation
- References:
- Calculating Standard Deviation
- From: sunburned . surveyor
- Re: Calculating Standard Deviation
- From: Gordon Sande
- Calculating Standard Deviation
- Prev by Date: Re: help: how to find all zero roots of a non-linear equation in a given interval
- Next by Date: GMRES
- Previous by thread: Re: Calculating Standard Deviation
- Next by thread: Re: Calculating Standard Deviation
- Index(es):
Relevant Pages
|