A java library of distributions functions based on the R distribution functions.
This code based on an auto translation. The translation isn't entirely pretty (especially since some of the C code was originally translated from Fortran), but it seems to work. Classes implement the PDF, CDF, and (usually) quantile and random variate generation for the following distributions:
beta | hypergeometric | normal |
binomial | logistic | poisson |
cauchy | lognormal | signrank |
chisquare | negative_binomial | t |
exponential | noncentral_beta | tukey |
f | noncentral_chisquare | uniform |
gamma | noncentral_f | weibull |
geometric | noncentral_t | wilcox |
The java code, compiled classes, and (rudimentary) javadoc documentation is available as a jar file from
http://sourceforge.net/project/showfiles.php?group_id=16634
Comments:
Patches, comments, etc welcome. Please submit at the SourceForge project page