At our disposal we have avg, max, last, min but it would be nice to have the function 'median'.
There's an exact definition for median:
I would prefer some hybrid function of average and median to get best results....
I want to leave the exact implementation open for discussion, but I always had good results when I dismissed 20% of the low values and 20% of the high values and take the average value of what's left.
When testing the speed of DNS or the ping latency the chances to get a false alert is much smaller. Normally you would do this by changing the height of the threshold, but this makes it much less susceptible to a real problem.....
There's an exact definition for median:
I would prefer some hybrid function of average and median to get best results....
I want to leave the exact implementation open for discussion, but I always had good results when I dismissed 20% of the low values and 20% of the high values and take the average value of what's left.
When testing the speed of DNS or the ping latency the chances to get a false alert is much smaller. Normally you would do this by changing the height of the threshold, but this makes it much less susceptible to a real problem.....
Comment