Module 15 Moment Generating Function
Module 15 Moment Generating Function
Suppose that, for some h > 0, the m.g.f. MX (t) is finite for every
t ∈ (−h, h). Then
(a) MX (t) is differentiable any number of times in (−h, h);
(b) for each r ∈ {1, 2, . . .} , µ0r = E (X r ) is finite and
0 (r ) d
µr = MX (0) = MX (t) ;
dt r t=0
Remark 2:
(a) The function ψX (t), t ∈ (−h, h), is called the cumulant
generating function of X ;
(b) For r = 1, 2, . . .
tr
µ0r = coefficient of in Maclaurin’s series expansion
r!
of MX (t).
MX (t) = E (e tX )
∞
−λ
X (λe t )x
= e
x!
x=0
−λ λe t
= e e
λ(e t −1)
= e ,
is finite for every t ∈ R. Thus µ0r is finite for every r ∈ {1, 2, . . .}. We
have, for t ∈ R,
() Module 15 Moment Generating Function 8 / 16
ψX (t) = ln MX (t) = λ(e t − 1), t ∈ R
(1) (2)
ψX (0) = ψX (0) = λ
⇒ E (X ) = Var(X ) = λ.
Alt.
λ2 (e t − 1)2 λ3 (e t − 1)3
MX (t) = 1 + λ(e t − 1) + + + ···
2! 3!
λ2 S 2 λ3 S 3
= 1 + λS + + + ··· ,
2! 3!
where
t2 t3
S = et − 1 = t + + + ··· .
2! 3!
() Module 15 Moment Generating Function 9 / 16
Thus
t2 2λ2 λ3 t3
2 λ
MX (t) = 1 + λt + (λ + λ ) + + + + ···
2! 3! (2!)2 3! 3!
E (X ) = Coefficient of t in MX (t) = λ
t2
E (X 2 ) = Coefficient of in MX (t) = λ + λ2
2!
t3
E (X 3 ) = Coefficient of in MX (t) = λ3 + 3λ2 + λ
3!
Var(X ) = E (X 2 ) − (E (X ))2 = λ.
λe −λx , if x > 0
fX (x) = ,
0, otherwise
MX (t) = E (e tX )
Z ∞
= e tx fX (x)dx
−∞
Z ∞
= λ e −(λ−t)x dx
0
t −1
= 1−
λ
is finite for every t < λ. Thus moments of all orders exist.
() Module 15 Moment Generating Function 11 / 16
t t2 tr
MX (t) = 1 + + 2 + · · · + r + · · · , −λ < t < λ
λ λ λ
tr
µ0r = coefficient of in expansion of MX (t)
r!
r!
= , r = 1, 2, . . .
λr
Alt.
(1) 1 t −2
MX (t) = 1−
λ λ
(2) 2 t −3
MX (t) = 1 −
λ2 λ
(r ) r ! t −(r +1)
MX (t) = 1 − , −λ < t < λ
λr λ
(r ) r!
µ0r = MX (0) = r , r = 1, 2, . . . .
λ
() Module 15 Moment Generating Function 12 / 16
Example 3: Let X be a r.v. with p.d.f.
1 1
fX (x) = . , −∞ < x < ∞.
π 1 + x2
For t > 0
MX (t) = E (e tX )
Z ∞
1 1
= e tx . dx
−∞ π 1 + x2
1 ∞ e tx
Z
≥ dx
π 0 1 + x2
1 ∞ tx
Z
≥ dx (e y ≥ y , ∀y > 0)
π 0 1 + x2
= ∞
⇒ MX (t) = ∞, ∀t > 0,
i.e., MX (t) is not finite on any interval (−h, h), h > 0. Note that here
E (X ) does not exists.
() Module 15 Moment Generating Function 13 / 16
Take Home Problems
Two r.v.s X and Y are said to have the same distribution (written as
d
X = Y ) if they have the same d.f.;
d
X = Y does not imply that X = Y ;
We will study properties of r.v.s having the same distribution.