An Introduction to the Median
Reprinted from Jianlin Su’s article “An Introduction to the Median“. The annotations in this post were added by me.
I recently revisited the concept of the median, so I decided to write down the key points while they are still fresh.
When removing or clipping outliers, we often need a “baseline.” For example, for a batch of nonnegative data, we may regard any value greater than 50 times the baseline as an outlier. So how should that baseline be chosen? A common choice is the mean, but the mean is easily pulled away by outliers. As a result, using it as the baseline may bias us toward those outliers and cause some problematic results to be missed. In such cases, the median can be a better baseline.

![[AMM Quant Deep Dive 01] Understanding the Economic Essence of AMMs: From Impermanent Loss (IL) to Loss-Versus-Rebalancing (LVR)](/./AMM1/cover.webp)



