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 58A2D10BD9 for ; Wed, 25 Sep 2013 16:38:09 +0000 (UTC) Received: (qmail 75956 invoked by uid 500); 25 Sep 2013 16:38:06 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 75764 invoked by uid 500); 25 Sep 2013 16:38:06 -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 74975 invoked by uid 99); 25 Sep 2013 16:38:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Sep 2013 16:38:03 +0000 Date: Wed, 25 Sep 2013 16:38:03 +0000 (UTC) From: =?utf-8?Q?Thorsten_Sch=C3=A4fer_=28JIRA=29?= To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (MATH-1034) Add binomial test MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MATH-1034?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D13777= 711#comment-13777711 ]=20 Thorsten Sch=C3=A4fer edited comment on MATH-1034 at 9/25/13 4:37 PM: ----------------------------------------------------------------- Added a path. It includes the binomial test and its test case. I might add a feature to get the confidence interval too in the future. =20 was (Author: thorstenschaefer): Includes the binomial test and its test case =20 > Add binomial test > ----------------- > > Key: MATH-1034 > URL: https://issues.apache.org/jira/browse/MATH-1034 > Project: Commons Math > Issue Type: Wish > Affects Versions: 3.2 > Reporter: Thorsten Sch=C3=A4fer > Priority: Minor > Attachments: binomialTest.patch > > > A binomial test would be a nice addition to commons-math. I might supply = a patch in the near future. I guess the interface should be similar to the = other tests, i.e., a method to get the p-value and a method returning a boo= lean indicating reject/non-reject. > Is there a policy about using Enumerations in commons-math? For instance,= in R you can test two-sided, less or greater. This could be done using an = enumeration in Java, but I'm not sure if this is discouraged for backward c= ompatibility reasons... -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira