There is “Mean absolute deviation” (MAD) which is exactly what you are describing.
I can think of two reasons why variance has become the standard:
From statistical purposes it is often desired that variance puts a higher weight on extreme observations compared to MAD.
From a mathematical point of view the square function is preferred as the square function is fully differentiable ( abs() isn’t differentiable at 0). Hence, making variance easier to handle in more complicated mathematical applications.
We can make a pattern:
Mean is the average value of x
Variance is the average value of x^2
Skew is the average value of x^3*
Kurtosis is the average value of x^4*
All of these values can describe statistically useful information
*The formulas are more complicated than this, basically accounting for the earlier moments. For example, Variance is actually the average of x^2-(average of x)^2
One reason for using variance, instead of some differently-defined measure of how spread out a data set or probability distribution is, is that if you are adding together random variables that vary in uncorrelated ways (which is a common thing in a lot of real-world applications) then the variance of this sum is just the sum of the individual variances. It makes some calculations simpler.
My stats professor told us absolute values can be used but the math is harder. I see that’s elaborated on already.
Where absolute is used is in electrical engineering to make digital filters. The standard method uses Chebyshev approximation of the second kind followed by the Remez exchange algorithm. This finds the best fitting polynomial with absolute error.
Variances have a lot of useful properties, re: distributions and random variables that are easy to calculate. For some of these measurements, the mean absolute difference might have similar properties, but usually variance is cleaner and have more fundamental properties.
For example, for independent random variables X and Y:
Mean(X+Y)=Mean(X)+Mean(Y)
Mean(X-Y)=Mean(X)-Mean(Y)
Var(X+Y)=Var(X)+Var(Y)
Var(X-Y)=Var(X)+Var(Y)
Latest Answers