Median and Mad Revisited with an Online Estimator
anthonylloyd.github.io
Median and Mad Revisited with an Online Estimator
1–10 of 10 posts
Re: Median and Mad Revisited with an Online Estimator
#2Re: Median and Mad Revisited with an Online Estimator
#3Re: Median and Mad Revisited with an Online Estimator
#4Happy to answer questions if anything is not clear or discuss.
Re: Median and Mad Revisited with an Online Estimator
#5MAD being mean absolute deviation https://en.m.wikipedia.org/wiki/Median_absolute_deviation
Here's a SE discussion with people using the term inconsistently without even noticing. https://datascience.stackexchange.com/questions/42760/mad-vs...
It's absurd to use ambiguous acronyms like this.
Re: Median and Mad Revisited with an Online Estimator
#6Happy to answer questions if anything is not clear or discuss.
Re: Median and Mad Revisited with an Online Estimator
#7Happy to answer questions if anything is not clear or discuss.
What is MAD?
Discussed in the previous post: http://anthonylloyd.github.io/blog/2016/10/21/MAD-Outliers
It's roughly the range around the median where half the sample is within (since you can do 2 sided MAD also).
Re: Median and Mad Revisited with an Online Estimator
#8Happy to answer questions if anything is not clear or discuss.
Would you happen the memory complexity of this algorithm? I maintain an online machine learning library written in Python, called creme, where we implement online statistics. We have a generic onine algorithm for estimating quantiles, and so a specific algorithm for estimating medians would be welcome. I'm always on the lookout for such online algorithms.
See here for quantiles: https://stackoverflow.com/questions/1058813/on-line-iterator...
The P^2 algorithm used in creme is interesting. For the median it would give a 2 sided median deviation. Maybe this could be changed slightly to be symmetric and give Median and MAD. I'll look into.
Re: Median and Mad Revisited with an Online Estimator
#9Happy to answer questions if anything is not clear or discuss.
Re: Median and Mad Revisited with an Online Estimator
#10Happy to answer questions if anything is not clear or discuss.
Can you link to a proof of the equation starting at "The standard error of the sample Median approximates to"?