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 75359184D8 for ; Wed, 18 Nov 2015 14:11:11 +0000 (UTC) Received: (qmail 47872 invoked by uid 500); 18 Nov 2015 14:11:11 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 47748 invoked by uid 500); 18 Nov 2015 14:11:11 -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 47679 invoked by uid 99); 18 Nov 2015 14:11:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Nov 2015 14:11:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 0D7252C1F63 for ; Wed, 18 Nov 2015 14:11:11 +0000 (UTC) Date: Wed, 18 Nov 2015 14:11:11 +0000 (UTC) From: "Christophe S (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MATH-1236) Improve Kolmogorov-Smirnov statistic for two samples 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-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15011043#comment-15011043 ] Christophe S commented on MATH-1236: ------------------------------------ Hi, Moreover it seems the patch fixes also the problem when we compare two identical distributions (with exactly the same arrays as input). Now the distance is 0, before it wasn't the case! Thx! > Improve Kolmogorov-Smirnov statistic for two samples > ---------------------------------------------------- > > Key: MATH-1236 > URL: https://issues.apache.org/jira/browse/MATH-1236 > Project: Commons Math > Issue Type: Improvement > Reporter: Otmar Ertl > Fix For: 4.0, 3.6 > > Attachments: patch > > > I reimplemented the Kolmogorov-Smirnov test statistic for two samples because of its problems with identical values. Although its already fixed in the meantime (see MATH-1197), the proposed code is an improvement, because it is simpler and does not require binary searches. -- This message was sent by Atlassian JIRA (v6.3.4#6332)