Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

java Generalized Hypergeometric function

I am looking for a java library that can calculate generalized hypergeometric function (http://en.wikipedia.org/wiki/Generalized_hypergeometric_series). I looked at Apach Common Math, but did not find the function. Actually, I need the function to calculate the cumulative probability function for beta-binomial distribution (http://en.wikipedia.org/wiki/Beta-binomial_distribution). If anyone knows a java package including the distribution, it would be good for me.

Thanks,

like image 351
longread Avatar asked Apr 08 '14 22:04

longread


1 Answers

You can use this org.apache.commons.math3.distribution.HypergeometricDistribution from here.

Download link.

like image 187
mohsen kamrani Avatar answered Oct 02 '22 18:10

mohsen kamrani