Following the work and using parts of Stellaferox
http://www.b4x.com/forum/share-your-creations/4914-quick-statistics-application.html#post28460 I decided to build a Probability library and here it is.
The library caculates the Probability density and commulative functions of:
Normal, ChiSquare, Student, Fisher F, Rayleigh, Binomial, Geometric, Poisson and
Exponential.
It also includes Random Number Generators with some of the distributions (as B4ppc has only uniform distribution random numbers), and some mathematical functions that are related to distributions:
Beta, Gamma, Factorial and
Double Factorial, NChooseK
I did some testing but I'm not sure that there are no errors and bugs, so I'll appreciate feedback.
The file includes dll, cs, help and demo.
If anyone feels that an important distribution is missing - please tell me and I'll try to add it.
Shana Tova !
Edit: version 1.2 -
Erlang distribution added.