

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


ASHWIN RAO
The purpose of this note is to introduce the Moment Generating Function (MGF) and demon- strate it’s utility in several applications in Applied Mathematics.
(1) fx(t) = Ex[etx] for all t ∈ R
Let us denote the nth-derivative of fx as f (^) x(n ): R → R for all n ∈ Z≥ 0 (f (^) x(0) is defined to be simply the MGF fx).
(2) f (^) x(n )(t) = Ex[xn^ · etx] for all n ∈ Z≥ 0 for all t ∈ R
(3) f (^) x(n )(0) = Ex[xn]
(4) f (^) x(n )(1) = Ex[xn^ · ex]
Equation (3) tells us that f (n)(0) gives us the nth^ moment of x. In particular, f (^) x(1) (0) = f ′(0)
gives us the mean and f (^) x(2) (0)−(f (^) x(1) (0))^2 = f (^) x′′ (0)−(f (^) x′(0))^2 gives us the variance. Note that this holds true for any distribution for x. This is rather convenient since all we need is the functional form for the distribution of x. This would lead us to the expression for the MGF (in terms of t). Then, we take derivatives of this MGF and evaluate those derivatives at 0 to obtain the moments of x. Equation (4) helps us calculate the often-appearing expectation Ex[xn^ · ex]. In fact, Ex[ex] and Ex[x · ex] are very common in several areas of Applied Mathematics. Again, note that this holds true for any distribution for x. MGF should be thought of as an alternative specification of a random variable (alternative to specifying it’s Probability Distribution). This alternative specification is very valuable because it can sometimes provide better analytical tractability than working with the Probability Density Function or Cumulative Distribution Function (as an example, see the below section on MGF for linear functions of independent random variables).
x = x 0 +
∑^ m
i=
αixi
1
2 ASHWIN RAO
The Probability Density Function of x is complicated to calculate as it involves convolutions. However, observe that the MGF fx of x is given by:
(5) fx(t) = E[et(α^0 +
∑m i=1 αixi)] = eα^0 t^ ·
∏^ m
i=
E[etαixi^ ] = eα^0 t^ ·
∏^ m
i=
fαixi (t) = eα^0 t^ ·
∏^ m
i=
fxi (αit)
This means the MGF of x can be calculated as eα^0 t^ times the product of the MGFs of αixi (or of αi-scaled MGFs of xi) for all i = 1, 2 ,... , m. This gives us a much better way to analytically tract the probability distribution of x (compared to the convolution approach).
(6) fx∼N (μ,σ (^2) )(t) = Ex∼N (μ,σ (^2) )[etx]
=
−∞
2 πσ
· e−^
(x−μ)^2 (7)^2 σ^2 · etx^ · dx
−∞
2 πσ
· e−^
(x−(μ+tσ^2 ))^2 2 σ^2 · eμt+^ σ^22 t 2 (8) · dx
= eμt+^
σ^22 t 2 (9) · Ex∼N (μ+tσ^2 ,σ^2 )[1]
= eμt+^
σ^22 t^2 (10)
(11) f (^) x′∼N (μ,σ (^2) )(t) = Ex∼N (μ,σ (^2) )[x · etx] = (μ + σ^2 t) · eμt+^
σ^22 t^2
(12) f (^) x′′∼N (μ,σ (^2) )(t) = Ex∼N (μ,σ (^2) )[x^2 · etx] = ((μ + σ^2 t)^2 + σ^2 ) · eμt+^
σ^22 t^2
(13) f (^) x′∼N (μ,σ (^2) )(0) = Ex∼N (μ,σ (^2) )[x] = μ
(14) f (^) x′′∼N (μ,σ (^2) )(0) = Ex∼N (μ,σ^2 )[x^2 ] = μ^2 + σ^2
(15) f (^) x′∼N (μ,σ (^2) )(1) = Ex∼N (μ,σ^2 )[x · ex] = (μ + σ^2 )eμ+^
σ 22
(16) f (^) x′′∼N (μ,σ (^2) )(1) = Ex∼N (μ,σ (^2) )[x^2 · ex] = ((μ + σ^2 )^2 + σ^2 )eμ+^ σ 22
fx(t) = min t∈R
Ex[etx]
This problem of minimizing Ex[etx] shows up a lot in various places in Applied Mathematics when dealing with exponential functions (eg: when optimizing the Expectation of a Constant
Absolute Risk-Aversion Utility function U (y) = −e
−γy γ where^ γ^ is the coefficient of risk-aversion and where y is a parameterized function of a random variable x). Let us denote t∗^ as the value of t that minimizes the MGF. Specifically, t∗^ = arg min t∈R
fx(t) = arg min t∈R
Ex[etx]