Apinger percentage precision question
-
I've been forgetting to ask this for a while, but I suddenly remembered. If apinger sends out a ping once per second, how can it report a precision better than 1.6% in a 1 minute average?
I've seen the WAN quality graph show packet loss in seemingly multiples of 0.04%. So 0.04%, 0.08%, 0.12%, etc. But a resolution of 0.04% would indicate a sampling rate of 2500, which is a lot more than 1 per second over a 60 second window.
I haven't had any loss for a long while, so I can't find examples of this anymore, but I have had this in the past, many times.
Thanks :-)
-
Good question.
I'm reminded of lessons I was taught years ago: A large number of decimal places doesn't necessarily indicate a greater level of accuracy. Merely less rounding in the calculation. Like digital displays that read 1.000 but have an accuracy of +/- 0.5.
Not sure if that applies here.Steve
-
I may question how the 8 hour graph can get results like 0.12% in a 1min average, but when I ran a ping myself and upped the sampling rate, I would get similar numbers. I wonder if it does some kind of weighted sliding window for the average percentage.
The main thing is the numbers seem trustworthy, so I'm happy. Maybe I just to look at the code. I've never done that before.