Influence function of the sample median (source code)

= Influence function of the sample median

At a distribution with positive density $f$ at its median $m$, the median influence function is $\operatorname{sgn}(x-m)/(2f(m))$ away from $m$.