I'm looking for an efficient Java library (or even a function) to perform the infamous Exact Binomial Test. Something similar to the R function "binom.test" described here.
Can you help me? Thanks a lot! :-)
I'm looking for an efficient Java library (or even a function) to perform the infamous Exact Binomial Test. Something similar to the R function "binom.test" described here.
Can you help me? Thanks a lot! :-)
In addition to the BinomialDistribution Apache commons.math3 3.3 (unreleased at the moment of writing) has a BinomialTest that will get you the p-value as well as BinomialConfidenceInterval. It's not much compared to the stats R package you named, but it's more than just the distribution mentioned above.
Posting this as I landed on your question looking for a way to get just the p val for a known binomial distribution and the link above is the answer.
Maybe you should check http://sourceforge.net/projects/parallelcolt/ This package and apache Math are the most common for statistical computation