Binomial test in Java

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.


也许你应该检查http://sourceforge.net/projects/parallelcolt/这个包和apache数学是最常见的统计计算

链接地址: http://www.djcxy.com/p/10860.html

上一篇: Eclipse编辑器:在垂直标尺的自定义列上显示标记

下一篇: Java中的二项式测试