Main       Download       Commercial support       FAQ       Forum       About Us

Binomial distribution

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

  1. http://mathworld.wolfram.com/BinomialDistribution.html

This article is intended for personal use only.

Download ALGLIB

C#

C# source.

Downloads page

 

C++

C++ source.

Downloads page

 

C++, multiple precision arithmetic

C++ source. MPFR/GMP is used.

GMP source is available from gmplib.org. MPFR source is available from www.mpfr.org.

Downloads page

 

FreePascal

FreePascal version.

Downloads page

 

Delphi

Delphi version.

Downloads page

 

VB.NET

VB.NET version.

Downloads page

 

VBA

VBA version.

Downloads page

 

Python

Python version (CPython and IronPython are supported).

Downloads page

 

 

ALGLIB® - numerical analysis library, 1999-2012.
ALGLIB is a registered trademark of the ALGLIB Project.