You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Phil Steitz (JIRA)" <ji...@apache.org> on 2013/09/12 15:38:52 UTC

[jira] [Commented] (MATH-1034) Add binomial test

    [ https://issues.apache.org/jira/browse/MATH-1034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13765423#comment-13765423 ] 

Phil Steitz commented on MATH-1034:
-----------------------------------

Thanks for raising this and thanks in advance for the patch :)  There is no problem using an enumeration to represent the type of test.  This will be a new class, so there are no backward compatibility issues to worry about.  Current supported JDK level is 1.5.  Just make sure the javadoc makes it clear what is going on.

                
> 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äfer
>            Priority: Minor
>
> 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 boolean 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 compatibility reasons...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira