Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F251511B09 for ; Sun, 13 Jul 2014 09:00:13 +0000 (UTC) Received: (qmail 56289 invoked by uid 500); 13 Jul 2014 09:00:13 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 56196 invoked by uid 500); 13 Jul 2014 09:00:13 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 56181 invoked by uid 99); 13 Jul 2014 09:00:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Jul 2014 09:00:13 +0000 Date: Sun, 13 Jul 2014 09:00:13 +0000 (UTC) From: "Luc Maisonobe (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MATH-1120) Need Percentile computations that can be matched with standard spreadsheet formula MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MATH-1120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14060050#comment-14060050 ] Luc Maisonobe commented on MATH-1120: ------------------------------------- The patch from June 27th has been applied, with a few changes, as the patch did not include the factored out classes. The classes were therefore extracted from the previous version and API adapted for the select method (which now provides the arrays to work on). Thanks for the patch As explained on the mailing list, the problem for FIXED NaNStrategy is still there, and I still want to look at it. > Need Percentile computations that can be matched with standard spreadsheet formula > ---------------------------------------------------------------------------------- > > Key: MATH-1120 > URL: https://issues.apache.org/jira/browse/MATH-1120 > Project: Commons Math > Issue Type: Improvement > Affects Versions: 3.2 > Reporter: Venkatesha Murthy TS > Labels: Percentile > Fix For: 4.0 > > Attachments: 18-jun-percentile-with-estimation-patch, 27-jun-refactored-kth-pivoting.patch, excel-percentile-patch, percentile-with-estimation-patch, r-output.txt > > Original Estimate: 504h > Remaining Estimate: 504h > > The current Percentile implementation assumes and hard-codes the quantile pth position as > p * (N+1)/100 and provides a kth selected value. > However if we need to verify compare/contrast with standard statistical tools such as say MS Excel; it would be good to provide an extensible way of morphing this selection of position than hard code. > For example in order to generate the percentile closely matching with MS Excel the position required may be [p*(N-1)/100]+1. > Please let me know if i could submit this as a patch. -- This message was sent by Atlassian JIRA (v6.2#6252)