|
Binomial distribution B(n,p) is a distribution of a number of successes in a sequence of n experiments, each of which yields success with probability p. Important limiting cases of this distribution are Poisson distribution and normal distribution.
If X - binomial random variable:

Algorithms
BinomialDistribution and BinomialCDistribution subroutines calculate P(x ≤ k) and P(x > k) with given n, p and k. Subroutines use the above mentioned formula which calculates the cumulative distribution function by using an incomplete beta-function.
Links- http://mathworld.wolfram.com/BinomialDistribution.html
Report a bug
C#
C# 1.0 source.
binomialdistr.csharp.zip - Binomial distribution
C++
C++ source.
binomialdistr.cpp.zip - Binomial distribution
ablas.zip - optimized basic linear algebra subroutines with SSE2 support (for C++ sources only)
Delphi
Delphi source.
Can be compiled under FPC (in Delphi compatibility mode).
binomialdistr.delphi.zip - Binomial distribution
Visual Basic 6
Visual Basic 6 source.
binomialdistr.vb6.zip - Binomial distribution
Zonnon beta
Zonnon source.
Zonnon is an experimental language developed at ETH Zurich.
See www.zonnon.ethz.ch for more information.
binomialdistr.zonnon.zip - Binomial distribution
|