DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=27524>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=27524 Percentile calculation is not correct ------- Additional Comments From [EMAIL PROTECTED] 2004-03-09 06:20 ------- Excel is using a different percentile interpolation definition than what [math] currently uses. Unfortunately, the javadoc and test cases describing the [math] algorithm have been inadvertently removed. [math] uses the "index number" method with simple linear interpolation as described in the first example here: http://www.math.bcit.ca/faculty/david_sabo/apples/math2441/section4/relstanding/RelStanding.htm The code is working as designed. The reference above also describes the method used by Excel, which is another commonly used algorithm that gives different results. R uses this method as well. I am +1 to changing to the R / Excel method and will make the change (and add complete javadoc) if there are no objections. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
