logoalt Hacker News

NooneAtAll3today at 1:51 AM1 replyview on HN

I thought this was going to be about computing (a+b)/2 avoiding overflows


Replies

foobar1962today at 1:56 AM

That's average or mean. Median is the middle value.

From the article:

> It can lead to some discussion about statistics and why you might prefer a median to a mean in most cases.

My best example for median vs mean is property prices, where very expensive properties will skew the mean (average value) upwards but the median (middle value) will remain about the same.

show 3 replies