Details
-
Wish
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.2
-
None
-
None
Description
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...