Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 36588 invoked from network); 6 Nov 2010 16:07:43 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Nov 2010 16:07:43 -0000 Received: (qmail 77899 invoked by uid 500); 6 Nov 2010 16:08:14 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 77800 invoked by uid 500); 6 Nov 2010 16:08: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 77792 invoked by uid 99); 6 Nov 2010 16:08:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Nov 2010 16:08:13 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Nov 2010 16:08:12 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oA6G7qr9022409 for ; Sat, 6 Nov 2010 16:07:52 GMT Message-ID: <21457818.54431289059672301.JavaMail.jira@thor> Date: Sat, 6 Nov 2010 12:07:52 -0400 (EDT) From: "Phil Steitz (JIRA)" To: issues@commons.apache.org Subject: [jira] Commented: (MATH-431) New tests: Wilcoxon signed-rank test and Mann-Whitney U In-Reply-To: <13237437.161041288507185282.JavaMail.jira@thor> 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-431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12929054#action_12929054 ] Phil Steitz commented on MATH-431: ---------------------------------- +1 for including both of these tests. Then on to MATH-228 Interesting approach for the exact algorithm for Wilcoxon. If we stay with this, we should ack the original author of the algorithm in the javadoc. Looks OK to use. Regarding the difference from R, what I usually do in this case is look at the R sources to try to explain the difference. Most likely in this case, what is going on is they are using a different estimation algorithm for small n or treating ties differently. The ranking options that we use were largely adapted from R, so if that is the problem, it should be easy to test. We need to convince ourselves that ours is better or at least a legitimate alternative. I will take a close look this evening, but it looks like the algorithm you are using should be exact. If we can't reconcile the difference with R, it would be good to find a way to validate correct functioning of the algorithm by manufacturing reference data with known p. > New tests: Wilcoxon signed-rank test and Mann-Whitney U > ------------------------------------------------------- > > Key: MATH-431 > URL: https://issues.apache.org/jira/browse/MATH-431 > Project: Commons Math > Issue Type: New Feature > Reporter: Mikkel Meyer Andersen > Assignee: Mikkel Meyer Andersen > Priority: Minor > Attachments: MannWhitneyUTest.java, MannWhitneyUTestImpl.java, WilcoxonSignedRankTest.java, WilcoxonSignedRankTestImpl.java > > Original Estimate: 4h > Remaining Estimate: 4h > > Wilcoxon signed-rank test and Mann-Whitney U are commonly used non-parametric statistical hypothesis tests (e.g. instead of various t-tests when normality is not present). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.