Clicky

Numerical Quadrature Rules for Common Distributions

Gauss-Laguerre Quadrature for Exponential Integrals

For integrals of the form 0 e ζϕ(ζ)dζ for some function ϕ, Gauss-Laguerre quadrature of order n provides n abscissæ ζ i and weights ω i for constructing the following linear approximation: 0 e ζϕ(ζ)dζ i=1 nω iϕ(ζ i).

This form of quadrature is useful for approximating the expectation of a nonlinear function of an exponentially-distributed random variable. Let X be an exponential random variable with rate parameter λ. Then, with a simple transformation, we can write the expectation of f(X) in the form above. The expectation of f(X) is E[f(X)]= 0 λe λxf(x)dx. If we let ζ=λx and ϕ()=f(/λ) (and note that dζ=λdx), then, by the change of variables, E[f(X)]= 0 e ζϕ(ζ)dζ. Applying the Gauss-Laguerre quadrature rule above gives the approximation E[f(X)] i=1 nω if(ζ i/λ).

For weights and abscissæ, see the Digital Library of Mathematical Functions or the calculator at eFunda.

Gauss-Hermite Quadrature for Normal Integrals

Similarly, Gauss-Hermite quadrature provides weights ω i and abscissæ ζ i for integral approximations of the form: e ζ 2ϕ(ζ)dζ i=1 nω iϕ(ζ i). If X is a normally distributed random variable with mean μ and variance σ 2, then we can approximate the expectation of f(X) using quadrature by applying the transformation ζ=(xμ)/(2σ), ϕ(ζ)=f(μ+2σζ)/π, and thus, dζ=dx/2σ 2. Then, E[f(X)]= 12πσ 2e (xμ) 22σ 2f(x)dx i=1 nω iπf(μ+2σζ i).

For weights and abscissæ, see the Digital Library of Mathematical Functions or the calculator at eFunda.