I have an array of measurements, some of those measurements are faulty, so if I do a min-max search, I get those faulty values.
I'm trying to filter them out by finding 1% min and 99% max quantiles.
I don't want to sort the data
How can I find the value at which 99% of the data is above and value at which 99% of the data is below?
Can I do it using weighted averages?