-
Bug
-
Resolution: Unresolved
-
Major
-
None
Plugin version: 3.17
The 90th percentile value is not calculated correctly when the index is not an integer.
For example, if we have the below values as response times
1698, 1702, 1754, 1766, 1774, 1805, 1821, 1892, 2069, 2345, 2643, 2920, 4511, 5075
Compute the position of the p^th^ percentile (index i):
i = (p / 100) * n), where p = 90 and n = 14
i = (90 / 100) * 14 = 12.6
The index i is not an integer, we need to round up the index (i = 13) ⇒ the 90^th^ percentile is the value in 13^th^ position, or 4511
But in the report, it is raking 12th position or 2920 as 90% value