Probability generating function

From Wikipedia, the free encyclopedia

Template:Short description In probability theory, the probability generating function of a discrete random variable is a power series representation (the generating function) of the probability mass function of the random variable. Probability generating functions are often employed for their succinct description of the sequence of probabilities Pr(X = i) in the probability mass function for a random variable X, and to make available the well-developed theory of power series with non-negative coefficients.

Definition

Univariate case

If X is a discrete random variable taking values x in the non-negative integers {0,1, ...}, then the probability generating function of X is defined as [1]

G(z)=E(zX)=x=0p(x)zx, where p is the probability mass function of X. Note that the subscripted notations GX and pX are often used to emphasize that these pertain to a particular random variable X, and to its distribution. The power series converges absolutely at least for all complex numbers z with |z|<1; the radius of convergence being often larger.

Multivariate case

If X = (X1,...,Xd) is a discrete random variable taking values (x1, ..., xd) in the d-dimensional non-negative integer lattice {0,1, ...}d, then the probability generating function of X is defined as G(z)=G(z1,,zd)=E(z1X1zdXd)=x1,,xd=0p(x1,,xd)z1x1zdxd, where p is the probability mass function of X. The power series converges absolutely at least for all complex vectors z=(z1,...zd)d with max{|z1|,...,|zd|}1.

Properties

Power series

Probability generating functions obey all the rules of power series with non-negative coefficients. In particular, G(1)=1, where G(1)=limx1,x<1G(x), x approaching 1 from below, since the probabilities must sum to one. So the radius of convergence of any probability generating function must be at least 1, by Abel's theorem for power series with non-negative coefficients.

Probabilities and expectations

The following properties allow the derivation of various basic quantities related to X:

  1. The probability mass function of X is recovered by taking derivatives of G, p(k)=Pr(X=k)=G(k)(0)k!.
  2. It follows from Property 1 that if random variables X and Y have probability generating functions that are equal, GX=GY, then pX=pY. That is, if X and Y have identical probability generating functions, then they have identical distributions.
  3. The normalization of the probability mass function can be expressed in terms of the generating function by E[1]=G(1)=i=0p(i)=1. The expectation of X is given by E[X]=G(1). More generally, the kthfactorial moment, E[X(X1)(Xk+1)] of X is given by E[X!(Xk)!]=G(k)(1),k0. So the variance of X is given by Var(X)=G(1)+G(1)[G(1)]2. Finally, the k-th raw moment of X is given by E[Xk]=(zz)kG(z)|z=1
  4. GX(et)=MX(t) where X is a random variable, GX(t) is the probability generating function (of X) and MX(t) is the moment-generating function (of X).

Functions of independent random variables

Probability generating functions are particularly useful for dealing with functions of independent random variables. For example:

Template:Bullet list

Examples

  • The probability generating function of an almost surely constant random variable, i.e. one with Pr(X=c)=1 and Pr(Xc)=0 is G(z)=zc.
  • The probability generating function of a binomial random variable, the number of successes in n trials, with probability p of success in each trial, is G(z)=[(1p)+pz]n. Note: it is the n-fold product of the probability generating function of a Bernoulli random variable with parameter p. Template:Pb So the probability generating function of a fair coin, is G(z)=12+z2.
  • The probability generating function of a negative binomial random variable on {0,1,2}, the number of failures until the rth success with probability of success in each trial p, is G(z)=(p1(1p)z)r, which converges for |z|<11p. Template:Pb Note that this is the r-fold product of the probability generating function of a geometric random variable with parameter 1p on {0,1,2,}.
  • The probability generating function of a Poisson random variable with rate parameter λ is G(z)=eλ(z1).

The probability generating function is an example of a generating function of a sequence: see also formal power series. It is equivalent to, and sometimes called, the z-transform of the probability mass function.

Other generating functions of random variables include the moment-generating function, the characteristic function and the cumulant generating function. The probability generating function is also equivalent to the factorial moment generating function, which as E[zX] can also be considered for continuous and other random variables.

Page Module:Message box/ambox.css has no content.

Notes

  1. ^ Lua error in package.lua at line 80: module 'Module:Citation/CS1/Utilities' not found.

References

Page Template:Refbegin/styles.css has no content.

  • Lua error in package.lua at line 80: module 'Module:Citation/CS1/Utilities' not found.

Lua error in package.lua at line 80: module 'Module:Navbox/configuration' not found.