image
Physics Forums Logo
image
image
* Register * Upgrade Blogs Library Staff Rules Mark Forums Read
image
image   image
image

Go Back   Physics Forums > Mathematics > General Math


Reply

image Statistic deviation. Share It Thread Tools Search this Thread image
Old Jun24-09, 03:11 PM                  #1
icystrike

icystrike is Online:
Posts: 134
Statistic deviation.

I went for a lecture and the lecturer said that the square of the difference between the x sub i and the mean is the take precaution of the negative value. This has been bugging me , i was wondering why dont they just take absolute because there is a difference between :
LaTeX Code: \\sqrt{\\frac{\\sum(x-\\mu)^2}{f}} andLaTeX Code: \\frac{\\sum \\left|(x-\\mu)\\right|}{f}
  Reply With Quote
Old Jun24-09, 05:07 PM                  #2
statdad

statdad is Offline:
Posts: 703
Recognitions:
Homework Helper Homework Helper
Re: Statistic deviation.

Yes, there is a difference, as

LaTeX Code: <BR>\\sqrt{\\sum(x-\\mu)^2} \\ne \\sum |x - \\mu |<BR>

There is actually quite a history about whether a measure based on

LaTeX Code: <BR>\\sqrt{\\frac{\\sum (x-\\mu)^2 }{f}}<BR>

or

LaTeX Code: <BR>\\sqrt{\\frac{\\sum |x-\\mu|}{f}}<BR>

should be used. Basically, the measure based on the sum of squared deviations won out because, statistically, when it is assumed that the data are drawn from a normal distribution (equivalently, when it is assumed the random noise is Gaussian).
  Reply With Quote
Old Jun25-09, 02:49 AM                  #3
icystrike

icystrike is Online:
Posts: 134
Re: Statistic deviation.

Originally Posted by statdad View Post
Basically, the measure based on the sum of squared deviations won out because, statistically, when it is assumed that the data are drawn from a normal distribution (equivalently, when it is assumed the random noise is Gaussian).
Thanks for your help
Random noise, i got to check this out !
  Reply With Quote
Old Jun25-09, 07:40 AM                  #4
boboYO

boboYO is Offline:
Posts: 40
Re: Statistic deviation.

heh, i remember my stats lecturer said that too.
an analogy can be drawn with why we take the squares of the sides (pythagoras) to work out the hypotenuse and not the absolute value.
  Reply With Quote
Old Jun25-09, 08:47 AM                  #5
daviddoria

daviddoria is Offline:
Posts: 74
Re: Statistic deviation.

The squared distance is also used because it is continuous, where the absolute distance function has a discontinuity. This is a big problem in optimization.
  Reply With Quote
Old Jun25-09, 09:54 PM                  #6
statdad

statdad is Offline:
Posts: 703
Recognitions:
Homework Helper Homework Helper
Re: Statistic deviation.

Originally Posted by daviddoria View Post
The squared distance is also used because it is continuous, where the absolute distance function has a discontinuity. This is a big problem in optimization.
Not really the case in statistics - the median, median deviation, and other procedures use the absolute value.
  Reply With Quote
Old Jun26-09, 06:12 AM                  #7
HallsofIvy

PF Mentor

HallsofIvy is Offline:
Posts: 24,778
Re: Statistic deviation.

Originally Posted by daviddoria View Post
The squared distance is also used because it is continuous, where the absolute distance function has a discontinuity. This is a big problem in optimization.
The absolute distance function does not have a derivative at a point. There is no discontinuity.
  Reply With Quote
Old Jun26-09, 06:14 AM                  #8
HallsofIvy

PF Mentor

HallsofIvy is Offline:
Posts: 24,778
Re: Statistic deviation.

Originally Posted by statdad View Post
Yes, there is a difference, as

LaTeX Code: <BR>\\sqrt{\\sum(x-\\mu)^2} \\ne \\sum |x - \\mu |<BR>

There is actually quite a history about whether a measure based on

LaTeX Code: <BR>\\sqrt{\\frac{\\sum (x-\\mu)^2 }{f}}<BR>

or

LaTeX Code: <BR>\\sqrt{\\frac{\\sum |x-\\mu|}{f}}<BR>
When you sum the absolute values, you should not have a square root.

should be used. Basically, the measure based on the sum of squared deviations won out because, statistically, when it is assumed that the data are drawn from a normal distribution (equivalently, when it is assumed the random noise is Gaussian).
There is a third used occasionally:
LaTeX Code: \\frac{max |x-\\mu|}{f}

The end of your last sentence seems to be missing!
  Reply With Quote
Old Jun26-09, 08:07 AM                  #9
statdad

statdad is Offline:
Posts: 703
Recognitions:
Homework Helper Homework Helper
Re: Statistic deviation.

Halls, i wish i had your proof-reading skills. Thanks for catching my missed comment.

You are also correct that the absolute value expression has no derivative, but again, for statistics, I'd add that really isn't a problem.

Why did I miss the unneeded square root? Let me know when you figure it out, because I can't.
  Reply With Quote
image image
Reply
Thread Tools


Similar Threads for: Statistic deviation.
Thread Thread Starter Forum Replies Last Post
Standard deviation versus absolute mean deviation Twinbee Set Theory, Logic, Probability, Statistics 2 Jun6-09 02:24 PM
Testing a Statistic without standard deviation? KatieLynn Calculus & Beyond 1 Nov30-08 08:08 PM
Mean Absolute Deviation/Standard Deviation Ratio kimberley Set Theory, Logic, Probability, Statistics 4 Nov29-07 11:12 AM
Statistic Help!!! lopram General Math 1 Nov21-06 01:50 PM
Statistic help pls PrudensOptimus Set Theory, Logic, Probability, Statistics 2 Apr3-05 05:49 PM

Powered by vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd. © 2009 Physics Forums
Sciam | physorgPhysorg.com Science News Partner
image
image   image