Main       Download       Commercial support       FAQ       Forum       About Us

Poisson distribution

Poisson distribution is a discrete distribution, one of the most important limiting cases of binomial distribution. The binomial distribution converges towards the Poisson distribution as the number of trials goes to infinity while the product np=λ remains fixed. Therefore, random variable having Poisson distribution with parameter λ takes non-negative values with probability

Cumulative distribution function is

Parameter λ is both mean and variance of a random variable.

Classical example of a random variable having Poisson distribution is a number of cars which pass through a road section in a given period of time. We can also mention such examples as a number of stars in the given area of the sky, a number of errors in the text of a given length, a number of phone calls in a call-center, number of web-server requests in a given period of time.

Algorithms

PoissonDistribution and PoissonCDistribution are used to calculate the areas under the left and right tails of the graph (i.e. to calculate the cumulative distribution function and its own complement). InvPoissonDistribution subroutine calculates the inverse cumulative distribution function (finds such λ that Fλ (x)=y).

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.