You have 3 free guides left 😟
Unlock your guides
You have 3 free guides left 😟
Unlock your guides

13.2 Generating functions for discrete random variables

3 min readaugust 9, 2024

Generating functions are powerful tools for analyzing discrete random variables. They provide compact representations of probability distributions and simplify calculations of important properties like moments and convolutions.

This section explores three types of generating functions: probability, moment, and cumulant. Each offers unique insights into distribution characteristics and helps solve complex probability problems more efficiently.

Generating Functions

Probability Generating Functions

Top images from around the web for Probability Generating Functions
Top images from around the web for Probability Generating Functions
  • () defines a
  • Represented as GX(s)=E[sX]=k=0pkskG_X(s) = E[s^X] = \sum_{k=0}^{\infty} p_k s^k
  • Provides a compact representation of the entire probability distribution
  • Useful for calculating moments and deriving properties of random variables
  • Differentiation of PGF yields factorial moments of the distribution
  • Evaluating PGF at s = 1 always results in 1, as GX(1)=k=0pk=1G_X(1) = \sum_{k=0}^{\infty} p_k = 1
  • PGF of expressed as GX(s)=eλ(s1)G_X(s) = e^{\lambda(s-1)}
  • PGF given by GX(s)=(q+ps)nG_X(s) = (q + ps)^n, where p is success probability and q = 1 - p

Moment Generating Functions

  • () alternative representation of probability distribution
  • Defined as MX(t)=E[etX]=k=0etkpkM_X(t) = E[e^{tX}] = \sum_{k=0}^{\infty} e^{tk} p_k
  • Generates moments of the distribution through differentiation
  • nth moment obtained by evaluating nth derivative of MGF at t = 0
  • MGF uniquely determines the probability distribution
  • Useful for proving distribution properties and deriving sums of independent random variables
  • MGF of given by MX(t)=eμt+12σ2t2M_X(t) = e^{\mu t + \frac{1}{2}\sigma^2t^2}
  • MGF expressed as MX(t)=λλtM_X(t) = \frac{\lambda}{\lambda - t} for t < λ

Cumulant Generating Functions

  • () natural logarithm of moment generating function
  • Defined as KX(t)=ln(MX(t))K_X(t) = \ln(M_X(t))
  • Generates cumulants of the distribution through differentiation
  • Cumulants provide alternative set of distribution descriptors to moments
  • First cumulant equals mean, second cumulant equals variance
  • measure deviations from normality
  • CGF of Poisson distribution given by KX(t)=λ(et1)K_X(t) = \lambda(e^t - 1)
  • Normal distribution CGF expressed as KX(t)=μt+12σ2t2K_X(t) = \mu t + \frac{1}{2}\sigma^2t^2

Combining Distributions

Convolution of Distributions

  • operation combines two independent random variables
  • Resulting distribution represents sum of the two random variables
  • (PMF) of convolution given by pZ(k)=i=0kpX(i)pY(ki)p_Z(k) = \sum_{i=0}^k p_X(i)p_Y(k-i)
  • Convolution of two Poisson distributions yields another Poisson distribution
  • Sum of independent normal distributions results in normal distribution
  • PGF of convolution equals product of individual PGFs
  • MGF of convolution also equals product of individual MGFs
  • Convolution useful in analyzing queuing systems and network traffic

Compound Distributions

  • arises when parameter of one distribution is itself a random variable
  • Combines two or more probability distributions
  • Common compound distributions include compound Poisson and negative binomial
  • models number of events with random batch sizes
  • PGF of compound distribution given by GX(s)=GN(GY(s))G_X(s) = G_N(G_Y(s))
  • MGF of compound distribution expressed as MX(t)=MN(ln(MY(t)))M_X(t) = M_N(\ln(M_Y(t)))
  • Useful in modeling insurance claims, particle physics, and telecommunications
  • Compound binomial distribution arises in credit risk modeling
  • Compound geometric distribution applied in reliability theory and actuarial science

Moments

Factorial Moments

  • Factorial moments alternative to ordinary moments for characterizing distributions
  • nth defined as E[X(X1)(X2)...(Xn+1)]E[X(X-1)(X-2)...(X-n+1)]
  • Generated by successive differentiation of probability generating function
  • Factorial moments often simpler to calculate than ordinary moments
  • Relate to ordinary moments through
  • Useful in combinatorial problems and analysis of branching processes
  • Factorial moments of Poisson distribution all equal to λ
  • Binomial distribution factorial moments given by E[X(n)]=n!(Nn)pnE[X^{(n)}] = n!{N \choose n}p^n
  • factorial moments expressed as E[X(n)]=r(r+1)...(r+n1)(1p)npnE[X^{(n)}] = \frac{r(r+1)...(r+n-1)}{(1-p)^n}p^n
© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.


© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.

© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.
Glossary
Glossary