Hacker News new | ask | show | jobs
by willvarfar 392 days ago
Squaring is a really good way to make the common-but-small numbers have bigger representation than the outlying-but-large numbers.

I just did a quick google and first real result was this blog post with a good explanation with some good illustrations https://jlmc.medium.com/understanding-three-simple-statistic...

Its the very first illustration at the top of that blog post that 'clicks' for me. Hope it helps!

The inverse is also good: mean-square-error is the good way for comparing how similar two datasets (e.g. two images) are.

1 comments

The geometric mean of n numbers is the n-th root of the product of all numbers. The mean square error is the sum of the squares of all numbers, divided by n. (I.e. the arithmetic mean of the squares.) They're not the same.
I'm not gonna edit what I wrote but you are interpreting it too way too literally. I was not describing the implementation of anything, I was just giving a link that explains why thinking about things in terms of area (geometry) is popular in stats. Its a bit like the epiphany that histograms don't need to be bars of equal width.