jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From abalanonline <>
Subject [GitHub] jmeter issue #296: Bug 61078 - Percentile calculation error
Date Tue, 09 May 2017 03:45:42 GMT
Github user abalanonline commented on the issue:
    @FSchumacher thank you for the remark, it is fixed now
    @pmouawad DescriptiveStatistics uses legacy percentile calculation method by default,
which is Linear Interpolation Third Variant C=0
    To fix the test please add these lines after the loop
    statistics.setPercentileImpl((new Percentile()).withEstimationType(Percentile.EstimationType.R_1));
    for (int i=1; i<=100; i++) assertEquals(statistics.getPercentile(i), calc.getPercentPoint(i
/ 100D), 0.001);
    I wonder why do we still use **org.apache.jorphan** having such a powerful math library
as Apache Commons Math.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message