I have a set of values ${x_i}, i=1, \dots ,N$ of which I calculate the median M. I was wondering how I could calculate the error on this estimation.
On the net I found that it can be calculated as $1.2533\frac{\sigma}{\sqrt{N}}$ where $\sigma$ is the standard deviation. But I did not find references about it. So I do not understand why.. Could someone explain it to me?
I was thinking that I could use bootstrap to have an estimate of the error but I would like to avoid it because it would slow down a lot my analysis.
Also I was thinking to calculate the error on the median in this way $$\delta M = \sqrt{ \frac{\sum_i(x_i - M)^2}{N-1} } $$
Does it make sense?