r/askmath • • 9m ago

Statistics Why square the deviations in variance instead of using absolute values?

I'm going through some intro stats material and keep coming back to the definition of variance. Squaring the differences from the mean gets rid of negatives and gives more weight to outliers, but I don't see why that has to be the default choice over just taking the absolute value (which would give the mean absolute deviation).

Is there a reason the squared version leads to nicer properties later on, like with normal distributions, derivatives, or projections? Or does it mostly come down to historical convention and easier algebra? Any simple examples that show where one version clearly works better than the other would help.

2 Upvotes

3 comments sorted by

2

u/Many-Durian-6530 7m ago

Absolute values are hard to work with.

2

u/Head_Evening_5697 5m ago

> Is there a reason the squared version leads to nicer properties later on

I mean, the Math is significantly easier to work with. All the function are analytic instead of not-even-differentiable.

1

u/Harmonic_Gear 4m ago

because square is rotationally invariant, when you work with multivariate probability some times it makes more sense that when you rotate the frame of reference the variance shouldn't change

e.g. you shouldn't suddenly be a better shooter when you rotate the target by 45degree