Lec9_Jan28
Lec9_Jan28
Divyum Sharma
Assistant Professor
Department of Mathematics
BITS Pilani
Lecture 8 Summary
Definition
The moment generating function of a random
variable X is a function of an ordinary real variable
t defined by
mX (t) = E (e tX ).
k d k mX (t)
Mk = E (X ) = .
dt k t=0
Pn
Note. x=0 b(x; n, p) = (p + (1 p))n = 1
Taking i = j, we get
x=0 x=0
x!(n x)!
Xn
n!
= x px qn x
x=1
x!(n x)!
n
X (n 1)!
= np px 1q n 1 (x 1)
x=1
(x 1)!(n 1 (x 1))!
n 1
X (n 1)! 1 y 1
= np py qn = np(p + q)n =
y =0
y !(n 1 y )!
x=0
x!(n x)!
n
X n!
= (x 2 x) px qn x
+ E (X )
x=0
x!(n x)!
Xn
n!
= px qn x
+ np
x=2
(x 2)!(n x)!
n 2
X
2 (n 2)! 2 y
= n(n 1)p py qn + np
y =0
y !(n 2 y )!
2
= n(n 1)p + np.
Hence V (X ) = E (X 2 ) (E (X ))2 = npq.
Probability & Statistics Divyum Sharma 20
Mgf of binomial distribution
Theorem
Let X be a binomial random variable with
parameters n, p. Then the mgf mX (t) of X is given
by
mX (t) = (q + pe t )n .
Theorem
Let X be a binomial random variable with
parameters n, p. Then the mgf mX (t) of X is given
by
mX (t) = (q + pe t )n .
Proof. Exercise.
Exercise
Using the mgf of a binomial distribution, derive the
formulas for its mean and variance.
Probability & Statistics Divyum Sharma 21